NestDaddy

YApi MCP

io.github.ContextDong/yapi-mcp ยท v0.1.0

Fetch YApi JSON API docs from a project URL for agent client integration.

Connect Runs on your machine

Terminal
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
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
YAPI_BASE_URL
Optional
YApi host URL, e.g. https://yapi.example.com
YAPI_TOKEN
Required, secret
Login JWT or project open token
YAPI_UID
Optional
Optional uid for login JWT cookie auth

Details

Package[email protected] (PYPI, stdio)
First published2 Nov 2026
Last updated2 Nov 2026
Registry nameio.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.