sample-cpp-mcp-servers
@168iroha
关于 sample-cpp-mcp-servers
C++によるMCP Serversのサンプル
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is sample-cpp-mcp-servers?
A sample implementation of MCP (Model Context Protocol) servers written in C++. It demonstrates the basic protocol flow using standard I/O and is intended as an educational example based on a blog article. It is not production-ready and will be removed in a few months.
How to use sample-cpp-mcp-servers?
Build and run the executable. The server communicates over standard I/O (stdin/stdout) using the MCP protocol. It listens for initialization and tool calls, and logs diagnostic messages to stderr.
Key features of sample-cpp-mcp-servers
- Written in C++ using the MCP protocol
- Single tool:
evaluate-scoresfor score evaluation - Transports via standard I/O (stdio)
- Logs timestamps and events to stderr
- Implements only procedure calls (protocol experimentation)
Use cases of sample-cpp-mcp-servers
- Learning how MCP servers work in C++
- Experimenting with tool calling over stdio
- Reference for implementing custom MCP servers
FAQ from sample-cpp-mcp-servers
What language and libraries are used?
The server is written in C++ and uses an internal mcp-server.hpp library along with nlohmann/json for JSON handling (as seen in the source code).
How does the server communicate?
It uses standard I/O (binary mode on Windows) for MCP messages. All diagnostic output goes to stderr.
What tool does the server provide?
A single tool named evaluate-scores that accepts a numeric score (minimum 0) and returns a formatted evaluation (beginner, intermediate, or advanced).
Is this server intended for production use?
No. It is a sample for learning purposes, and the repository will be deleted after the source code is published on the author’s blog.
What are the runtime requirements?
A C++ compiler supporting <chrono>, <format>, and the MCP library provided in the repository. Only stdio transport is confirmed to work.
其他 分类下的更多 MCP 服务器
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
评论