
oatpp-mcp
Anthropic’s Model Context Protocol implementation for Oat++
3 years
Works with Finder
3
Github Watches
2
Github Forks
34
Github Stars
oatpp-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());
相关推荐
I find academic articles and books for research and literature reviews.
Teach you all the details related to YouTube. Solve all your YouTube-related issues.
Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Anime-inspired editor adept at rewriting with new style, keeping core content.
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
Mirror ofhttps://github.com/suhail-ak-s/mcp-typesense-server
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Reviews

user_XAeNQs4G
Awesome MCPs by kewin1807 is an exceptional server application that truly delivers on its promise. I've had the pleasure of using it and it's indeed streamlined my processes with impressive efficiency. The setup is straightforward, and the user experience is seamless. Highly recommend checking it out! For more details, visit https://mcp.so/server/awesome-mcps/kewin1807.