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. git_context validates since with the same parser as the CLI and is marked open-world when its default pull request lookup may access GitHub. See the generated MCP tool reference for tool parameters.
Resources
Section titled “Resources”context://git- default text output fromcontext git.context://stack- default text output fromcontext stack.context://command/{name}- help text for a context command.