mcp-swagger-reader
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SWAGGER_PROJECTS | No | JSON string of an array of project objects, each with name and swaggerUrl. Example: '[{"name":"my-api","swaggerUrl":"http://example.com/swagger.json"}]' |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_swagger_projectC | 添加一个项目的Swagger/OpenAPI配置 |
| list_swagger_projectsA | 列出所有已配置的Swagger项目 |
| get_api_endpointsA | 获取指定项目的所有API接口列表 |
| get_api_detailC | 获取指定接口的详细信息 |
| get_schemasB | 获取指定项目的所有数据模型/Schemas |
| search_apisB | 根据关键词搜索API接口 |
| reload_swaggerB | 重新加载项目的Swagger规范,同时清除类型缓存 |
| clear_type_cacheA | 清除指定项目的类型缓存,强制重新生成 |
| generate_ts_by_endpointC | 根据 API 接口路径和方法生成 TypeScript 类型(请求参数、Body、响应),作为模型输入,可以进一步调整并输出 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/momei-LJM/mcp-swagger-reader'
If you have feedback or need assistance with the MCP directory API, please join our Discord server