Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP 服务端口(SSE 模式使用) (HTTP service port for SSE mode)3388
YAPI_TOKENYesYApi 项目 Token,格式为 projectId:token,支持多个项目以逗号分隔 (YApi project tokens, format projectId:token, supports multiple projects comma-separated)
YAPI_BASE_URLYesYApi 服务器基础 URL (YApi server base URL)
YAPI_CACHE_TTLNo缓存时效(分钟) (Cache expiration time in minutes)10
YAPI_LOG_LEVELNo日志级别:debug, info, warn, error, none (Log level: debug, info, warn, error, none)info

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/lzsheng/Yapi-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server