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.
主要功能
01Supports Model Context Protocol (MCP)
02Server and Client implementations
032 GitHub stars
04Implemented in modern C23
05Includes STDIO transport
06Cross-platform compatibility (Linux, Windows, macOS)