auto-api-mcp MCP Server

一个基于 Model Context Protocol (MCP) 的 YApi 接口信息获取工具

Local serverstdioMIT

What is the auto-api-mcp Server?

auto-api-mcp is an MCP project maintained in the twelve-web/auto-api-mcp repository. The maintainer describes its purpose as “一个基于 Model Context Protocol (MCP) 的 YApi 接口信息获取工具”. Read the project documentation for the complete scope.

Installation

The documented npm package is auto-yapi-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares YAPI_TOKEN, BASE_URL, YAPI_COOKIE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the auto-api-mcp Server

{
  "mcpServers": {
    "auto-yapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "auto-yapi-mcp"
      ],
      "env": {
        "YAPI_TOKEN": "YOUR_YAPI_TOKEN",
        "BASE_URL": "https://fed.xxxx.com",
        "YAPI_COOKIE": "your_cookie_value_here"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
YAPI_TOKENDeclared in the maintainer’s client configuration.Check documentation
BASE_URLDeclared in the maintainer’s client configuration.Check documentation
YAPI_COOKIEDeclared in the maintainer’s client configuration.Check documentation