$ timeahead.in
mcp/yapi-auto-mcp/install/claude-code

install yapi-auto-mcp on Claude Code

Requires Node 18+ on your system so npx can fetch the package on first run. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register yapi-auto-mcp.

run this in your terminal
cli: Run the command below in your terminal — Claude Code persists it for you.
claude mcp add yapi-auto-mcp --env YAPI_BASE_URL=https://yapi.example.com --env YAPI_TOKEN=projectId:token1,projectId2:token2 --env YAPI_CACHE_TTL=10 --env YAPI_LOG_LEVEL=info -- npx -y yapi-auto-mcp --stdio
then: No reload needed — the next session picks up the new server.
other clients
Claude DesktopCursorWindsurfVS Code (Copilot)
← back to yapi-auto-mcp