Connect your client
Choose your client below. Each connects to the same remote MCP server and opens OFAuth authorization in your browser.- Codex
- Cursor
- ChatGPT
- Other clients
Add the server and start OAuth sign-in:Complete the browser authorization, then run
codex mcp list to confirm that ofauth is configured. In an interactive Codex session, /mcp shows the active servers.See Codex MCP configuration.Authorize account access
Review the accounts and permissions requested in OFAuth. Approve the access you intend to grant, then return to your AI client. The MCP connection uses its own OAuth flow. Keep your application’s client secret, API keys, and account cookies out of the client’s MCP configuration.Check the connection
Send this prompt in a conversation with OFAuth enabled:Use account tools
Ask for a concrete task, such as reviewing recent conversations or summarizing account activity. The available actions depend on your authorized accounts and permissions. The first access request asks for read permissions. To change an account, the client must request and receive the matching write permission. To build an application with a coding agent, use Agent skills and Add project context. A skill provides instructions; the MCP connection authorizes account tools.Troubleshoot
For recovery, see Handle failed requests and Account reconnects.