yapi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Set to 1 to emit logs to stderr | |
| YAPI_TOKEN | Yes | Format projectId:tokenValue, from the YApi project Settings → token | |
| YAPI_BASE_URL | Yes | YApi host, e.g. http://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
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_list_projectsA | 列出当前 token 配置的 YApi 项目信息(项目 ID、名称、描述)。无参数。 |
| yapi_get_categoriesB | 获取指定项目的接口分类列表(分类 ID、名称,以及每个分类下的接口概要)。 |
| yapi_search_apisA | 在项目内按关键词搜索接口(匹配 title/path,可选按 method 过滤),返回接口列表。 |
| yapi_get_api_detailsA | 获取接口详细信息(请求参数、请求头、请求体类型与结构、响应体等)。 |
| yapi_save_apiA | 创建或更新 YApi 接口。带 api_id 走更新(/api/interface/up),不带走创建(/api/interface/add)。至少需提供 project_id 与 catid。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/hizml/yapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server