Skip to content
Docs

The agent connector

How an agent reaches Arc: one MCP server, or one HTTPS endpoint, and one credential.

01One connector, two forms

An agent integrates with Arc and nothing else. Everything else, from the systems Arc reaches to the authority each agent holds, is set up by people in the dashboard.

FormAddressFor
MCP serverhttps://api.arcintell.org/mcpAgents that speak the Model Context Protocol: Claude, the OpenAI Agents SDK, LangChain and others.
HTTP endpointPOST https://api.arcintell.org/v1/actionsAny code that can make an HTTPS request.

Both take the same credential and follow the same rules. Calling a tool, or posting an action, is the whole flow: Arc authenticates the agent, checks its authority and your policies, then performs the action, holds it for a person, or refuses it, and records everything.

02The agent credential

Every request carries the agent’s own credential, issued in the Agent Registry:

HTTP
Authorization: Bearer arc.<key_id>.<secret>

Example

  • key_id identifies the credential and is not secret. The secret is shown once, when the credential is issued; Arc stores only its SHA-256 hash.
  • Credentials expire after 90 days by default (366 at most). Rotate them with an optional grace period for the old one, or revoke them at once.
  • Any failure, whether a malformed, unknown, expired or revoked credential or a disabled agent, gets the same answer: 401 with {"detail": "Not authenticated."}. Arc does not say which.
  • Agent credentials work only on the connector. They cannot read evidence, change grants or approve anything.
  • Each agent can make 600 requests a minute, with bursts of up to 120. Past that, Arc answers 429 with a Retry-After header; see Error handling.

03Over MCP

Arc’s MCP server uses the remote HTTP transport (JSON-RPC 2.0) and is stateless: each message carries the credential. Most clients take a URL and headers:

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

Example

  • The agent sees one tool for each action it holds an active grant for, named after the action key: contact:create becomes contact_create. Actions it has no authority for are not listed at all.
  • One built-in tool, arc_action_status, follows an action that is waiting for approval.
  • Always pass a request_id. Without one, Arc generates a new one per call, so a retried call would be a new action.

Full detail: MCP tools and schemas.

04Over HTTP

HTTP
POST /v1/actionsHost: api.arcintell.orgAuthorization: Bearer arc.<key_id>.<secret>Content-Type: application/json{  "request_id": "ticket-4812-access",  "action": "access:grant",  "on_behalf_of": { "kind": "employee", "id": "5b1e2c4a-…" },  "resource": { "type": "group", "id": "engineering" },  "purpose": "Onboard the new starter on ticket 4812",  "parameters": { "member": "new.starter@example.com" }}

Example

Arc answers with the action and its status. Follow an action that is held for approval with GET /v1/actions/{action_id}. Full detail: POST /v1/actions.

05What Arc does with a request

  • Authenticate the agent from its credential.
  • Check the parameters against the action definition. A mismatch is rejected before anything is recorded.
  • Find the authority: Arc picks the applicable grant itself and checks the action, resource, principal, amount, currency and purpose.
  • Apply organisation policies, which can forbid the action or require approval.
  • Decide: ALLOW, REQUIRES_APPROVAL or DENY, recorded with its reasons.
  • Act: on ALLOW, Arc sends the request to your system itself, at most once, and records what came back.

Why the agent never holds your system’s credentials

Arc performs the action, so the agent needs no access to the system. That is what makes the limits enforceable rather than advisory. If the agent also holds working credentials for the system, it can bypass Arc.