Fetch YApi JSON API docs from a project URL for agent client integration.
Connect Runs on your machine
claude mcp add yapi-mcp -e YAPI_BASE_URL=<YAPI_BASE_URL> -e YAPI_TOKEN=<YAPI_TOKEN> -e YAPI_UID=<YAPI_UID> -- uvx contextdong-yapi-mcp==0.1.0
{
"mcpServers": {
"yapi-mcp": {
"command": "uvx",
"args": [
"contextdong-yapi-mcp==0.1.0"
],
"env": {
"YAPI_BASE_URL": "<YAPI_BASE_URL>",
"YAPI_TOKEN": "<YAPI_TOKEN>",
"YAPI_UID": "<YAPI_UID>"
}
}
}
}
{
"mcpServers": {
"yapi-mcp": {
"command": "uvx",
"args": [
"contextdong-yapi-mcp==0.1.0"
],
"env": {
"YAPI_BASE_URL": "<YAPI_BASE_URL>",
"YAPI_TOKEN": "<YAPI_TOKEN>",
"YAPI_UID": "<YAPI_UID>"
}
}
}
}
{
"servers": {
"yapi-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"contextdong-yapi-mcp==0.1.0"
],
"env": {
"YAPI_BASE_URL": "<YAPI_BASE_URL>",
"YAPI_TOKEN": "<YAPI_TOKEN>",
"YAPI_UID": "<YAPI_UID>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
YAPI_BASE_URLOptional | YApi host URL, e.g. https://yapi.example.com |
YAPI_TOKENRequired, secret | Login JWT or project open token |
YAPI_UIDOptional | Optional uid for login JWT cookie auth |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 2 Nov 2026 |
| Last updated | 2 Nov 2026 |
| Registry name | io.github.ContextDong/yapi-mcp |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
