oatpp-mcp
by oatpp·★ 49·Score 36
C++ MCP server implementation for Oat++ framework with automated API tool generation.
Overview
oatpp-mcp is a Model Context Protocol implementation specifically designed for the Oat++ C++ web framework. It enables developers to integrate MCP functionality into their C++ applications, providing tools, resources, and prompts capabilities. The server supports both STDIO and HTTP SSE transport protocols, making it flexible for different integration scenarios. A standout feature is its ability to automatically generate MCP tools from Oat++ ApiController classes, allowing seamless connection between REST APIs and language models.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose oatpp-mcp if you're already using Oat++ for C++ development and want to expose your API endpoints as MCP tools to LLMs.
When NOT to choose this
Not suitable for non-C++ projects or those requiring transports other than STDIO/SSE; requires knowledge of Oat++ framework.
Tools this server exposes
1 tool extracted from the READMELoggerLogging tool for the MCP server
Note: Tool name inferred from example code in the README. The Logger tool is mentioned in examples but no detailed signature or description is provided in the documentation.
Comparable tools
Installation
Install oatpp-mcp
Prerequisites
- Install the main [oatpp](https://github.com/oatpp/oatpp) module
Build Steps
- Clone this repository
- In the repository root, run:
``bash mkdir build && cd build cmake .. make install ``
Claude Desktop Configuration
To use with Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"oatpp-mcp": {
"command": "path/to/your/oatpp-mcp-executable",
"args": []
}
}
}FAQ
- What transport protocols does oatpp-mcp support?
- oatpp-mcp supports both STDIO and HTTP SSE transport protocols for different integration scenarios.
- How do I automatically generate tools from my ApiController?
- oatpp-mcp can automatically generate MCP tools from your Oat++ ApiController classes. See the [detailed tutorial](https://medium.com/oatpp/c-restful-web-service-with-autogenerated-mcp-server-to-connect-with-llms-156d68bbb661) for implementation steps.
On Hacker News
Recent discussion from the developer community.
- Story by lganzzzo · 2024-12-11
Compare oatpp-mcp with
Last updated · Auto-generated from public README + GitHub signals.