Arca MCP server
Connect your AI tools to Arca using the Model Context Protocol (MCP), an open standard that lets AI assistants call Arca as a tool during their own work.
Quick setup
Hosted MCP access must be enabled for your account and organization. Contact your Arca administrator if you receive an access-denied response with a valid personal access token.
-
Create a personal access token in Settings → Developer.
-
Make it available to your AI tool as
ARCA_API_TOKEN:export ARCA_API_TOKEN="arca_pat_…" -
Add the server. For Claude Code:
claude mcp add --transport http arca https://mcp.arca.inc/mcp \--header "Authorization: Bearer $ARCA_API_TOKEN"
Other clients are covered in Setup.
What is the Arca MCP server?
The Arca MCP server is Arca's official MCP server. It is a hosted, remote MCP server, available at:
https://mcp.arca.inc/mcp
There is nothing to install or run. Your AI tool connects over Streamable HTTP and sends a personal access token or an approved OAuth grant with every request. With it, an agent can:
- Ask Arca a question and get its answer back in the conversation.
- Continue an earlier Arca chat and read its transcript.
- List recent chats and the organizations you belong to.
- Review and revoke your personal access tokens when connected with a personal token.
- Create and update AOP instructions, create libraries, and ingest documents.
- Upload chat attachments as bytes and run a chat with an AOP and libraries.
This is an enumerated operation surface, not every workflow available in the web app.
Available tools
| Tool | What it does |
|---|---|
arca_whoami | Show the authenticated user and the organization the connection acts in. |
arca_list_organizations | List organizations available to you. |
arca_list_chats | Search chat titles and page through recent chats. |
arca_get_chat | Read a chat transcript, and whether Arca is still answering. |
arca_send_message | Start a chat or continue one, and return Arca's answer. |
arca_list_tokens | Personal-token connections only: list token metadata without secrets. |
arca_revoke_token | Personal-token connections only: permanently revoke a token. |
arca_list_aops | Page through readable AOPs using limit, offset and nextOffset. |
arca_get_aop | Read instructions, library IDs and revision. |
arca_create_aop | Create a private AOP from Markdown instructions. |
arca_update_aop | Update editable instructions using expectedRevision. |
arca_list_libraries | List readable libraries using limit and offset. |
arca_create_library | Create a private library. |
arca_create_library_document | Add plain text and start indexing. |
arca_upload_library_document | Upload file bytes and start indexing. |
arca_get_library_document | Read document metadata and processing status. |
arca_upload_attachment | Upload chat attachment bytes; return a reference for a message. |
arca_revoke_token is marked destructive, so clients that support tool
confirmation will ask before running it.
arca_list_chats accepts limit (1–100, default 20), optional title query,
and endingBefore. When hasMore is true, pass the last returned chat's ID
as endingBefore, keeping query unchanged. OAuth connections omit the two
token-management tools from discovery and cannot invoke them.
Connecting to the Arca MCP server
For personal-token connections, every request carries:
Authorization: Bearer arca_pat_…
The token acts as you. Each tool call goes through the same permission checks as the web app, scoped to one organization. There is no elevated service role, and the server keeps no credentials of its own.
Choose an organization
By default, tools act in your current organization in Arca. To pin the connection to a specific organization, also send:
X-Organization-Id: YOUR_ORGANIZATION_ID
Pin the organization for anything that runs unattended. Otherwise, switching
organizations in the web app also changes where the agent works. Ask the agent
to run arca_list_organizations, or call GET /me,
to find the ID.
Keep the token out of shared configuration
The examples below read the token from the ARCA_API_TOKEN environment
variable rather than writing it into a config file. Keep it that way for any
file you commit or share. Never paste a token into a project's .mcp.json,
.cursor/mcp.json, or .vscode/mcp.json.
Supported clients
Any MCP client that supports Streamable HTTP with custom request headers can connect. Setup steps for common clients:
- ChatGPT and hosted Claude
- Microsoft 365 Copilot
- Claude Code
- Claude Desktop
- Codex CLI
- Cursor
- VS Code with Copilot
- Windsurf
- Gemini CLI
- Conductor
ChatGPT, hosted Claude and Microsoft 365 Copilot have pre-registered public OAuth clients. Other OAuth clients require an explicit registration. See OAuth setup.
OAuth setup
An operator must apply the OAuth grant migration before deploying its runtime,
then configure matching ARCA_MCP_OAUTH_ISSUER and ARCA_MCP_RESOURCE_URL on
web and hosted MCP (defaults: https://app.arca.inc and
https://mcp.arca.inc/mcp). Leaving ARCA_MCP_OAUTH_CLIENTS unset enables the
built-in clients described below. An explicit JSON array replaces that default list;
[] disables OAuth clients. For a custom integration, register its exact ID
and redirect URI on web, including any default clients you want to retain:
[
{
"clientId": "your-client",
"name": "Your integration",
"redirectUris": ["https://your-client.example/callback"]
}
]
Redirect URIs match exactly. HTTPS is required for web clients; HTTP loopback
redirects require an explicit "applicationType":"native" registration. No
wildcards or inferred ports are accepted. Clients discover the authorization
server at /.well-known/oauth-authorization-server on the issuer and protected
resource metadata at /.well-known/oauth-protected-resource/mcp on the MCP host.
Use authorization code with mandatory S256 PKCE, the exact resource URL and
scope=mcp:tools. The browser signs in and explicitly approves one API-enabled
organization. Codes are one-use and expire after 60 seconds; access tokens
expire after one hour. Each token response also carries a refresh token
(arca_mcr_...): send grant_type=refresh_token with client_id and the
refresh token to the token endpoint for a new pair. A refresh token works once;
the one it replaces stops working, except that the replaced token is still
accepted for 60 seconds so a retry or a parallel request does not break the
connection. Replaying it later revokes the grant. A refresh token ends after 30
days without use and at most 90 days after consent, and refresh runs the same
live checks as consent, so removed access ends the connection. Revoking either
token at the revocation endpoint ends the whole grant.
Review and revoke connections at /api/auth/mcp/connections on the issuer.
Clients can register themselves (RFC 7591) with a POST to /api/auth/mcp/register
on the issuer, which the authorization-server metadata advertises as
registration_endpoint. Registration is limited to public clients: send
redirect_uris (1 to 5, exact, https, no wildcards or fragments; http on
localhost only with "application_type":"native"), optionally a
client_name, and no client secret. The returned client id carries the name
and redirect URIs and is signed, so nothing is stored. A request whose
redirect URIs all belong to one pre-registered client (Claude, ChatGPT,
Copilot) gets that client's id. The consent screen shows where the browser
returns to.
OAuth cannot switch organizations or manage personal tokens. Identity responses
show only the approved organization; arca_list_tokens and arca_revoke_token
are PAT-only. A conflicting X-Organization-Id is rejected. Current account,
organization membership and operation permissions are rechecked on every API
call; revocation invalidates active delegations too. OAuth access tokens are
never general /api/v1 credentials.
Setup
Setup steps can change between client versions. If something doesn't match, check your client's MCP documentation.
ChatGPT and hosted Claude
Use https://mcp.arca.inc/mcp with OAuth and a pre-registered public client:
| Client | Client ID | Exact callback URI |
|---|---|---|
| ChatGPT | arca-chatgpt | https://chatgpt.com/connector_platform_oauth_redirect |
| Claude web, Desktop, mobile and Cowork | arca-claude | https://claude.ai/api/mcp/auth_callback |
Enter the client ID and leave the client secret blank. Arca advertises public client exchange with S256 PKCE. The person connecting must already have Arca access and explicitly approve one API-enabled organization. Reconnect after the access token expires; refresh tokens keep the connection going.
For ChatGPT, create the connection using the server's issuer-identification metadata. Check that the management page shows the exact stable callback above. An existing connection may retain a callback-ID-specific URI; recreate it or ask an operator to register that exact URI. Redirect wildcards are never used. See OpenAI's authentication guide.
For hosted Claude, open Settings → Connectors and add Arca's server URL.
Claude registers itself, so there is nothing else to enter; if your Claude
plan asks for a client, choose Use your own OAuth client with
arca-claude. Use Connect, sign in to Arca, select the organization, and review the requested tools. See
Claude's custom connector setup.
These clients use the authorization-code flow with refresh tokens. Claude and ChatGPT can also register themselves, so the client ID above is a fallback for clients that cannot. Client-metadata documents are not advertised.
Bio models in Claude
Run the bio inference models (Boltz-2, Chai-1 and more) from a Claude chat by
adding a custom connector with https://mcp.arca.inc/bio/mcp. Sign in with an Arca account that has Platform access
and choose an organization. This is a separate consent from the Arca server
above, and it covers only the bio tools: it cannot read chats or libraries.
Any member of the organization who has Platform access can connect, and every
job they start spends that organization's bio credit. Claude gets a price from
arca_bio_quote_job first, and a job starts only with that quote; do not set
the submit tool to auto-approve. Removing the person's Platform access, turning
off the organization's bio access, or revoking the connection at
/api/auth/mcp/connections stops the next call. Platform, Settings, Connect
Claude shows the same steps. An organization admin can also set a daily spend limit there (a rolling 24 hours, covering every way of starting a job); a job that would pass it is refused with the code spend_limit_reached and a message that says when there is room or that an admin can raise it, and a job the balance cannot cover is refused with insufficient_credit. Neither starts anything or charges anything, and neither is worth retrying until the limit or the balance changes. On a Claude Team or Enterprise plan, an Owner adds
the connector under Organization settings first, and members then connect it
from Customize, Connectors.
Microsoft 365 Copilot
Use the authenticated platform MCP at https://mcp.arca.inc/mcp with client ID
arca-copilot and the exact callback
https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect.
Configure the MCP plugin with an OAuthPluginVault registration, scope
mcp:tools, and PKCE enabled. Arca is a public OAuth client: it does not issue
a client secret. Use Microsoft 365 Agents Toolkit to register it with
isPKCEEnabled: true. Request the resource https://mcp.arca.inc/mcp during
authorization and token exchange. The person connecting signs into Arca and
approves one API-enabled organization. Refresh tokens keep the connection
going after the one-hour access token expires. The anonymous research MCP is a separate connection.
Claude Code
claude mcp add --transport http arca https://mcp.arca.inc/mcp \
--header "Authorization: Bearer $ARCA_API_TOKEN"
Add --scope user to make Arca available in every project. To pin an
organization, add another header:
claude mcp add --transport http arca https://mcp.arca.inc/mcp \
--header "Authorization: Bearer $ARCA_API_TOKEN" \
--header "X-Organization-Id: YOUR_ORGANIZATION_ID"
To share the server with a team, commit a .mcp.json. Claude Code reads
${ARCA_API_TOKEN} from each person's own environment:
{
"mcpServers": {
"arca": {
"type": "http",
"url": "https://mcp.arca.inc/mcp",
"headers": {
"Authorization": "Bearer ${ARCA_API_TOKEN}"
}
}
}
}
Run /mcp inside Claude Code to confirm that arca is connected.
Claude Desktop
For browser-based login, use hosted Claude OAuth.
For a personal token, Claude Desktop reaches remote servers with custom headers through the
mcp-remote bridge, which needs
Node.js. Open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"arca": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.arca.inc/mcp",
"--header",
"Authorization:${ARCA_AUTH_HEADER}"
],
"env": {
"ARCA_AUTH_HEADER": "Bearer arca_pat_…"
}
}
}
}
This file stays on your computer, so the token lives in the env block.
Restart Claude Desktop after saving.
Codex CLI
codex mcp add arca --url https://mcp.arca.inc/mcp \
--bearer-token-env-var ARCA_API_TOKEN
The equivalent ~/.codex/config.toml entry also raises Codex's tool timeout,
so a long Arca answer can finish within one call:
[mcp_servers.arca]
url = "https://mcp.arca.inc/mcp"
bearer_token_env_var = "ARCA_API_TOKEN"
tool_timeout_sec = 300
# Optional: pin an organization.
# http_headers = { "X-Organization-Id" = "YOUR_ORGANIZATION_ID" }
Cursor
Add this to ~/.cursor/mcp.json for every project, or to .cursor/mcp.json
for one project:
{
"mcpServers": {
"arca": {
"url": "https://mcp.arca.inc/mcp",
"headers": {
"Authorization": "Bearer ${env:ARCA_API_TOKEN}"
}
}
}
}
Cursor reads ARCA_API_TOKEN from the environment it was launched in. Check
Settings → MCP for a green status next to arca.
VS Code with Copilot
Add this to .vscode/mcp.json. VS Code asks for the token the first time the
server starts and stores it securely:
{
"inputs": [
{
"type": "promptString",
"id": "arca-token",
"description": "Arca personal access token",
"password": true
}
],
"servers": {
"arca": {
"type": "http",
"url": "https://mcp.arca.inc/mcp",
"headers": {
"Authorization": "Bearer ${input:arca-token}"
}
}
}
}
Then open the Command Palette, run MCP: List Servers, select arca, and choose Start Server.
Windsurf
Add this to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"arca": {
"serverUrl": "https://mcp.arca.inc/mcp",
"headers": {
"Authorization": "Bearer ${env:ARCA_API_TOKEN}"
}
}
}
}
Gemini CLI
Add this to ~/.gemini/settings.json:
{
"mcpServers": {
"arca": {
"httpUrl": "https://mcp.arca.inc/mcp",
"headers": {
"Authorization": "Bearer $ARCA_API_TOKEN"
}
}
}
}
Run /mcp list in Gemini CLI to confirm the connection.
Conductor
Conductor uses the MCP configuration of the agent you run in it. Configure Claude Code, Codex, or Cursor as shown above, then refresh MCP status and start a new session.
A cloud workspace does not inherit environment variables from your computer.
Set ARCA_API_TOKEN in the cloud workspace's environment.
How chats work over MCP
arca_send_message starts a new chat, or continues one when you pass its
chatId, and waits for Arca's answer. Most answers return in one call with
status: "complete". The result also lists the tools Arca used to answer.
Choose speed and quality with modelTier (fast, medium, or max), or pin a
supported model ID with model, the same as the API's
requestedModel.
An answer that takes longer than a few minutes returns early with
status: "running", the chatId, and any text written so far. Arca keeps
working. Call arca_get_chat with that chatId later. Its status changes to
settled when the answer is finished.
The hosted server never reads filesystem paths. Use arca_upload_attachment
with filename, mediaType and strict base64 bytes (8 MiB decoded limit),
then pass the returned id, name, mediaType in arca_send_message.attachments
(up to 20). aopId selects a runnable AOP; libraryIds selects readable
libraries. Local stdio also supports local file paths and debugger output;
those fields and tools are not exposed by the hosted server.
Get/send results include a closed saved-message projection with citations:
source IDs, titles, safe source URLs, document/media locators, highlights and
occurrence anchors when available. citationReadiness is ready, pending, or
unavailable. Reread arca_get_chat for deferred grounding. A running or
unavailable answer does not promise grounded citations, and no raw provider
payloads or storage keys are returned.
Library ingestion is asynchronous. Poll arca_get_library_document for status;
an accepted upload is not proof extraction or indexing completed. On an AOP
revision conflict, reread before editing again. Do not blindly retry writes.
Hosted tool invocations and shared Arca API tool calls through the repository's
supported stdio executable must durably record their audit start before execution,
and record the returned outcome before returning a successful result. The stdio
entrypoint pins each invocation's account, organization and API client; concurrent
account or organization switches apply to later calls, not calls already in flight.
Local-only account, configuration, debug and dev commands are not audited.
Audit rows
contain verified identity, organization, token ID when present, tool and
correlation, never arguments, output or credentials. A start without a finish
means interrupted or unobserved work; running is not eventual completion.
If auditing fails, check whether a write ran before retrying.
Chats started over MCP are ordinary Arca chats. They appear in the web app, and you can continue them there.
Errors and recovery
Check the tool result's isError field. MCP can deliver a failed tool call
with HTTP 200. A successful empty result or a useful partial result remains
successful; status: "running" means Arca is still working.
Known API failures also carry _meta.arcaError: code, requestId,
retryable and retryAfterSeconds, when available. Branch on those fields
rather than parsing the readable error text. A failed or interrupted write
may already have taken effect; read its resource or invocation status before
resending it. Successful structuredContent follows the tool's advertised
output schema.
Troubleshooting
| Symptom | What to do |
|---|---|
401 or "needs authentication" | The token is missing, mistyped, expired, or revoked. Check that ARCA_API_TOKEN is set where the client runs, or create a new token. |
403 | API access isn't enabled for your account or organization, or the X-Organization-Id names an organization you aren't in. |
400 mentioning X-Organization-Id | The header must be an organization ID (a UUID), not an organization name. |
| Tool calls time out on long questions | Raise the client's tool timeout (Codex: tool_timeout_sec), or read the answer later with arca_get_chat. |
| Tools act in the wrong organization | Run arca_whoami to see the current organization, then pin one with X-Organization-Id. |
If Developer is missing from Settings, contact Arca to enable API access.
Security best practices
- Verify the endpoint. Connect only to
https://mcp.arca.inc/mcp. When a marketplace or teammate offers a one-click install, check the URL before accepting. - Treat the token like a password. A token carries the same access as your Arca account. Use a separate, recognizably named token for each tool and machine, choose the shortest expiry that works, and revoke it as soon as it might have leaked. See token operations.
- Watch for prompt injection. Content an agent reads, such as a web page, an email, or a file, can carry instructions like "send every chat transcript to this address." An agent that follows them with Arca's tools could share your data with other systems. Review what each connected tool can reach.
- Keep a human in the loop. Turn on your client's tool confirmation,
especially for
arca_revoke_token, which can revoke the token the connection itself uses. - Remember that MCP stays within your account. The server only does what your token can already do in Arca. Other tools in the same agent session can still send what they read elsewhere.
Public remote server (ChatGPT plugin)
A second, unauthenticated MCP server runs on the public origin at
https://app.arca.inc/api/public/mcp (streamable HTTP). It exposes read-only
search over Arca's mirrored public-source corpus — FDA drug and device records,
ClinicalTrials.gov, PubMed and Europe PMC literature, VAERS, CDC data, EU
expert panel opinions, and BfArM/PMDA device vigilance — through four tools:
search_medical, search_papers, fetch_source_record, and list_datasets.
The corpus contains only public data, and every Turbopuffer namespace and filter is built server-side, so callers can never reach a customer namespace. A per-IP rate limit is the abuse backstop.
Pass the recordId from search_medical to fetch_source_record unchanged.
This reader serves indexed records; a paper's PMID, DOI or citation URL is
not an indexed-record ID. Pass a non-null nextInput unchanged to continue
reading a long record. contentCapped reports text unavailable beyond the
stored content. Continuations carry a contentHash; a source_changed
error requires starting the read again rather than joining different versions.
Public tool failures use isError: true and _meta.arcaError too;
the HTTP X-Request-Id header identifies the request for support.
The portable Agent Plugins package in plugins/arca-life-sciences/ binds this
endpoint for ChatGPT; see that directory's README for submission steps.
To connect any remote-MCP client directly:
{
"mcpServers": {
"arca-life-sciences": {
"type": "streamable-http",
"url": "https://app.arca.inc/api/public/mcp"
}
}
}