Skip to content
pols.so docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

pols mcp

Serve the pols tools to an AI agent over MCP (stdio)

Run an MCP (Model Context Protocol) server on stdin and stdout, so that Claude Code and other agents can create, stop, resume, fork and delete sandboxes, run commands, and read and write files. It uses the same API key and URL as the other commands (pols login, or POLS_API_KEY and POLS_API_URL). Agents start it themselves; you do not run it by hand.

Usage

pols mcp [flags]

Examples

claude mcp add --scope user pols -- pols mcp

Flags

-h, --help   help for mcp

The global flags work with this command too.