Skip to main content
The Model Context Protocol (MCP) is a standard interface that AI agents use to interact with ION. Agents like OpenAI Codex, Claude, and Cursor connect to the ION MCP server. A connected agent can query and act on your ION data in natural language. You can also build custom agents on top of ION with SDKs such as the AWS Strands SDK.
The ION MCP server is in beta. If you want to build on top of ION, reach out and we can help.

Authentication

The MCP server uses OAuth 2.1 dynamic client registration (DCR). You need an existing ION account to authenticate.

Environments

Each environment has its own MCP server URL. Use the URL for the environment you want to connect to. If you need an environment that isn’t listed, let us know.
EnvironmentURL
staging-pub (sandbox)https://mcp.staging.buildwithion.com/mcp
staging-gov (sandbox)https://mcp.staging.gov.buildwithion.com/mcp
staging-aus (sandbox)https://mcp.staging.ap.buildwithion.com/mcp
production-pubhttps://mcp.buildwithion.com/mcp
production-govhttps://mcp.gov.buildwithion.com/mcp
production-aushttps://mcp.ap.buildwithion.com/mcp

Connect your agent

You need OpenAI Codex installed and signed in to connect to the ION MCP server.
  1. In your terminal, add the ION MCP server. Swap the name and URL for the environment you want:
    codex mcp add ion --url https://mcp.staging.buildwithion.com/mcp
    
  2. Sign in to ION through Codex:
    codex mcp login ion
    
  3. Complete the ION sign-in flow in your browser.
  4. Run codex mcp list, or use /mcp in the Codex terminal UI, to confirm the server is connected.
  5. Ask Codex for a list of things it can do in ION. This confirms the connection and shows you its capabilities.
Codex stores MCP server configuration in ~/.codex/config.toml. The Codex CLI and Codex IDE extension use the same configuration.