mcp-cpp: A C++17 SDK for the Model Context Protocol, Validated Against the Official Conformance Suite
A developer team has released mcp-cpp, a C++17 software development kit for the Model Context Protocol, which targets the 2026-07-28 specification and has no async runtime dependency. The SDK covers server and client roles, stdio and Streamable HTTP transports, OAuth 2.1 client support, and a JSON Schema validator. The authors tested it against the official modelcontextprotocol conformance suite, reporting full passes on the 2026-07-28 server and client checks. Their 2025-11-25 results were lower, with the remaining failures explained as deliberate non-goals or a harness bug. Running the official harness also uncovered five real bugs in the SDK, including dropped notifications over HTTP, which were then fixed.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in