Skip to main content
Glama
meilSop
by meilSop

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YAPI_TOKENYesYApi 项目级 Token,在项目设置中获取
YAPI_BASE_URLYesYApi 服务根地址,如 http://127.0.0.1:3000
YAPI_PROJECT_IDNo默认项目 ID,可选,可避免每次调用时手动传入
RUN_MCP_TIMEOUT_MSNoMCP 运行超时时间(毫秒)
START_MCP_TIMEOUT_MSNoMCP 启动超时时间(毫秒)

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
get_api_listA

获取指定 YApi 项目的完整接口列表。如果不传 projectId,则优先使用环境变量 YAPI_PROJECT_ID。

yapi_list_interfacesB

获取指定 YApi 项目的完整接口列表。如果不传 projectId,则优先使用环境变量 YAPI_PROJECT_ID。

get_api_detailA

根据接口 ID 获取 YApi 接口详情,包含请求信息、响应结构等完整内容。

yapi_get_interface_detailB

根据接口 ID 获取 YApi 接口详情,包含请求信息、响应结构等完整内容。

search_apiB

根据关键字搜索 YApi 接口,使用 YApi 内置搜索 API,匹配接口名称和路径。

yapi_search_interfacesB

根据关键字搜索 YApi 接口,使用 YApi 内置搜索 API,匹配接口名称和路径。

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/meilSop/mcp-yapi-server'

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