arc mcp bridges stdio to the running AFS daemon's MCP endpoint. It auto-starts the daemon if it isn't already running.
Usage
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 pass0, to use the instance registry / seeddefaulton4900)
Example (auto-starts the daemon; blocks on stdio afterward)
$ arc mcp
Starting AFS service...A port already held by another instance is a reject path, exit 1:
$ arc mcp --port 4900
Starting AFS service...
ERROR: Failed to start service: Port 4900 is already in useClaude Desktop config
{ "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.