openapi-mcp-server
Dynamically creates MCP tools and resources from OpenAPI specifications, with a React admin panel for managing configurations, monitoring, and invoking resources.
README
OpenAPI MCP Server
基于 OpenAPI specification 动态创建 MCP tools/resources,并提供 React 管理台创建、刷新、启停、预览和调用 MCP Resources。
本地运行
make install
make dev-backend # 管理 API: http://127.0.0.1:8001
make dev-frontend # 管理台: http://127.0.0.1:5173
make dev-mcp # MCP stdio server
OpenAPI API 不随本项目打包,地址在管理台创建 MCP Resource 时填写。
Docker 部署
make docker-build
make docker-up
访问:
http://127.0.0.1:58001
容器内服务端口为 8001,按项目规则映射到宿主机 58001。SQLite 数据通过 docker/volume/sqlite/ 持久化。
Agent 接入 MCP
管理台用于配置 OpenAPI URL,Agent 连接 MCP 服务端点:
http://127.0.0.1:58001/mcp
MCP transport 使用 Streamable HTTP。Agent 侧配置示例:
{
"mcpServers": {
"openapi-mcp": {
"url": "http://127.0.0.1:58001/mcp",
"transport": "http"
}
}
}
配置为启用且状态为 active 的 MCP Resource 会动态暴露为 tools/resources。
验证
make test
make lint
make build
本地 SQLite 默认数据文件为 backend/data/openapi_mcp.db,Docker SQLite 数据文件为 docker/volume/sqlite/openapi_mcp.db,二者均不纳入版本控制。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.