Yapi Mcp Server

Access YAPI interface details for seamless integration of YAPI projects and enhance development workflows. Provides real-time updates through server-sent events (SSE).

Author

Yapi Mcp Server logo

devilMing

No License

Quick Info

GitHub GitHub Stars 1
NPM Weekly Downloads 1318
Tools 1
Last Updated 6/19/2025

Tags

yapi developer workflows developer tools yapi interface yapi projects

YAPI MCP Server

This is a Model Context Protocol (MCP) server that provides access to YAPI interface details.

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn
  • YAPI instance
  • YAPI project ID and token

Installation

  1. Clone this repository
  2. Install dependencies:
npm install
  1. Create a .env file in the root directory with the following variables:
YAPI_BASE_URL=http://your-yapi-instance.com
YAPI_TOKEN=your-token-here
YAPI_PROJECT_ID=your-project-id

Usage

Start the server:

npm start

The server can be configured in your Claude Desktop config file:

{
  "mcpServers": {
    "yapi": {
      "type": "SSE",
      "url": "http://localhost:${your .env PORT}/sse"
    }
  }
}