px0 explained to it in a prompt.
px0 mcp serve speaks MCP on stdin and stdout, one JSON-RPC message per line, until stdin closes. No MCP SDK is involved - the surface needed is initialize, tools/list, and tools/call over stdio.
--allow-runs
Let a client run workflows.
- Input: flag, no value. Default off.
- Off by default because a workflow can post, send, and file things. Without it,
workflow_runis not even listed, and calling it returns an error explaining how to enable it.
What it exposes
brain_ask and brain_search take an optional kind (blog, paper, doc, video, stub) and k. Nothing under the brain’s private folder is ever returned, the same guarantee that holds for px0 brain search and px0 brain ask on the command line.
Registering it with a client
Claude Code, and most MCP clients, take a command and its arguments:PX0_HOME when the client’s environment differs from your shell’s, since that is what selects the store.

