·swagger-to-mcp
</>

swagger-to-mcp

mcp-com-ai/api-to-mcp-skills

使用 HAPI CLI 将 OpenAPI v3 规范转换为 MCP 服务器。支持本地、Docker 和 Cloudflare Workers 部署。需要零代码。当您需要将 API 功能公开为 MCP 工具或将基于 API 的服务部署到多个托管平台时使用。

6安装·0热度·@mcp-com-ai

安装

$npx skills add https://github.com/mcp-com-ai/api-to-mcp-skills --skill swagger-to-mcp

SKILL.md

Convert OpenAPI v3 specifications into fully functional MCP (Model Context Protocol) servers using HAPI CLI — no code required.

Headless Mode Use --headless flag when the MCP server proxies requests to an existing backend API. Without this flag, HAPI serves the OpenAPI spec documentation UI.

Streamable HTTP Transport HAPI uses Streamable HTTP (not stdio). MCP clients connect via HTTP POST to /mcp endpoint. SSE is supported for streaming responses.

使用 HAPI CLI 将 OpenAPI v3 规范转换为 MCP 服务器。支持本地、Docker 和 Cloudflare Workers 部署。需要零代码。当您需要将 API 功能公开为 MCP 工具或将基于 API 的服务部署到多个托管平台时使用。 来源:mcp-com-ai/api-to-mcp-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/mcp-com-ai/api-to-mcp-skills --skill swagger-to-mcp
分类
</>开发工具
认证
收录时间
2026-02-17
更新时间
2026-02-18

快速解答

什么是 swagger-to-mcp?

使用 HAPI CLI 将 OpenAPI v3 规范转换为 MCP 服务器。支持本地、Docker 和 Cloudflare Workers 部署。需要零代码。当您需要将 API 功能公开为 MCP 工具或将基于 API 的服务部署到多个托管平台时使用。 来源:mcp-com-ai/api-to-mcp-skills。

如何安装 swagger-to-mcp?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mcp-com-ai/api-to-mcp-skills --skill swagger-to-mcp 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/mcp-com-ai/api-to-mcp-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-17

相关 Skills