Skip to main content

arc mcp

arc mcp bridges stdio to a running AFS daemon's MCP endpoint, so Claude Desktop or any stdio MCP client can talk to AFS. It auto-starts the daemon if needed.

arc mcp bridges stdio to the running AFS daemon's MCP endpoint. It auto-starts the daemon if it isn't already running.

Usage

bash
arc mcp [options]

Global flags (see Overview): --json, --view, --instance / -i (which local ARC instance; omit for default), and --home (instance root; to pick which instance, use --instance).

  • --port <port>: daemon port, 1-65535 (omit, or pass 0, to use the instance registry / seed default on 4900)

Example (auto-starts the daemon; blocks on stdio afterward)

bash
$ arc mcp
Starting AFS service...

A port already held by another instance is a reject path, exit 1:

bash
$ arc mcp --port 4900
Starting AFS service...
ERROR: Failed to start service: Port 4900 is already in use

Claude Desktop config

json
{ "mcpServers": { "AFS": { "command": "arc", "args": ["mcp"] } } }

arc mcp is a bridge, not a standalone MCP server. If you want a standalone one, use arc serve --transport mcp-stdio (loads AFS directly) or arc serve --transport mcp-http.