Back to Skills

multi-tool-pipeline

yoloshii
Updated Today
110 views
27
3
27
View on GitHub
Metamcp

About

This MCP skill demonstrates multi-tool orchestration by chaining git repository analysis tools sequentially. It combines git status, commit history, and branch information into a structured summary, serving as a template for complex workflows. Developers should use it to learn orchestration patterns and analyze git repositories through tool chaining.

Documentation

Multi-Tool Pipeline Skill

When to Use This Skill

Use this Skill to:

  • Learn multi-tool orchestration patterns
  • Analyze git repositories
  • Chain multiple MCP tools together
  • Use as a template for complex workflows

This is a demonstration skill showing how to chain multiple MCP tools.

What This Skill Does

Demonstrates advanced skill patterns:

  1. Accept multiple CLI arguments
  2. Chain multiple MCP tool calls sequentially
  3. Process and combine results
  4. Return structured output

Pipeline:

  1. Get repository status (git__git_status)
  2. Fetch recent commits (git__git_log)
  3. Get branch information (git__git_branch)
  4. Combine into summary

Instructions

When you need to analyze a git repository, execute:

cd /home/khitomer/Projects/mcp-code-execution-enhanced

uv run python -m runtime.harness scripts/multi_tool_pipeline.py \
    --repo-path "." \
    --max-commits 5

Parameters

  • --repo-path: Path to git repository (default: ".")
  • --max-commits: Maximum number of commits to analyze (default: 10)

Example Usage

# Analyze current repository
uv run python -m runtime.harness scripts/multi_tool_pipeline.py \
    --repo-path "." \
    --max-commits 20

# Analyze different repository
uv run python -m runtime.harness scripts/multi_tool_pipeline.py \
    --repo-path "/path/to/repo" \
    --max-commits 5

Expected Output

The skill returns structured data containing:

  • Repository status
  • Recent commits (up to max-commits)
  • Branch information
  • Summary metadata

Progress is printed during execution:

[1/3] Getting repository status...
[2/3] Fetching last N commits...
[3/3] Getting branch information...
✓ Pipeline complete

MCP Servers Required

Configure a git-capable MCP server in mcp_config.json:

{
  "mcpServers": {
    "git": {
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-server-git", "--repository", "."]
    }
  }
}

Technical Notes

  • Pattern: Sequential tool chaining with error handling
  • Token cost: ~110 tokens (discovery + execution)
  • Time: ~30 seconds for 3 tool calls
  • Demonstrates:
    • Multiple CLI arguments
    • Tool orchestration
    • Result processing
    • Error handling

Use this as a template for creating custom multi-tool workflows.

Creating Custom Workflows

Based on this pattern, you can create workflows that:

  1. Accept CLI arguments (any parameters you need)
  2. Call multiple MCP tools in sequence or parallel
  3. Process intermediate results
  4. Return final structured output

The CLI argument pattern keeps skills immutable while allowing flexible execution.

Quick Install

/plugin add https://github.com/yoloshii/mcp-code-execution-enhanced/tree/main/multi-tool-pipeline

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

yoloshii/mcp-code-execution-enhanced
Path: .claude/skills/multi-tool-pipeline

Related Skills

mcp-builder

Meta

mcp-builder is a development guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use this skill when building MCP servers to integrate external APIs or services in either Python (FastMCP) or Node/TypeScript (MCP SDK). It provides a structured workflow and principles for developing effective, agent-centric tools.

View skill

connect-mcp-server

Design

This skill provides a comprehensive guide for connecting MCP (Model Context Protocol) servers to Claude Code using HTTP, stdio, and SSE transports. It covers the complete setup process including installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and databases. Use this when you need to add MCP server integrations, configure external tools, or connect to custom APIs in your development workflow.

View skill

create-claude-plugin

Meta

This skill provides a comprehensive guide for developers to create Claude Code plugins that bundle skills, agents, commands, hooks, and MCP servers for distribution. It covers plugin structure, configuration, testing, and publishing to enable team collaboration and community sharing. Use this when you need to package, distribute, or publish collections of Claude Code extensions via plugin marketplaces.

View skill

cloudflare-browser-rendering

Meta

Cloudflare Browser Rendering provides a headless browser automation API for tasks like taking screenshots, generating PDFs, scraping dynamic content, and testing web applications. It supports multiple integration methods including a REST API, Workers Bindings for Puppeteer/Playwright, and MCP servers. Use this skill when you need to automate browser interactions or extract data from JavaScript-heavy websites.

View skill