Skip to main content

Module mcp

Module mcp 

Source
Expand description

MCP (Model Context Protocol) server implementation.

Implements JSON-RPC 2.0 over stdio for AI coding assistant integration. Protocol spec: https://modelcontextprotocol.io/

Functions§

run_mcp_server
Start the MCP server, reading JSON-RPC requests from stdin and writing responses to stdout. Logs go to stderr so they don’t interfere with the protocol.