YAPI MCP PRO MCP Server

Model Context Protocol server for YApi integration - Professional YApi interface management tool

Local serverstdio

What is the YAPI MCP PRO MCP server?

Connect YAPI MCP PRO to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Model Context Protocol server for YApi integration - Professional YApi interface management tool. The yapi mcp pro mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • normal — 普通模式
  • good — 智能合并
  • merge — 完全覆盖
  • markdown — Markdown文档
  • swagger — Swagger格式

Credentials and setup notes

Configuration is passed through the environment: YAPI_BASE_URL, YAPI_TOKEN, YAPI_LOG_LEVEL, YAPI_CACHE_TTL, YAPI_URL, PROJECT_ID, YAPI_GROUP_ID, YOUR_GROUP_ID. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

The server ships on npm as yapi-mcp-pro, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. YAPI MCP PRO's toolset — normal, good, merge and 2 more — is a fair guide to whether it matches your workflow. It is maintained by guocong-bincai; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
normal普通模式
good智能合并
merge完全覆盖
markdownMarkdown文档
swaggerSwagger格式

How to install the YAPI MCP PRO MCP server

```json
{
  "mcpServers": {
    "yapi-mcp-pro": {
      "command": "npx",
      "args": ["-y", "yapi-mcp-pro"],
      "env": {
        "YAPI_BASE_URL": "http://your-yapi-server.com",
        "YAPI_TOKEN": "_yapi_token=您的真实token; _yapi_uid=您的用户ID",
        "NODE_ENV": "cli"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
YAPI_BASE_URLEndpoint or connection string the server talks to.Yes
YAPI_TOKENCredential the server authenticates with.Yes
YAPI_LOG_LEVELConfiguration value read at startup.Optional
YAPI_CACHE_TTLConfiguration value read at startup.Optional
YAPI_URLEndpoint or connection string the server talks to.Yes
PROJECT_IDConfiguration value read at startup.Optional
YAPI_GROUP_IDConfiguration value read at startup.Optional
YOUR_GROUP_IDConfiguration value read at startup.Optional

Example prompts to try

  • Use YAPI MCP PRO to normal.
  • Use YAPI MCP PRO to good.
  • Use YAPI MCP PRO to merge.

Frequently asked questions

It connects YAPI MCP PRO to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (normal, good, merge, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with YAPI MCP PRO directly.