Skip to content
Docs

Claude and other MCP clients

Connect Claude Code, the Claude API, the OpenAI Agents SDK or any MCP client to Arc.

01Before you start

Every client needs the same two things:

  • The server URL: https://api.arcintell.org/mcp.
  • The agent’s credential, sent as Authorization: Bearer arc.<key_id>.<secret>. Keep it in an environment variable or secret store, never in code.

The agent sees one tool per action it holds a grant for. If a tool you expect is missing, check the agent’s grants and that the action is defined.

These are examples of MCP clients, not official integrations or partnerships. Any client that supports remote MCP servers over HTTP with a custom Authorization header works the same way. Clients that only offer OAuth sign-in for remote servers cannot send an Arc credential.

02Claude Code

Shell
claude mcp add --transport http arc https://api.arcintell.org/mcp \  --header "Authorization: Bearer $ARC_AGENT_CREDENTIAL"

Example

Run /mcp in Claude Code to check the connection and see Arc’s tools.

03The Claude API

The Claude API’s MCP connector calls Arc directly from a Messages request, with no MCP client of your own. It needs the server in mcp_servers, a matching mcp_toolset in tools, and the MCP connector beta.

Python
import osimport anthropicclient = anthropic.Anthropic()response = client.beta.messages.create(    model="claude-opus-5-5",    max_tokens=16000,    messages=[{"role": "user", "content": "Refund the duplicate charge on payment pay_3141."}],    mcp_servers=[        {            "type": "url",            "url": "https://api.arcintell.org/mcp",            "name": "arc",            "authorization_token": os.environ["ARC_AGENT_CREDENTIAL"],        }    ],    tools=[{"type": "mcp_toolset", "mcp_server_name": "arc"}],    betas=["mcp-client-2025-11-20"],)

Example

04The OpenAI Agents SDK

Python
import asyncioimport osfrom agents import Agent, Runnerfrom agents.mcp import MCPServerStreamableHttpasync def main():    async with MCPServerStreamableHttp(        name="arc",        params={            "url": "https://api.arcintell.org/mcp",            "headers": {"Authorization": f"Bearer {os.environ['ARC_AGENT_CREDENTIAL']}"},        },    ) as arc:        agent = Agent(name="Billing assistant", mcp_servers=[arc])        result = await Runner.run(agent, "Refund the duplicate charge on payment pay_3141.")        print(result.final_output)asyncio.run(main())

Example

05Other MCP clients

Most clients that read a JSON configuration take this shape:

JSON
{  "mcpServers": {    "arc": {      "type": "http",      "url": "https://api.arcintell.org/mcp",      "headers": { "Authorization": "Bearer arc.<key_id>.<secret>" }    }  }}

Example

06Tell the agent how Arc answers

Arc already tells clients how it works when they connect. A few lines in your agent’s own instructions make it reliable:

Text
When you act through Arc's tools:- Always set request_id to a stable id for the task, e.g. "refund-ticket-77".  Reuse it if you retry the same action.- If an action is "held", tell the user it is waiting for approval and check  later with arc_action_status. Do not try another way to do it.- If an action is "refused", report the reason. Do not retry it unchanged.- If an outcome is "unknown", do not retry: say so.

Suggested wording

Every status is explained in Statuses and refusal codes.