CPP MCP-SERVER

CPP MCP-SERVER

mcp_server•bypeppemas

A C++ Model Context Protocol server implementation with a pluggable module architecture.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Implements a C++ Model Context Protocol server with a pluggable module architecture.
  • •Lists resources, prompts, tools, and notifications in its feature table.
  • •Supports Stdio, SSE, and HttpStream transports.
  • •Loads plugins dynamically from a specified directory.

BEST FOR

  • •Building a C++ MCP server with a pluggable module architecture.
  • •Exposing resources, prompts, and tools through an MCP server.
  • •Extending server behavior with example plugins for weather data, timed delays, or automated code review.

ABOUT MCP_SERVER

CPP MCP-SERVER is cataloged as an MCP server attributed to peppemas. A C++ Model Context Protocol server implementation with a pluggable module architecture. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for CPP MCP-SERVER are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What features are listed in the server feature table?

The feature table lists resources, prompts, tools, and notifications.

How are plugins loaded?

Plugins are loaded dynamically from a directory specified with the -p argument.

What example plugins are included?

The README describes weather, sleep, and code review example plugins.

Upstream README

View this exact version on GitHub

README.md · 192fdb36272e · Fetched 2026-11-13 07:50:53 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

CPP MCP-SERVER

A C++ implementation of a Model Context Protocol Server with a pluggable module architecture.

ServerResourcesPromptsToolsSamplingNotificationsRootsElicitations
MCP-SERVER✅*✅✅❌✅**❌❌

* Resource Templates aren't supported yet

** Partially supported

Claude Code Configuration

claude mcp add --transport http cpp_mcp_server http://localhost:8080/mcp

Setup Logs Directory

By default, the mcp server logs into ./logs directory (MUST BE EXISTS) You can redirect logs into your preferred dir using the -l command line option.

Supported Transports

TransportSupportedAuthorization
Stdio✅❌
SSE✅❌
HttpStream✅❌

Supported Platforms

PlatformSupportedCompiler
Windows✅MINGW64
Ubuntu Linux✅GCC
Mac OS✅GCC

How to compile

Clone the repository on your local machine

git clone https://github.com/peppemas/mcp_server.git

Compile

cd mcp_server
mkdir build
cd build
cmake ..
make

MCP Server Architecture

The MCP Server is designed to implement a Model Context Protocol, enabling a modular and extensible architecture. Below is an overview of the project's architecture:

Core Components

  1. Server Core:
    The central component of the server that handles the initialization and management of all major functionalities, including communication with clients, logging, and plugin management.

  2. Command-Line Interface:
    Provides command-line arguments for configuration:

    • -n: Specifies the name of the server to expose to clients. (optional)
    • -p: Sets the path to the plugins directory where to search the plugins (it searches also in subdirectories).
    • -l: Sets the path to the log directory.
  3. Plugin System:
    The server is designed to load plugins dynamically from a specified directory (-p argument). Each plugin extends the server's functionality, allowing for future expansion without modifying the core codebase.

  4. Logging Module:
    Logging is centralized, with logs stored in the directory specified by the -l parameter. This enhances debugging and monitoring of the server's activity.

Execution Flow

  1. Initialization:

    • The server starts by parsing the command-line arguments to configure the server name, plugin directory, and logs directory.
    • Logs are initialized, and the plugin system is prepared.
  2. Plugin Loading:

    • Plugins from the specified directory are identified and loaded dynamically.
    • Each plugin is initialized and registered with the server.
  3. Handling Client Requests:

    • The server listens for incoming client connections.
    • It processes requests based on the implemented Model Context Protocol, which relies on registered plugins for extended capabilities.
  4. Error Handling:

    • Errors during startup or runtime are logged in the logging directory, ensuring minimal disruption to the server's operation.

Plugin Extensibility

The MCP Server's extensibility is powered by its plugin system, enabling developers to expand the server's capabilities without modifying the core logic. Plugins are dynamically loaded libraries and can be implemented in various ways depending on the operating system:

  • On Windows: Plugins are compiled as .dll files.
  • On Linux/MacOS: Plugins are compiled as .so or .dylib (shared object) files.

Example Plugins

  1. Weather Plugin:
    The Weather plugin allows the server to provide weather-related functionalities. This plugin can process requests related to weather data, such as current temperature, forecasts, and other meteorological information. The plugin fetches data from third-party APIs to ensure up-to-date and accurate information. It demonstrates how the MCP server can be extended to offer services that require external data integration.

  2. Sleep Plugin:
    The Sleep plugin introduces delay or "sleep" functionality within the server's processing pipeline. This can be useful for simulating response delays or managing timed operations in protocols. Developers can leverage this plugin to build and test features related to time-based operations without altering core server behavior. It highlights how custom plugins can target specific, niche use cases.

  3. Code Review Plugin:
    The Code Review plugin is designed to assist developers in performing automated code reviews. This plugin analyzes code submitted to the server and provides helpful feedback, such as identifying potential bugs, code smells, and optimization opportunities. It follows standard coding practices and can be configured to enforce specific style guides (e.g., Google C++ Style Guide). Additionally, it supports multi-language inspection, ensuring compatibility with various programming languages. The plugin can integrate with version control systems to retrieve code changes directly for assessment, making it a valuable tool for collaborative development workflows.

Claude Desktop Configuration

{
  "mcpServers": {
    "mcp-server": {
      "command": "C:\\mcp-server\\mcp_server.exe",
      "args": [
        "-n","developer-server",
        "-l","C:\\mcp-server\\logs",
        "-p","C:\\mcp-server\\plugins"
      ],
      "env": {
        "CUSTOM_API_KEY_1": "your-api-key-here",  
        "CUSTOM_API_KEY_2": "your-api-key-here",
        "SAVE_DIR": "/path/to/save/directory"
      }      
    }
  }
}

NOTE: In the "env" block you can pass parameters to your plugins e

TODO LIST

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for CPP MCP-SERVER from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp_server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools