/get-interface-by-id
Fetch a YApi interface by numeric ID.
> /plugin marketplace add leeguooooo/cross-request-master > /plugin install yapi-plugin@cross-request-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/get-interface-by-id
Context preview
What this command does when you run it.
Fetch a YApi interface by numeric ID.
Command definition
get-interface-by-id.mdname: get-interface-by-id description: Fetch a YApi interface by numeric ID.
Get Interface By ID
1. Ask for the interface ID if it is not already present. 2. Run `command -v yapi >/dev/null || npm install -g @leeguoo/yapi-mcp`. 3. Run `yapi --path /api/interface/get --query id=<api_id>`. 4. Parse the returned payload. 5. Summarize the interface method, path, params, body schema, and response schema.
面向 API 开发/测试的 Chrome 扩展:绕过 CORS 发请求、自动生成 cURL,并对 YApi「运行」页做增强(内嵌 cURL、路径参数 {param} 引导填写)。 本仓库包含生态内的多个子项目: packages/yapi-mcp — CLI / Skill(发布包名保持为 @leeguoo/yapi-mcp,MCP 配置作为兼容方案保留,不影响扩展打包) plugins/yapi-plugin — Cursor 与 Claude Code 插件(已从原独立仓库
Repo: leeguooooo/cross-request-master
Other commands on cross-request-master.
- /bind-docs-sync
Create a docs-sync binding between local docs and a YApi category.
Open command - /list-category-interfaces
List YApi interfaces under a category ID.
Open command - /login-yapi
Prepare the local YApi CLI and then run yapi login using the user's existing config flow.
Open command - /run-docs-sync
Run YApi docs-sync for one binding or for all configured bindings.
Open command - /search-interface
Search YApi interfaces by keyword through the local yapi CLI.
Open command - /setup-yapi
Install or verify the YApi CLI and report whether login is required.
Open command

