MCP.so
登录

Oatpp MCP Server

@oatpp

基本信息

分类

其他

许可证

Apache-2.0

传输方式

stdio

作者

oatpp

关于 Oatpp MCP Server

Anthropic’s Model Context Protocol implementation for Oat++

Oatpp MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Oatpp MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is oatpp-mcp?

oatpp-mcp is an implementation of Anthropic’s Model Context Protocol (MCP) for the Oat++ C++ web framework. It allows developers to create MCP servers that can automatically generate tools from an ApiController, enabling LLMs to query the API. It is intended for Oat++ users who want to integrate with AI assistants via the MCP standard.

How to use oatpp-mcp?

Build and install the module after installing the main oatpp module, then include it in your project. Use the oatpp::mcp::Server class to add prompts, resources, and tools, and serve via STDIO (server.stdioListen()) or HTTP SSE (attach the SSE controller to your HTTP server router). Redirect Oat++ logging to a different stream when using STDIO.

Key features of oatpp-mcp

  • Autogenerates MCP tools from ApiController for LLM querying.
  • Supports STDIO and HTTP SSE transport.
  • Implements Prompts, Resources, and Tools per the MCP specification.
  • Integrates directly with the Oat++ web framework.

Use cases of oatpp-mcp

  • Expose existing Oat++ REST API endpoints as MCP tools for LLM consumption.
  • Build an MCP server with custom prompts, resources, and tools for AI workflows.
  • Connect LLMs to C++ backend services with minimal manual tool definition.

常见问题

1

What transports does oatpp-mcp support?

STDIO and HTTP SSE.

2

Can it automatically create tools from my API?

Yes, `oatpp-mcp` can automatically generate tools from an `ApiController`, as demonstrated in a detailed tutorial and an example project.

3

What are the build prerequisites?

The main [oatpp](https://github.com/oatpp/oatpp) module must be installed first.

4

Does it support resources and prompts?

Yes, the server supports Prompts, Resources, and Tools as defined in the MCP specification.

5

How do I run the server over STDIO?

Use `server.stdioListen()`. Ensure you redirect Oat++ logging to a separate stream (e.g., to a file) to avoid interfering with the MCP STDIO communication.

评论

其他 分类下的更多 MCP 服务器