Swagger Viewer
About
这是一个用于 Cursor 编辑器的 MCP 工具,可以帮助你快速查看和使用项目 Swagger API 文档。
Details
- Author
- xiezhuo0513
- Downloads
- 167
- Categories
- Developer Tools
Jump to
- Initialize Swagger tool and load configuration
- Search API interfaces
- Generate interface call code
- Get all available endpoints
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Swagger ViewerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Configure your MCP client with the command and arguments provided (e.g., cmd /c npx -y @xc_angelwatch/swagger-viewer), then invoke the exposed tools: mcp_swagger_initialize, mcp_swagger_search, mcp_swagger_generate_code, and mcp_swagger_get_all_endpoints.
mcp_swagger_initialize
初始化 Swagger 工具并加载配置
mcp_swagger_search
搜索 API 接口
mcp_swagger_generate_code
生成接口调用代码
mcp_swagger_get_all_endpoints
获取所有可用接口
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"swagger viewer": {
"swagger-viewer": {
"command": "npx",
"args": [
"-y",
"@xc_angelwatch/swagger-viewer"
]
}
}
}
}
McpServers
{
"swagger-viewer": {
"command": "npx",
"args": [
"-y",
"@xc_angelwatch/swagger-viewer"
]
}
}
{
"mcpServers": {
"swagger-viewer": {
"command": "cmd",
"swagger-viewer": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@xc_angelwatch/swagger-viewer"]
},
"exports": {
"mcp_swagger_initialize": {
"description": "初始化 Swagger 工具并加载配置"
},
"mcp_swagger_search": {
"description": "搜索 API 接口"
},
"mcp_swagger_generate_code": {
"description": "生成接口调用代码"
},
"mcp_swagger_get_all_endpoints": {
"description": "获取所有可用接口"
}
}
}
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





