yapi-mcp - YApi接口信息获取工具,支持MCP协议
Auto api mcp mcp server lets Claude, Cursor and other MCP clients work with Auto Api MCP directly. yapi-mcp - YApi接口信息获取工具,支持MCP协议.
yapi_get_interfaces 获取分类下的所有接口 2. 获取接口详情: 使用 yapi_get_interface_detail 获取详细信息 3. 生成类型定义: 基于返回的请求/响应体生成 TypeScript 类型The server is distributed via npm as npm, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 3 environment variables: YAPI_TOKEN, BASE_URL, YAPI_COOKIE. Keep credentials in your client's env block or a secrets manager rather than committing them.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Auto Api MCP sits in that group. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
{
"mcpServers": {
"auto-api": {
"command": "npx",
"args": ["-y", "npm"],
"env": {
"YAPI_TOKEN": "your-value",
"BASE_URL": "your-value",
"YAPI_COOKIE": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| YAPI_TOKEN | Credential the server authenticates with. | Yes |
| BASE_URL | Endpoint or connection string the server talks to. | Yes |
| YAPI_COOKIE | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.