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.
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.