Skip to content

MCP Server

context mcp starts a Model Context Protocol server over stdio. It speaks JSON-RPC on stdout and sends logging to stderr so the protocol stream stays clean.

{
"mcp": {
"context": {
"type": "local",
"command": ["context", "mcp"],
"enabled": true
}
}
}

The server exposes read-only tools and resources. See the generated MCP tool reference for tool parameters.

  • context://git - default text output from context git.
  • context://stack - default text output from context stack.
  • context://command/{name} - help text for a context command.