Welcome to the MCP-C documentation. MCP-C is a tiny, portable C implementation of an MCP-style JSON-RPC server with pluggable transports.
Quick Start
Use the repository README as the primary getting-started guide:
Core
- Core – JSON-RPC parsing & session management
- Transport – Minimal interface (
mcp_transport_t) for protocol adaptation - Server – Registers handlers (initialize, tools/list, tools/call) and dispatches via
mcp_server_dispatch()
Key Pages
- Architecture
- Transports Overview
- HTTP Transport
- MQTT (planned)
Platforms
Linux and Zephyr (ESP32, native_sim) supported; other embedded ports are straightforward if they provide sockets or an event API.
License
This project is released under the MIT License (LICENSE.txt).