mcp-yapi-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YAPI_TOKEN | Yes | Your YApi authentication token | |
| YAPI_BASE_URL | Yes | The base URL of your YApi server (e.g., https://yapi.example.com) |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| yapi_get_interface_by_urlB | 通过YApi接口URL获取详细信息。支持直接粘贴YApi链接,如: https://yapi.example.com/project/100/interface/api/12345 |
| yapi_get_interfaceC | 获取YApi接口的详细信息,包括请求参数、响应参数、请求示例等 |
| yapi_get_projectC | 获取YApi项目的基本信息,包括项目名称、描述、成员等 |
| yapi_list_interfacesC | 获取YApi项目或分类下的接口列表 |
| yapi_search_interfaceB | 在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 5 tools
The tools are mostly distinct with clear purposes: get_interface, get_interface_by_url, get_project, list_interfaces, and search_interface. However, yapi_get_interface and yapi_get_interface_by_url could cause some confusion as both retrieve interface details, though the latter specifies a URL-based method. The descriptions help differentiate them, but there is minor overlap in functionality.
All tool names follow a consistent yapi_verb_noun pattern using snake_case, such as yapi_get_interface, yapi_list_interfaces, and yapi_search_interface. This predictability makes it easy for agents to understand and use the tools without confusion about naming conventions.
With 5 tools, this server is well-scoped for interacting with YApi, covering key operations like retrieving, listing, and searching interfaces and projects. The count is appropriate, avoiding bloat while providing essential functionality for the domain.
The tool set covers core read operations for YApi, including getting, listing, and searching interfaces and projects. However, there are minor gaps, such as no tools for creating, updating, or deleting interfaces or projects, which might limit full lifecycle management. Agents can still perform basic queries effectively.