Skip to main content

use-mcp

Utilize tools of Model Context Protocol (MCP) servers

来源信息

仓库
LongLeo287/SEOSONA-OS
最近来源活动
2026年8月4日 05:01
检测到的 SKILL.md 语言
英语
星标
2
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
use-mcp
description
Utilize tools of Model Context Protocol (MCP) servers
argument-hint
[task]
metadata
{"author":"claudekit","version":"1.0.0"}
Execute MCP operations via **Gemini CLI** to preserve context budget. ## Execution Steps 1. **Execute task via Gemini CLI** (using stdin pipe for MCP support): ```bash # 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 ``` 2. **Fallback to mcp-manager subagent** (if Gemini CLI unavailable): - Use `mcp-manager` subagent to discover and execute tools - If the subagent got issues with the scripts of `mcp-management` skill, use `mcp-builder` skill 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 ## Important Notes - **MUST use stdin piping** - the deprecated `-p` flag skips MCP initialization - Use `-y` flag to auto-approve tool execution - **GEMINI.md auto-loaded**: Gemini CLI automatically loads `GEMINI.md` from project root, enforcing JSON-only response format - **Parseable output**: Responses are structured JSON: `{"server":"name","tool":"name","success":true,"result":<data>,"error":null}` ## Anti-Pattern (DO NOT USE) ```bash # BROKEN - deprecated -p flag skips MCP server connections! gemini -y -m gemini-2.5-flash -p "..." ```
在 GitHub 查看