use-mcp

Execute MCP server tools via Gemini CLI with JSON-only responses.

1|1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill use-mcp-thanh-apero
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-mcp
Source: https://github.com/Thanh-apero/apero-kit-cli/tree/main/templates/skills/use-mcp
Command: npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill use-mcp-thanh-apero

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gemini, mcp-manager, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the execution of MCP server tools, streamlining discovery and execution processes.

Core Features & Use Cases

  • Intelligent Discovery: Automatically discovers and executes MCP server tools.
  • Execution via Gemini CLI: Executes MCP operations using the Gemini CLI to preserve context budget.
  • Fallback Mechanism: Utilizes the mcp-manager subagent for execution if the Gemini CLI is unavailable.
  • Tool Management: Handles tool discovery and execution issues with ck:mcp-management and ck:mcp-builder skills.

Quick Start

Execute a task via Gemini CLI to preserve context budget:

echo "$ARGUMENTS. Return JSON only per GEMINI.md instructions." | gemini -y -m <gemini.model>

Frequently Asked Questions about use-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate MCP server tool discovery and execution?

You can automate MCP server tool discovery and execution by routing tasks through the Gemini CLI to automatically find and run operations while preserving your context budget.

What is the best way to execute MCP operations using Gemini CLI?

The best way to execute MCP operations using Gemini CLI is piping your arguments directly into the CLI and enforcing a JSON-only response format to preserve context budget.

How does MCP execution fallback work when Gemini CLI is unavailable?

When Gemini CLI is unavailable, MCP execution falls back to the mcp-manager subagent, ensuring tool discovery and execution processes continue without interruption.

Can I handle MCP tool discovery and execution issues automatically?

Yes, you can handle MCP tool discovery and execution issues automatically by integrating mcp-management and mcp-builder skills to resolve operational failures.

Do I need mcp-manager to run MCP server tools?

You need mcp-manager as a fallback subagent to run MCP server tools if the primary Gemini CLI execution path fails or becomes unavailable during your workflow.