Feedback

sample-cpp-mcp-servers

@168iroha Claim

Basic information

Runtime
c++
Category
License
Not specified
Transports
stdio
Author
168iroha
Submitted by
Community
Quality
10

About sample-cpp-mcp-servers Server

C++によるMCP Serversのサンプル

sample-cpp-mcp-servers is a MCP server in the Other category listed in the AddMCP.net directory, published by 168iroha. Supported transport: stdio. Runtime: c++. Source code is hosted on github.com.

sample-cpp-mcp-servers config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

sample-cpp-mcp-servers tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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-scores for 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

Frequently asked questions

1 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).

2 How does the server communicate?

It uses standard I/O (binary mode on Windows) for MCP messages. All diagnostic output goes to stderr.

3 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).

4 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.

5 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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬