use-mcp
11
总安装量
2
周安装量
#28339
全站排名
安装命令
npx skills add https://github.com/duc01226/easyplatform --skill use-mcp
Agent 安装分布
codex
1
antigravity
1
gemini-cli
1
Skill 文档
Execute MCP operations via Gemini CLI to preserve context budget.
Execution Steps
-
Execute task via Gemini CLI (using stdin pipe for MCP support):
# IMPORTANT: Use stdin piping, NOT -p flag (deprecated, skips MCP init) echo "$ARGUMENTS. Return JSON only per GEMINI.md instructions." | gemini -y -m gemini-2.5-flash -
Fallback to mcp-manager subagent (if Gemini CLI unavailable):
- Use
mcp-managersubagent to discover and execute tools - If the subagent got issues with the scripts of
mcp-managementskill, usemcp-builderskill to fix them - DO NOT create ANY new scripts
- The subagent can only use MCP tools if any to achieve this task
- If the subagent can’t find any suitable tools, just report it back to the main agent to move on to the next step
- Use
IMPORTANT Task Planning Notes
- Always plan and break many small todo tasks
- Always add a final review todo task to review the works done at the end to find any fix or enhancement needed
Anti-Pattern (DO NOT USE)
# BROKEN - deprecated -p flag skips MCP server connections!
gemini -y -m gemini-2.5-flash -p "..."
Important Notes
- MUST use stdin piping – the deprecated
-pflag skips MCP initialization - Use
-yflag to auto-approve tool execution - GEMINI.md auto-loaded: Gemini CLI automatically loads
GEMINI.mdfrom project root, enforcing JSON-only response format - Parseable output: Responses are structured JSON:
{"server":"name","tool":"name","success":true,"result":<data>,"error":null}