Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SWAGGER_PROJECTSNoJSON 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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