gopher-mcp
View on GitHubC++ MCP SDK - build Model Context Protocol (MCP) servers and clients in C++ / CPP. Enterprise-grade security, observability, connectivity. Stdio, HTTP+SSE, Streamable HTTP, WebSocket, TCP transports. Bindings for Python, TypeScript, Go, Rust, Java, C#.
Production-grade C++ SDK implementing the Model Context Protocol for building MCP servers and clients. Supports stdio, HTTP+SSE, Streamable HTTP, WebSocket and TCP transports, with a C API for Python, TypeScript, Go, Rust, Java and C# bindings, plus TLS, rate limiting and observability.
Use Cases
Build MCP servers in C++Build MCP clients in C++Expose native C/C++ tools and resources to LLM assistantsEmbed MCP support in embedded/IoT or low-latency native appsServe MCP over stdio, HTTP+SSE, WebSocket or TCPCall MCP C++ SDK from Python, TypeScript, Go, Rust, Java or C#Add auth, rate limiting and circuit breaking to MCP endpointsAdd structured logging and metrics to MCP services
Built With
- Language
- C++
- Frameworks
- libevent · OpenSSL · CMake · llhttp · ctypes/cffi · N-API · CGO · JNI · P/Invoke
Tags
mcp · cpp · sdk · mcp-server · mcp-client · json-rpc · c-api · cross-language-bindings · stdio · http-sse · streamable-http · websocket · tcp · tls · observability · tool-calling