
YAPI MCP Server
โ 2from devilMing
An MCP server for accessing YAPI interface details, configured via environment variables.
๐ฅ๐ฅ๐ฅโ VerifiedFreeQuick setup
YAPI MCP Server
This is a Model Context Protocol (MCP) server that provides access to YAPI interface details.
Copy & paste โ that's it
npm installPrerequisites
- 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-idUsage
Start the server:
npm startThe server can be configured in your Claude Desktop config file:
{
"mcpServers": {
"yapi": {
"type": "SSE",
"url": "http://localhost:${your .env PORT}/sse"
}
}
}No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.