Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YAPI_BASE_URLYesYAPI server URL, e.g., https://yapi.example.com
YAPI_PROJECTSYesProject configuration in format: projectId1:token1,projectId2:token2. You can get the project token from the YAPI project settings page.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
yapi_list_projects

列出所有已配置的 YAPI 项目

yapi_run_auto_test

运行 YAPI 自动化测试

yapi_import_data

导入接口数据到 YAPI

yapi_interface_add

新增接口

yapi_interface_save

保存接口(新增或更新)

yapi_interface_up

更新接口

yapi_interface_get

获取接口详情,可直接传入 YAPI 接口页面 URL 自动解析参数

yapi_interface_list

获取接口列表

yapi_interface_list_menu

获取接口菜单(包含分类和接口列表)

yapi_interface_add_cat

新增接口分类

yapi_interface_get_cat_menu

获取所有接口分类

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

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