Skip to content

five-on-it / apps/mcp/src/config

apps/mcp/src/config ​

The MCP server's configuration, read from the environment once at start.

VariableDefaultWhat
FOI_API_URLhttp://localhost:8080The platform API every tool calls.
FOI_WEB_URLhttp://localhost:5173The web client: rooms' join URLs become links to it.
FOI_MCP_PORT8091The port of the HTTP transport (index.ts).
FOI_PUBLIC_URLthe request's own addressHTTP: where clients reach this server; <it>/mcp is the resource OAuth tokens are for.
FOI_AUTH_URLFOI_API_URLHTTP: the OAuth authorization server, the API's issuer (its FOI_PUBLIC_URL).
FOI_API_TOKENstdio: the session token to call the API with.
FOI_EMAIL, FOI_PASSWORDstdio: the creator to sign in as (POST /auth/login) without a token.

Interfaces ​

Functions ​