Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YAPI_HOSTYesYApi service address, only protocol and domain, no /api
YAPI_COOKIEYesFull cookie string for YApi access
YAPI_LOG_FILENoOptional log file path. Defaults to ~/.yapi-mcp/logs/yapi-mcp.log

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
yapi_get_projectA

获取 YApi 项目详情,包括基本路径、环境和成员等信息

yapi_get_interfaceA

根据接口 ID 获取方法、路径、描述、入参和出参;可选返回原始全量数据

yapi_list_categoriesA

获取项目下的接口分类列表

yapi_list_interfacesB

分页获取项目下的接口列表,可按状态或标签筛选

yapi_list_category_interfacesA

分页获取指定分类下的接口列表,可按状态或标签筛选

yapi_search_interfaceA

根据标题、路径或 HTTP 方法搜索项目中的 YApi 接口,不区分大小写

yapi_create_categoryA

在项目中创建接口分类

yapi_create_interfaceB

创建 YApi 接口,支持请求参数、请求体、响应体、状态和标签

yapi_update_interfaceA

按接口 ID 更新 YApi 接口;只传需要修改的字段

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/frontzhm/yapi-mcp-bridge'

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