YAPI MCP Server

A Model Context Protocol (MCP) server for interacting with a YAPI instance. This server enables LLMs to retrieve API documentation details from your YAPI projects.

Local serverstdioMIT

What is the YAPI MCP Server?

YAPI MCP Server is an MCP project maintained in the yyvanyang/yapi-mcp-server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server for interacting with a YAPI instance. This server enables LLMs to retrieve API documentation details from your YAPI projects”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using mcp-server-yapi. 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_URL, YAPI_PROJECT_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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
yapi_list_interfaces
yapi_get_interface_details
yapi_search_interfaces

How to install the YAPI MCP Server

{
  "mcpServers": {
    "yapi": {
      "command": "mcp-server-yapi",
      "env": {
        "YAPI_URL": "<your-yapi-url>",
        "YAPI_PROJECT_TOKEN": "YOUR_YAPI_PROJECT_TOKEN"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
YAPI_URLDeclared in the maintainer’s client configuration.Yes
YAPI_PROJECT_TOKENDeclared in the maintainer’s client configuration.Optional