Mcp Yapi Server MCP Server

基于 Model Context Protocol (MCP) 的 YApi 集成服务器,在 Cursor 等支持 MCP 的编辑器中直接查询 YApi API 文档。

Local serverstdioMIT

What is the Mcp Yapi Server MCP Server?

Mcp Yapi Server is an MCP project maintained in the tstonelee/mcp-yapi-server repository. The maintainer describes its purpose as “基于 Model Context Protocol (MCP) 的 YApi 集成服务器,在 Cursor 等支持 MCP 的编辑器中直接查询 YApi API 文档。”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares YAPI_BASE_URL, YAPI_TOKEN. 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 Mcp Yapi Server MCP Server

{
  "mcpServers": {
    "yapi": {
      "command": "node",
      "args": [
        "./node_modules/mcp-yapi-server/dist/index.js"
      ],
      "env": {
        "YAPI_BASE_URL": "https://yapi.example.com",
        "YAPI_TOKEN": "YOUR_YAPI_TOKEN"
      }
    }
  }
}

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

Configuration

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