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) |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| yapi_get_interface_by_url | 通过YApi接口URL获取详细信息。支持直接粘贴YApi链接,如: https://yapi.example.com/project/100/interface/api/12345 |
| yapi_get_interface | 获取YApi接口的详细信息,包括请求参数、响应参数、请求示例等 |
| yapi_get_project | 获取YApi项目的基本信息,包括项目名称、描述、成员等 |
| yapi_list_interfaces | 获取YApi项目或分类下的接口列表 |
| yapi_search_interface | 在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 | |