About YAPI MCP Server
YAPI MCP Server connects MCP clients to interface details in a YAPI instance. It requires the instance URL, project ID, and token to run.
Key features
- 01Access YAPI interface details
- 02Configure a YAPI instance
- 03Set project ID and token
Use cases
- 01Retrieving interface details from a YAPI project
- 02Connecting a local YAPI instance to Claude Desktop
MCP support
Provides MCP clients with access to YAPI interface details. The README shows an SSE endpoint configuration for Claude Desktop.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEYAPI 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
- Clone this repository
- Install dependencies:
npm install
- Create a
.envfile 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"
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.