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 客户端。
执照
麻省理工学院
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA 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.147MIT
- FlicenseAqualityDmaintenanceA universal MCP server that integrates any API with Claude Desktop by pointing it at a Swagger/OpenAPI spec, automatically generating tools for interaction.342
- Alicense-qualityCmaintenanceTurn any OpenAPI spec into a working MCP server — point it at a spec and Claude instantly gets a tool for every endpoint.MIT
- Alicense-qualityDmaintenanceConverts any OpenAPI/Swagger spec into an MCP server, exposing REST API endpoints as tools for Claude.MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
MCP server for AI access to Swagger by SmartBear.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/janwilmake/openapi-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server