{"type":"mcp_server","name":"mcp-cpp","description":"This repository provides a C++ SDK for the Model Context Protocol (MCP), enabling the creation of MCP servers and clients with features like JSON-RPC, multiple transport options, and comprehensive error handling.","category":"Developer Tools","language":"C++","stars":60,"forks":1,"owner":"Neumann-Labs","github_url":"https://github.com/Neumann-Labs/mcp-cpp","homepage":null,"setup":"## Setup\n\nThe library uses CMake for building:\n\n```bash\n# Configure the build\ncmake -B build\n\n# Build the library\ncmake --build build\n\n# Run tests\ncd build && ctest\n```","tools":"## Available Tools\n\n1. JSON-RPC 2.0 based messaging (Provides a standardized way for communication.)\n2. Multiple transport mechanisms (Supports STDIO, with HTTP/SSE planned.)\n3. Support for MCP capabilities (Includes Tools, Resources, and Prompts.)\n4. Thread-safe design (Ensures safe concurrent access.)\n5. Memory-safe implementation (Uses RAII and smart pointers to prevent memory leaks.)\n6. Comprehensive error handling (Provides robust error management.)\n7. Core types and JSON serialization (Handles data representation and conversion.)\n8. Error handling utilities (Offers tools for managing errors.)\n9. Transport interface (Defines a common interface for different transport methods.)\n10. STDIO transport implementation (Provides a transport layer using standard input/output.)\n11. Logging utilities (Offers tools for logging events.)","faq":null,"created_at":"2025-03-04T22:13:34+00:00","updated_at":"2025-03-25T18:08:34+00:00","source_url":"https://model-context-protocol.com/servers/cpp-sdk-model-context-protocol","related_articles":[]}