MCP server
Anastro can act as a local MCP server so tools like Claude Code, Cursor, or other desktop clients can inspect projects, create threads, send messages, and drive machines. To give Anastro’s own threads access to external MCP servers instead, see Connectors.
Connect a client
Section titled “Connect a client”Your MCP client runs anastroctl mcp serve, which speaks MCP over stdio and connects to your
cluster over iroh as your enrolled device (sign in first with anastroctl login).
claude mcp add anastro -- anastroctl mcp serveFor clients configured via JSON:
{ "mcpServers": { "anastro": { "command": "anastroctl", "args": ["mcp", "serve"] } }}If you have multiple clusters in your client file, pick one with --context or ANASTRO_CONTEXT.
From the desktop app
Section titled “From the desktop app”If you have the desktop app installed instead of anastroctl, point your MCP client
at the app binary with mcp serve—it runs headless using the app’s enrolled device and last-selected
cluster (or ANASTRO_CONTEXT):
# macOSclaude mcp add anastro -- /Applications/Anastro.app/Contents/MacOS/anastro mcp serve{ "mcpServers": { "anastro": { "command": "/Applications/Anastro.app/Contents/MacOS/anastro", "args": ["mcp", "serve"] } }}On Linux and Windows, use the path to your installed anastro executable. If the app isn’t signed
into a cluster yet, the command prints why and exits.
What clients can do
Section titled “What clients can do”- Exposes Anastro’s project, thread, and machine operations (
get_project,list_threads,create_thread,send_message,create_machine, and more). - Every call runs with your current roles and is recorded in the audit log as
via mcp. - MCP calls are never trusted for sensitive actions (like approving devices or revealing secrets) and cannot mint tokens or keys.
Hosted clients
Section titled “Hosted clients”Cloud-hosted MCP clients (like claude.ai or ChatGPT connectors) aren’t supported yet because Anastro has no public HTTPS API endpoint. See Known limitations.
- Connectors: bring external MCP servers into Anastro threads.
- The CLI: enroll a device and manage cluster contexts.