Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YAPI_TOKEN | Yes | YApi access token (Login to YApi → Profile Settings → Copy Token) | |
| YAPI_BASE_URL | Yes | Your YApi server URL |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| yapi-get-interface | 根据接口ID获取接口详情 |
| yapi-get-interface-by-url | 根据YApi URL获取接口详情,支持格式如:http://localhost:40001/project/11/interface/api/23 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |