by oatpp
Implementation of the Model Context Protocol for Oat++ that enables automatic generation of LLM‑compatible tools, prompts, and resources with transport options via STDIO or HTTP Server‑Sent Events.
Provides a C++ library that brings Model Context Protocol capabilities to Oat++ applications, allowing LLMs to interact with API controllers, invoke generated tools, and access defined resources.
git clone https://github.com/oatpp/oatpp-mcp.git
cd oatpp-mcp
mkdir build && cd build
cmake ..
make install
oatpp::mcp::Server server;
server.addPrompt(std::make_shared<prompts::CodeReview>());
server.addResource(std::make_shared<resource::File>());
server.addTool(std::make_shared<tools::Logger>());
server.stdioListen();
server.getSseController()
to your router.ApiController
enabling LLM queries.tests/oatpp-mcp/app/ServerTest.cpp
and the example‑crud
branch on GitHub.Anthropic’s Model Context Protocol implementation for Oat++
Read more:
:tada: oatpp-mcp
can automatically generate tools from ApiController
so that you can query your API with LLM. :tada:
add_mcp_server
)mkdir build && cd build
cmake ..
make install
Find working example in tests /test/oatpp-mcp/app/ServerTest.cpp
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();
/* 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());
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.