/mcp-gateway:mcp-gatewayfrom mcp-gateway
Discover, inspect, and invoke external tools routed through MCP Gateway (`discover_tools`, `get_tool_schema`, `invoke_tool`) or `gatewayctl`. Use whenever the task needs external services, SaaS APIs, GitLab/GitHub/Observability tools, or Gateway-managed MCP integrations.
Ships in mcp-gateway. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use MCP Gateway as a three-step discovery-then-execution gateway rather than guessing tool names or invoking downstream APIs blindly.
Discover tools for the current sub-task:
Call discover_tools with a concise natural-language intent describing what you need right now.
services: ["<service-id>"] when you already know the target service (for example ["github"] or ["gitlab"]).context with known identifiers or previous attempts when narrowing results.summary_only: true first if you only want lightweight summaries and tool IDs.discover_tools whenever your task shifts to a different capability.Inspect schema when needed:
If you used summary_only: true or need the full JSON Schema, call get_tool_schema with the exact tool_id returned by discover_tools.
Invoke with exact schema and optional projection:
Call invoke_tool with:
tool_id: exact ID from discover_toolsarguments: JSON object strictly matching the tool's input_schemafields: optional dot-path array (such as ["logs.timestamp", "logs.message"]) to keep large responses compact_gw_ctx / _gw_ctx_* fields: The official plugin hook or extension automatically signs and attaches workspace provenance before execution.scope_required / unbound repository: When Gateway enforces repository isolation, the active working directory must be bound to services in the MCP Gateway desktop app (仓库绑定) or allowed under global defaults. Stop and inform the user which repository and agent need access rather than attempting workarounds.RO) / allow_write denial: Do not retry write operations in a read-only scope; report the boundary clearly.retry_after_seconds guidance in structured tool errors instead of tight retry loops.gatewayctl)When working inside shell pipelines or inspecting outputs offline, gatewayctl exposes the same flow as JSON on stdout:
gatewayctl list
gatewayctl -summary search "inspect recent error logs"
gatewayctl schema observability.search_error_logs
gatewayctl -args '{"service":"billing","minutes":10}' -fields 'logs.timestamp,logs.message' call observability.search_error_logs
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dengnaichen/mcp-gateway --plugin mcp-gateway