Auto Api MCP Server

yapi-mcp - YApi接口信息获取工具,支持MCP协议

Local serverstdioTypeScript

What is the Auto Api MCP Server?

Auto Api MCP lets Claude, Cursor and other MCP clients work with Auto Api MCP directly. yapi-mcp - YApi接口信息获取工具,支持MCP协议.

What Auto Api MCP does

  1. 获取接口列表: 使用 yapi_get_interfaces 获取分类下的所有接口 2. 获取接口详情: 使用 yapi_get_interface_detail 获取详细信息 3. 生成类型定义: 基于返回的请求/响应体生成 TypeScript 类型

Practical notes

  • Maintained by twelve-web, written in TypeScript.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Auto Api MCP Server

{
  "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.

Configuration

VariableDescriptionRequired
YAPI_TOKENCredential the server authenticates with.Yes
BASE_URLEndpoint or connection string the server talks to.Yes
YAPI_COOKIEConfiguration value read at startup.Optional

Frequently asked questions

yapi-mcp - YApi接口信息获取工具,支持MCP协议 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.