YAPI
An MCP server for accessing YAPI interface details, configured via environment variables.
Install
Install and configure the MCP from https://github.com/devilMing/yapi-mcp-server now. Follow the repository's installation instructions, ask me for anything you can't complete yourself, and verify its tools load.README
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
- 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"
}
}
}
Related servers
Everythingmodelcontextprotocol91KReference / test server with prompts, resources, and toolsFetchmodelcontextprotocol91KWeb content fetching and conversion for efficient LLM usageFilesystemmodelcontextprotocol91KSecure file operations with configurable access controlsGitmodelcontextprotocol91KTools to read, search, and manipulate Git repositories
