YAPI MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YAPI_TOKEN | Yes | Your YAPI token | |
| YAPI_BASE_URL | Yes | The base URL of your YAPI server |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| yapi_get_projectB | 获取 YAPI 项目的基本信息,包括项目名称、描述、成员、环境配置等 |
| yapi_add_categoryC | 在 YAPI 项目中新增接口分类 |
| yapi_get_category_menuC | 获取 YAPI 项目的所有接口分类列表 |
| yapi_get_interfaceB | 获取 YAPI 接口的详细信息,包括请求参数、响应数据等完整定义 |
| yapi_list_interfaces_by_catB | 获取某个分类下的所有接口列表,支持分页 |
| yapi_add_interfaceC | 在 YAPI 中新增一个接口定义 |
| yapi_update_interfaceC | 更新 YAPI 接口的完整定义(智能判断新增或更新) |
| yapi_get_interface_listC | 根据条件获取接口列表,可按项目或分类筛选 |
| yapi_update_interface_basicB | 更新 YAPI 接口的基本信息(仅更新指定字段) |
| yapi_get_interface_cat_listC | 获取项目的完整接口菜单树(包含所有分类和接口) |
| yapi_import_dataB | 服务端数据导入,支持导入 Swagger、HAR、Postman 等格式的接口数据到 YAPI 项目 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Several tools have overlapping purposes: yapi_get_category_menu, yapi_get_interface_cat_list, and yapi_get_interface_list all retrieve interface lists or menus, causing potential confusion. The update tools are also similar, though descriptions clarify the distinction between basic and full updates.
All tool names follow a consistent yapi_verb_noun pattern (e.g., yapi_get_category_menu, yapi_update_interface_basic, yapi_import_data), with clear and predictable naming.
With 11 tools, the set is well-scoped for managing YAPI projects, covering project info, categories, interfaces, and imports without excessive redundancy.
The tool surface lacks deletion operations for interfaces and categories, and there is no tool to retrieve a single category or menu item directly. While core CRUD is partially covered, notable gaps exist that could hinder full project management.