oatpp-mcp
by oatpp
oatpp-mcp is an implementation of Anthropic's Model Context Protocol for the Oat++ framework. It allows you to connect your Oat++ APIs with LLMs by automatically generating tools from your ApiController.
Last updated: N/A
What is oatpp-mcp?
oatpp-mcp is a module for the Oat++ web framework that implements Anthropic's Model Context Protocol (MCP). It enables seamless integration of Oat++ APIs with Large Language Models (LLMs) by providing tools for LLMs to interact with your API.
How to use oatpp-mcp?
To use oatpp-mcp, you need to install the oatpp module first. Then, clone the oatpp-mcp repository, build it using CMake, and install it. After installation, you can create an MCP server, add prompts, resources, and tools, and then run the server via STDIO or integrate the SSE controller with your existing HTTP server router. Refer to the provided examples and the detailed tutorial for more information.
Key features of oatpp-mcp
Autogenerated tools for API from ApiController
STDIO transport
HTTP SSE transport
Prompts support
Resources support
Tools support
Use cases of oatpp-mcp
Connecting Oat++ REST APIs to LLMs
Enabling LLMs to query and interact with your API
Generating tools for LLMs to understand and use your API
Building applications that leverage LLMs to access and manipulate data through your Oat++ API
FAQ from oatpp-mcp
What is Model Context Protocol (MCP)?
What is Model Context Protocol (MCP)?
MCP is a protocol that allows LLMs to interact with external systems and APIs.
What is Oat++?
What is Oat++?
Oat++ is a modern C++ web framework for building high-performance web applications.
How do I install oatpp-mcp?
How do I install oatpp-mcp?
Clone the repository, create a build directory, run CMake, and then make install.
What transport options are supported?
What transport options are supported?
STDIO and HTTP SSE are supported.
Where can I find examples?
Where can I find examples?
Examples are available in the tests directory (/test/oatpp-mcp/app/ServerTest.cpp
) and the example-crud
project (branch add_mcp_server
).