Mcp-Swagger-Server by zaizaizhao
31 score
A Model Context Protocol (MCP) server that converts OpenAPI/Swagger specifications to MCP format, enabling AI assistants to interact with REST APIs through standardized protocol.
Ranked #6659 out of 10163 indexed tools.
Is this your tool? Claim this listing to add maintainer context, get a verified badge, and unlock analytics.
Claim listing → Signal Breakdown
Installs 27
Freshness 1mo ago
Issue Health 14%
Stars 62
Platform Breadth 1 platform
Contributors 2
Description Detailed
How to Improve
Freshness high impact
Issue Health high impact
Platforms medium impact
Supported Platforms
From the README
# MCP Swagger Server(mss) <div align="center"> **将 OpenAPI/Swagger 规范转换为 Model Context Protocol (MCP) 格式的工具** 零配置将您的 REST API 转换为 AI 可调用的工具 [🚀 快速开始](#快速开始) • [📖 使用指南](#使用指南) • [🛠️ 开发](#开发) **Languages**: [English](README_EN.md) | 中文 </div> --- ## 🎬 快速演示 ## 🎯 项目截图 ## 🎯 项目简介 MCP Swagger Server 是一个将 OpenAPI/Swagger 规范转换为 Model Context Protocol (MCP) 格式的工具。 ### 📦 项目结构 ``` mcp-swagger-server/ ├── packages/ │ ├── mcp-swagger-server/ # 🔧 核心 MCP 服务器 (可用) │ ├── mcp-swagger-parser/ # 📝 OpenAPI 解析器 (可用) │ ├── mcp-swagger-ui/ # 🎨 Web 界面 (开发中) │ └── mcp-swagger-api/ # 🔗 REST API 后端 (可用) └── scripts/ # 🔨 构建脚本 ``` ### ✨ 核心特性 - **🔄 零配置转换**: 输入 OpenAPI 规范,立即获得 MCP 工具 - **🎯 渐进式命令行**: 提供逐步引导的命令行界面,方便用户配置 - **🔌 多传输协议**: 支持 SSE、Streamable 和 Stdio 传输 - **🔐 安全认证**: 支持 Bearer Token 认证保护 API 访问 ## 🚀 快速开始 ### 环境要求 - Node.js ≥ 20.0.0 - pnpm ≥ 8.0.0 (推荐) ### 安装 ```bash npm i mcp-swagger-server -g ``` ### 命令说明 - `mss`:交互式终端界面(默Read full README on GitHub →