Oat++ MCP server
✓ OfficialGenerates MCP tools automatically from Oat++ ApiControllers to allow LLMs to query RESTful web services.
Also known as oatpp/oatpp-mcp
- Stars
- 51
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- —
- Last commit
- Dec 13, 2024
- License
- Apache-2.0
What is Oat++ MCP?
Oat++ generates MCP tools automatically from Oat++ ApiControllers to allow LLMs to query RESTful web services.
Summary generated from the project's README
About Oat++ MCP server
Connecting LLMs to existing RESTful web services becomes automated by using this implementation for the Oat++ framework. Developers can transform their ApiControllers into functional MCP tools, allowing AI clients to query APIs directly without manual tool definition. This integration supports both STDIO and HTTP SSE transport methods for flexible deployment within different environments.
Setting up the server involves installing the main oatpp module and building the repository using cmake and make. Once configured, you can add specific prompts, resources, and tools to the oatpp::mcp::Server instance. This approach enables an AI to interact with your backend logic through standard Model Context Protocol features like tools, resources, and prompts.
What you can do with it
- 1Automate API tool creationA developer can automatically generate tools from existing ApiControllers to allow an LLM to query their RESTful web services.
- 2Deploy via standard input/outputYou can run the MCP server using the stdioListen method for local communication.
Written from the project's README. Every use case is checked against a quote from it.
Automated checks
Ran Nov 15, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachableoatpp/oatpp-mcp is public and reachablegithub.com/oatpp/oatpp-mcp ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Pass
- Commit or release in the last yearLast commit or release 2024-12-13github.com/oatpp/oatpp-mcp ↗Finding
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHuboatpp-mcp
Anthropic’s Model Context Protocol implementation for Oat++
Read more:
Supported features
Autogenerated tools for API
:tada: oatpp-mcp can automatically generate tools from ApiController so that you can query your API with LLM. :tada:
- Detailed tutorial
- Example project example-crud (branch
add_mcp_server)
Transport
- STDIO
- HTTP SSE
Server features
Build And Install
Pre Requirements
- Install the main oatpp module
Install module
- Clone this repository.
- In the root of the repository run:
mkdir build && cd build cmake .. make install
Examples
Find working example in tests /test/oatpp-mcp/app/ServerTest.cpp
Serve via STDIO
Note: make sure to redirect oatpp logging to a different stream - ex.: to file by providing custom Logger.
/* Create MCP server */
oatpp::mcp::Server server;
/* Add prompts */
server.addPrompt(std::make_shared<prompts::CodeReview>());
/* Add resource */
server.addResource(std::make_shared<resource::File>());
/* Add tools */
server.addTool(std::make_shared<tools::Logger>());
/* Run server */
server.stdioListen();
Serve via SSE
/* Create MCP server */
oatpp::mcp::Server server;
/* Add prompts */
server.addPrompt(std::make_shared<prompts::CodeReview>());
/* Add resource */
server.addResource(std::make_shared<resource::File>());
/* Add tools */
server.addTool(std::make_shared<tools::Logger>());
/* Add SSE controller to your HTTP server router */
router->addController(server.getSseController());
Oat++ MCP questions
Can this server automatically create tools for my API?
Yes, it can automatically generate tools from ApiController so that you can query your API with an LLM.
What transport methods are supported?
The server supports both STDIO and HTTP SSE transports.
What MCP features are implemented?
The implementation includes support for Prompts, Resources, and Tools.