Copy the connection values
Connect Codex
Open Settings > MCP in Bily and use the no-key configuration:Connect another OAuth-capable client
Set up a remote Streamable HTTP MCP server with this URL:S256, the mcp_access scope, and refresh tokens.
Bily publishes discovery metadata at:
https://api.bily.ai/.well-known/oauth-authorization-serverhttps://api.bily.ai/.well-known/openid-configurationhttps://api.bily.ai/.well-known/oauth-protected-resourcehttps://api.bily.ai/.well-known/oauth-protected-resource/mcp
Existing connections on the legacy hostname remain supported during the migration. After changing an OAuth connection to
https://api.bily.ai/mcp, reconnect once so the client obtains credentials for the new OAuth resource.Use a fallback key when sign-in is unavailable
Use an access key only when the client cannot complete Bily Connect. Select the intended store, then create the key in Settings > MCP. Copy the one-time JSON configuration Bily shows you. A typical client configuration looks like this:Avoid common configuration mistakes
- Do not use
https://app.bily.ai/mcp; it is not the MCP endpoint. - Do not send both Bily Connect credentials and an access key.
- Do not configure separate tools for every operation. The server exposes only
searchandexecute. - Do not use
llms.txtorllms-full.txtas an MCP URL. They contain documentation only.