Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"cpp-mcp": {
"args": [
"-y",
"@modelcontextprotocol/server-everything"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@modelcontextprotocol/server-everything' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @modelcontextprotocol/server-everything against OSV.dev.
Click any tool to inspect its schema.
file_resourceFile resource for accessing files
file://{file_path}
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP server for using the GitLab API
MCP Security Weekly
Get CVE alerts and security updates for Cpp Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
Example of building with CMake:
cmake -B build
cmake --build build --config Release
Build with tests:
git submodule update --init --recursive # Get GoogleTest
cmake -B build -DMCP_BUILD_TESTS=ON
cmake --build build --config Release
Build with SSL support:
git submodule update --init --recursive # Get GoogleTest
cmake -B build -DMCP_SSL=ON
cmake --build build --config Release
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!
The MCP C++ library includes the following main components:
mcp_client.h)Defines the abstract interface for MCP clients, which all concrete client implementations inherit from.
mcp_sse_client.h, mcp_sse_client.cpp)Client implementation that communicates with MCP servers using HTTP and Server-Sent Events (SSE).
mcp_stdio_client.h, mcp_stdio_client.cpp)Client implementation that communicates with MCP servers using standard input/output, capable of launching subprocesses and communicating with them.
mcp_message.h, mcp_message.cpp)Handles serialization and deserialization of JSON-RPC messages.
mcp_tool.h, mcp_tool.cpp)Manages and invokes MCP tools.
mcp_resource.h, mcp_resource.cpp)Manages MCP resources.
mcp_server.h, mcp_server.cpp)Implements MCP server functionality.
examples/server_example.cpp)Example MCP server implementation with custom tools:
Hello, + input name + !, defaults to Hello, World!examples/client_example.cpp)Example MCP client connecting to a server:
examples/stdio_client_example.cpp)Demonstrates how to use the stdio client to communicate with a local server:
examples/agent_example.cpp)| Option | Description |
|---|---|
--base-url | LLM base URL (e.g. https://openrouter.ai) |
--endpoint | LLM endpoint (default to /v1/chat/completions/) |
--api-key | LLM API key |
--model | Model name (e.g. gpt-3.5-turbo) |
--system-prompt | System prompt |
--max-tokens | Maximum number of tokens to generate (default to 2048) |
--temperature | Temperature (default to 0.0) |
--max-steps | Maximum steps calling tools without user input (default to 3) |
Example usage:
./build/examples/agent_example --base-url <base_url> --endpoint <end
... [View full README on GitHub](https://github.com/hkr04/cpp-mcp#readme)