视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
yapi【文档与办公】Query and sync YApi interface documentation. Use when user mentions "yapi 接口文档", YAPI docs, asks for request/response details, or needs docs sync. Also triggers when user pastes a YApi URL that matches the configured base_url.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
When user provides a URL, check if it matches the configured YApi instance:
cat ~/.yapi/config.toml | grep base_url
If the URL's origin matches base_url, use yapi CLI to operate:
project_id from URL path (e.g., /project/123/... → project_id=123)api_id from URL path (e.g., .../api/456 → api_id=456)yapi --path /api/interface/get --query id=<api_id> to fetch detailsExample URL patterns:
https://yapi.example.com/project/123/interface/api/456 → project=123, api=456https://yapi.example.com/project/123/interface/api/cat_789 → project=123, category=789yapi --version
npm install -g @leeguoo/yapi-mcp
# or
pnpm add -g @leeguoo/yapi-mcp
yapi whoami
yapi login
This will prompt for:
Config is saved to ~/.yapi/config.toml.
base_url in ~/.yapi/config.toml.yapi whoami; if not logged in, run yapi login.~/.yapi/config.toml (base_url, auth_mode, email/password or token, optional project_id).~/.yapi/config.toml~/.yapi-mcp/auth-*.json# Check version
yapi --version
# Show help
yapi -h
# Check current user
yapi whoami
# Login (interactive)
yapi login
# Search interfaces
yapi search --q keyword
# Get interface by ID
yapi --path /api/interface/get --query id=123
# List interfaces in category
yapi --path /api/interface/list_cat --query catid=123
yapi docs-sync bind add --name <binding> --dir <path> --project-id <id> --catid <id> (stored in .yapi/docs-sync.json).yapi docs-sync --binding <binding> or run all bindings with yapi docs-sync.--force to sync everything.mmdc (auto-installed if possible; failures do not block sync).pandoc (manual install required)..yapi/docs-sync.links.json: local docs to YApi doc URLs..yapi/docs-sync.projects.json: cached project metadata/envs..yapi/docs-sync.deployments.json: local docs to deployed URLs.req_body_type (use json if unsure) and provide res_body (prefer JSON Schema). Empty values can make /api/interface/add fail.req_* / res_body instead of stuffing them into desc or markdown.