MCP Directory
Back

mcpcpp

by nlpresearchai · C++ · ★ 6

A modern C++ implementation of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) for building AI-powered applications with external tool integration.

Install

git clone https://github.com/nlpresearchai/mcpcpp.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcpcpp": {
      "command": "npx",
      "args": [
        "-y",
        "github:nlpresearchai/mcpcpp"
      ]
    }
  }
}

From the README

[](https://opensource.org/licenses/MIT) [](https://en.cppreference.com/w/cpp/17) [](https://cmake.org/) A modern C++ implementation of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) for building AI-powered applications with external tool integration. - ✅ **Full MCP Protocol Support** - JSON-RPC 2.0 based protocol (v2024-11-05) - ✅ **Dual Transport** - STDIO and SSE/HTTP modes - ✅ **Tools** - Register C++ functions as AI-callable tools - ✅ **Resources** - Serve data, configurations, and files - ✅ **Prompts** - Provide reusable prompt templates - ✅ **Client Library** - Co…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers