MCP clients

Exact configuration for Claude, ChatGPT, Cursor, VS Code and Codex, plus wiring your own agent to the endpoint.

Every client below points at the same kind of URL: one user's Arc0 MCP endpoint, https://mcp.arc0.ai/u/{user}. Swap in the real external id before you paste any of this.

Connect a client

Settings → Connectors → Add custom connector, then paste the endpoint URL.

Claude Code uses the same URL from the terminal instead:

claude mcp add --transport http arc0 https://mcp.arc0.ai/u/u_8f2

Wire up your own agent

If you're building the agent rather than pointing an off-the-shelf client at Arc0, each of the major agent SDKs can call a remote MCP server directly.

agent.ts
import { Agent, hostedMcpTool } from '@openai/agents';

const agent = new Agent({
  name: 'support-bot',
  tools: [
    hostedMcpTool({
      serverLabel: 'arc0',
      serverUrl: 'https://mcp.arc0.ai/u/u_8f2',
    }),
  ],
});

For a backend that manages many users, don't hardcode endpoints: call arc0.mcp.endpoint({ user }) from the SDK to get each user's URL as you need it, and generate a per-user key if the client can't do OAuth.

On this page