mcp-chaining

mcp-chaining is a skill for Claude Code from parcadei/Continuous-Claude-v3. It costs 18 tokens per session (1,218 once invoked), scanned A, original, MIT.

A documented pipeline that connects five tools for researching a topic, finding matching code, checking code quality, and inspecting Git status. MCP is a way for software tools to expose actions that an agent can call.

In plain words
What is it for?
Use it as a reference when building or testing agent workflows that combine documentation search, code search, quality checks, and Git operations.
Why use it?
It shows how to coordinate several tools in one workflow and how to continue gracefully when part of the tool chain is unavailable.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

not rated 4.0krepo +4 14d ago A scan Socket: passSnyk: passSkillSpector: pass 18 tokens original MIT

Good fit Use it as a reference when building or testing agent workflows that combine documentation search, code search, quality checks, and Git operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/parcadei/continuous-claude-v3/mcp-chaining
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,953 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add parcadei/Continuous-Claude-v3 --skill mcp-chaining
Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-chaining

README.md
[![agentmods](https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/mcp-chaining/github.svg)](https://agentmods.dev/skills/parcadei/continuous-claude-v3/mcp-chaining)
Your own site
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/mcp-chaining"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/mcp-chaining/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-chaining

Your own site · 80×15
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/mcp-chaining"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/mcp-chaining.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,218 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Sept 2026
  • Snyk pass 18 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.01218
Opus 5.5 $0.00007 $0.00487
Sonnet 5.5 $0.00004 $0.00244
Haiku 4.5 $0.00002 $0.00122

Measured 2mo ago against content hash bbffb3901cdc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-chaining scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/mcp-chaining/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Chaining Pipeline

A research-to-implement pipeline that chains 5 MCP tools for end-to-end workflows.

When to Use

  • Building multi-tool MCP pipelines
  • Understanding how to chain MCP calls with graceful degradation
  • Debugging MCP environment variable issues
  • Learning the tool naming conventions for different MCP servers

What We Built

A pipeline that chains these tools:

Step Server Tool ID Purpose
1 nia nia__search Search library documentation
2 ast-grep ast-grep__find_code Find AST code patterns
3 morph morph__warpgrep_codebase_search Fast codebase search
4 qlty qlty__qlty_check Code quality validation
5 git git__git_status Git operations

Key Files

  • scripts/research_implement_pipeline.py - Main pipeline implementation
  • scripts/test_research_pipeline.py - Test harness with isolated sandbox
  • workspace/pipeline-test/sample_code.py - Test sample code

Usage Examples

# Dry-run pipeline (preview plan without changes)
uv run python -m runtime.harness scripts/research_implement_pipeline.py \
    --topic "async error handling python" \
    --target-dir "./workspace/pipeline-test" \
    --dry-run --verbose

# Run tests
uv run python -m runtime.harness scripts/test_research_pipeline.py --test all

# View the pipeline script
cat scripts/research_implement_pipeline.py

Critical Fix: Environment Variables

The MCP SDK's get_default_environment() only includes basic vars (PATH, HOME, etc.), NOT os.environ. We fixed src/runtime/mcp_client.py to pass full environment:

# In _connect_stdio method:
full_env = {**os.environ, **(resolved_env or {})}

This ensures API keys from ~/.claude/.env reach subprocesses.

Graceful Degradation Pattern

Each tool is optional. If unavailable (disabled, no API key, etc.), the pipeline continues:

async def check_tool_available(tool_id: str) -> bool:
    """Check if an MCP tool is available."""
    server_name = tool_id.split("__")[0]
    server_config = manager._config.get_server(server_name)
    if not server_config or server_config.disabled:
        return False
    return True

# In step function:
if not await check_tool_available("nia__search"):
    return StepResult(status=StepStatus.SKIPPED, message="Nia not available")

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 169 lines · 18 tokens per session scan A bbffb3901cdc

Subscribe to this mod's changes

mcp-chaining is a skill published in the GitHub repository parcadei/Continuous-Claude-v3 (3,953 stars, last pushed 14d ago), licensed MIT. It adds 18 tokens to every session and 1,218 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

mcp-chaining compared with skills from other repositories

mcp-chaining next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-chainingparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA18Claude Code
fizzy-workflowkeskinonur/claude-plugin-fizzySkill310mo agoApache-2.0A57Claude Code
make-skillsergeyklay/.agentsSkill65d agoApache-2.0A80Claude Code, Codex
test-tssergeyklay/.agentsSkill65d agoApache-2.0A139Claude Code, Codex
isolate-clisergeyklay/.agentsSkill65d agoApache-2.0A208Claude Code, Codex
search-websergeyklay/.agentsSkill65d agoApache-2.0A216Claude Code, Codex
monitor-cisergeyklay/.agentsSkill65d agoApache-2.0A181Claude Code, Codex