技能潮 SkillTide 提交收录
官方说明13 个来源MCP 服务8 天前
ckanthony/openapi-mcp

ckanthony/openapi-mcp

🏎️ ☁️ - Access any API through its existing OpenAPI documentation
在 GitHub 查看 ↗直链 · 无中转页
官方说明🏎️ ☁️ - OpenAPI-MCP: Dockerized MCP Server to allow your AI agent to access any API with existing api docs.
配置模板(请按你的客户端调整)
claude mcp add openapi-mcp -- npx -y openapi-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
198 ★ · ckanthony/openapi-mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 13 个来源列出
评分构成
综合分 1,303 · 198 ★ · 13 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 ckanthony/openapi-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

OpenAPI-MCP: Dockerized MCP Server to allow your AI agent to access any API with

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**Generate MCP tool definitions directly from a Swagger/OpenAPI specification file.**
OpenAPI-MCP is a dockerized MCP server that reads a swagger.json or openapi.yaml file and generates a corresponding Model Context Protocol (MCP) toolset. This allows MCP-compatible clients like Cursor to interact with APIs described by standard OpenAPI specifications. Now you can enable your AI agent to access any API by simply providing its OpenAPI/Swagger specification - no additional coding required.
Table of Contents
- Why OpenAPI-MCP?
- Features
- Installation
- Using the Pre-built Docker Hub Image (Recommended)
- Building Locally (Optional)
- Running the Weatherbit Example (Step-by-Step)
- Command-Line Options
- Environment Variables
Demo
Run the demo yourself: Running the Weatherbit Example (Step-by-Step)
Why OpenAPI-MCP?
- **Standard Compliance:** Leverage your existing OpenAPI/Swagger documentation.
- **Automatic Tool Generation:** Create MCP tools without manual configuration for each endpoint.
- **Flexible API Key Handling:** Securely manage API key authentication for the proxied API without exposing keys to the MCP client.
- **Local & Remote Specs:** Works with local specification files or remote URLs.
- **Dockerized Tool:** Easily deploy and run as a containerized service with Docker.
Features
- **OpenAPI v2 (Swagger) & v3 Support:** Parses standard specification formats.
- **Schema Generation:** Creates MCP tool schemas from OpenAPI operation parameters and request/response definitions.
- **Secure API Key Management:**
- Injects API keys into requests (header, query, path, cookie) based on command-line configuration.
- Loads API keys directly from flags (--api-key), environment variables (--api-key-env), or .env files located alongside local specs.
- Keeps API keys hidden from the end MCP client (e.g., the AI assistant).
- **Server URL Detection:** Uses server URLs from the spec as the base for tool interactions (can be overridden).
- **Filtering:** Options to include/exclude specific operations or tags (--include-tag, --exclude-tag, --include-op, --exclude-op).
- **Request Header Injection:** Pass custom headers (e.g., for additional auth, tracing) via the REQUEST_HEADERS environment variable.
Installation
Docker
The recommended way to run this tool is via Docker.
Using the Pre-built Docker Hub Image (Recommended)
Alternatively, you can use the pre-built image available on Docker Hub.
1. **Pull the Image:**
2. **Run the Container:**
Follow the docker run examples above, but replace openapi-mcp:latest with ckanthony/openapi-mcp:latest.
Building Locally (Optional)
1. **Build the Docker Image Locally:**
2. **Run the Container:**
You need to provide the OpenAPI specification and any necessary API key configuration when running the container.
* **Example 1: Using a local spec file and .env file:**
- Create a directory (e.g., ./my-api) containing your openapi.json or swagger.yaml.
- If the API requires a key, create a .env file in the *same directory* (e.g., ./my-api/.env) with API_KEY=your_actual_key (replace API_KEY if your --api-key-env flag is different).
*(Adjust --spec, --api-key-env, --api-key-name, --api-key-loc, and -p as needed.)*
* **Example 2: Using a remote spec URL and direct environment variable:**
* **Key Docker Run Options:**
* -p :8080: Map a port on your host to the container's default port 8080.
* --rm: Automatically remove the container when it exits.
* -v : : Mount a local directory containing your spec into the container. Use absolute paths or $(pwd)/.... Common container path: /app/spec.
* --env-file : Load environment variables from a local file (for API keys, etc.). Path is on the host.
来源
awesome · https://github.com/ckanthony/openapi-mcp
按领域浏览
MCP 服务
Traction
198 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引