mcp-server-yapi MCP Server

mcp-server-yapi 是一个为 YApi 设计的 MCP 服务器。它将 YApi 的常用功能封装为一系列工具,允许大语言模型(LLM)通过自然语言与你的 YApi 平台进行交互,实现接口管理自动化。

Local serverstdio

What is the mcp-server-yapi MCP Server?

mcp-server-yapi source profile. From the maintainer documentation: “mcp-server-yapi 是一个为 YApi 设计的 MCP 服务器。它将 YApi 的常用功能封装为一系列工具,允许大语言模型(LLM)通过自然语言与你的 YApi 平台进行交互,实现接口管理自动化。”

Installation

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

Configuration values

The example declares YAPI_BASE_URL, YAPI_TOKEN, MCP_DEBUG_CONSOLE. 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-server-yapi MCP Server

{
  "mcpServers": {
    "mcp-server-yapi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-yapi"
      ],
      "env": {
        "YAPI_BASE_URL": "YAPI服务地址,例:https://xxx.yyy.com",
        "YAPI_TOKEN": "YOUR_YAPI_TOKEN",
        "MCP_DEBUG_CONSOLE": "false"
      }
    }
  }
}

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
MCP_DEBUG_CONSOLEDeclared in the maintainer’s client configuration.Check documentation