MCP and Studio Integration

Anything that can call HTTP can drive a cell. Agent tools that speak the Model Context Protocol (MCP) wrap the same /v1/cells operations described in the API Reference.

MCP tools

A tool that speaks MCP can wrap any operation in the API Reference. Each tool calls one endpoint with your Bearer key and returns the JSON or NDJSON body. Keep the key on the server that runs the tool, not in the model's context.

Note
A published MCP server package is not yet available. Until it is, use a thin wrapper around the REST operations.

Practices for agent-driven use

Give each agent a cell name of its own, and delete cells it no longer needs. Take a checkpoint before a step that changes many files. Keep the key out of prompts and logs, and read streams to completion so the exit code is seen.