OpenAPI
OpenAPI MCP 服务器
Claude/Cursor 的模型上下文协议 (MCP) 服务器,支持通过 oapis.org 搜索和探索 OpenAPI 规范。
演示: https ://x.com/janwilmake/status/1903497808134496583
HN 主题: https://news.ycombinator.com/item? id=43447278
OpenAPI搜索: https://github.com/janwilmake/openapisearch
开放源代码编程接口 (OAPI): https://github.com/janwilmake/oapis
MCP 通过以下 3 个步骤进行工作:
它找出您需要的 openapi 标识符
它要求用简单的语言对此进行总结
它确定您需要哪些端点,并检查它们的具体工作方式(再次用简单的语言)
重要提示:OpenAPI MCP 已找到新所有者,并已从 v1.2 迁移至 v2,其工作方式与之前的版本不同。您仍然可以访问 v2.0.0 之前的任何版本,其 README 在此处
OpenAPI MCP v2 仍在开发中,专注于探索和提供 API 上下文。由于 MCP 的身份验证问题尚未解决,它不支持直接将端点作为工具执行。不过,它非常适合代码生成!
预计会有 bug。欢迎贡献者、 DM
特征
获取任何 OpenAPI 规范的概述
检索有关特定 API 操作的详细信息
支持 JSON 和 YAML 格式
使用 Claude Desktop 和 Cursor 进行测试
Related MCP server: mcp-api-gateway
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 openapi-mcp-server:
npx -y @smithery/cli install @janwilmake/openapi-mcp-server --client claude通过 npx 安装
运行并按照说明进行操作:
npx openapi-mcp-server@latest initClaude 中的用法
安装完成后,您可以要求 Claude:
“查找有关 Stripe API 的信息”
“解释如何使用 GitHub API 的存储库端点”
Claude 将使用 MCP 服务器来执行以下操作:
首先了解所请求 API 的概况
然后根据需要检索特定的操作详细信息
要求
Node.js >= 16.17.0
Claude Desktop、Cursor 或任何其他 MCP 客户端。
执照
麻省理工学院
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA command-line tool that transforms any OpenAPI service into a Model Context Protocol (MCP) server, enabling seamless integration with AI agents and tools that support the MCP specification.8 npm7MIT
- AlicenseAqualityDmaintenanceA universal MCP server that integrates any API with Claude Desktop by pointing it at a Swagger/OpenAPI spec, automatically generating tools for interaction.344MIT
- AlicenseNot gradedqualityDmaintenanceTurn any OpenAPI spec into a working MCP server — point it at a spec and Claude instantly gets a tool for every endpoint.MIT
- AlicenseNot gradedqualityDmaintenanceConverts any OpenAPI/Swagger spec into an MCP server, exposing REST API endpoints as tools for Claude.MIT