modelcontextprotocol-cpp-sdk

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 6 GitHub stars
Code Warn
  • network request — Outbound network request in docs/pnpm-lock.yaml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

C++17 implementation of the Model Context Protocol (MCP), providing both client and server libraries for building MCP-based AI tooling integrations.

README.md

MCP C++ SDK

中文文档:README_zh.md

C++17 implementation of the Model Context Protocol (MCP): static client and server libraries for MCP-based AI tooling integrations.

License
C++17
Platform

Status: 0.3.13 (mcp::kSdkVersion), five protocol versions in two eras, 124 conformance tests. Windows (MSVC, clang-cl), Linux (GCC, Clang), macOS (Clang).

Requirements

  • CMake 3.28+ with the Ninja generator; a C++17 compiler (MSVC, Clang, GCC).
  • OpenSSL optional: MCP_WITH_OPENSSL=AUTO|ON|OFF (default AUTO). TLS needs it; OAuth PKCE does not (built-in SHA-256 fallback). Supports 3.x/4.x.

Quick start

cmake --preset debug
cmake --build --preset debug
ctest --preset debug --output-on-failure

Presets: debug, release. Examples need -DMCP_BUILD_EXAMPLES=ON; the conformance fixture needs -DMCP_BUILD_CONFORMANCE=ON.

Documentation

Full manual: https://jesspig.github.io/modelcontextprotocol-cpp-sdk/. Sources: docs/zh (Chinese original), mirrored in English at docs/en.

License

MIT — LICENSE.

Reviews (0)

No results found