{"repo":"hkr04/cpp-mcp","free":true,"listed":false,"github":"https://github.com/hkr04/cpp-mcp","clone":"git clone https://github.com/hkr04/cpp-mcp.git","description":"Lightweight C++ MCP (Model Context Protocol) SDK","language":"C++","stars":317,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"MCP Protocol Framework Model Context Protocol (MCP) is an open protocol that provides a standardized way for AI models and agents to interact with various resources, tools, and services. This framework implements the core functionality of the MCP protocol, conforming to the 2025-03-26 basic protocol specification. Core Features - JSON-RPC 2.0 Communication : Request/response communication based on JSON-RPC 2.0 standard - Resource Abstraction : Standard interfaces for resources such as files, APIs, etc. - Tool Registration : Register and call tools with structured parameters - Prompt Templates : Register and expose prompt templates to clients for AI workflows - Extensible Architecture : Easy to extend with new resource types and tools - Multi-Transport Support : Supports HTTP and standard input/output (stdio) communication methods How to Build Example of building with CMake: Build with tests: Build with SSL support: Adopters Here are some open-source projects that are using this repository. If you're using it too, feel free to submit a PR to be featured here! - humanus.cpp: Lightweight C++ LLM agent framework - ...waiting for your contribution... Components The MCP C++ library includes the following main components: Core Components Client Interface ( mcp client.h ) Defines the abstract interface for MCP clients, which all concrete client implementations inherit from. SSE Client ( mcp sse client.h , mcp sse client.cpp ) Client implementation that communicates with MCP servers u","default_branch":null,"files":null,"tree":[],"storefront":"/r/hkr04","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hkr04/cpp-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}