| name | multi-tool-pipeline |
| description | Advanced MCP skill demonstrating multi-tool orchestration with git repository analysis |
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:
- Accept multiple CLI arguments
- Chain multiple MCP tool calls sequentially
- Process and combine results
- Return structured output
Pipeline:
- Get repository status (git__git_status)
- Fetch recent commits (git__git_log)
- Get branch information (git__git_branch)
- 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:
- Accept CLI arguments (any parameters you need)
- Call multiple MCP tools in sequence or parallel
- Process intermediate results
- Return final structured output
The CLI argument pattern keeps skills immutable while allowing flexible execution.