Mcpc
Implements a cross-platform C SDK for the Model Context Protocol (MCP) using modern C23.
About
Mcpc is a C library designed to bridge low-level infrastructure with AI models, leveraging the capabilities of modern C. It provides both server and client-side implementations of various MCP features, including Tool, Resource, Prompt, Completion, and STDIO Transport. The library aims for broad compatibility across platforms, supporting Linux, Windows, and macOS, and is built to be compiled by as many C compilers as possible, targeting C23 where available and falling back to C11 when necessary.
Key Features
- Supports Model Context Protocol (MCP)
- Server and Client implementations
- 2 GitHub stars
- Implemented in modern C23
- Includes STDIO transport
- Cross-platform compatibility (Linux, Windows, macOS)
Use Cases
- Building MCP servers
- Connecting low-level infrastructure to AI models
- Building MCP clients