This is a style guide for writing Python scripts that interact with MCP servers through Claude's runtime. It enforces a clean pattern: use argparse for parameters, call tools via `call_mcp_tool("server__tool", params)`, and print to stdout. The double underscore naming convention for tools is specific and non-negotiable. The most practical bit is the hard rule against editing scripts to change parameters, which will save you from cluttering your git history with parameter tweaks. If you're building scripts that Claude will invoke to interact with MCP tools, these conventions keep things consistent and testable via the harness runner.

skills.sh installs
494
GitHub stars
3.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill mcp-scripts --agent claude-code

Installs into .claude/skills of the current project.

Files

MCP Script Rules

When working with files in scripts/:

DO

  • Use CLI arguments for all parameters (argparse)
  • Include USAGE docstring at top of file
  • Use call_mcp_tool("server__tool", params) pattern
  • Handle errors gracefully with informative messages
  • Print results to stdout for Claude to process

DON'T

  • Hardcode parameters in the script
  • Edit scripts to change parameters (use CLI args instead)
  • Import from servers/ directly (use runtime.mcp_client)

Tool Naming

Tool IDs use double underscore: serverName__toolName

Examples:

  • morph__warpgrep_codebase_search
  • ast-grep__ast_grep
  • perplexity__perplexity_ask

Testing

Test with: uv run python -m runtime.harness scripts/<script>.py --help

Sponsors

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108
1firebase avatarfirebase-ai-logicfirebase/skillsfirebase ai logic491skills.sh installs
2obra avatarmcp-cliobra/superpowers-labUse MCP servers on-demand via the mcp CLI tool - discover tools, resources, and prompts without polluting context with pre-loaded MCP integrations486skills.sh installs
3teneoprotocolai avatarpredexon-prediction-market-agent-1-5-teneoteneoprotocolai/teneo-skillsAI agent for Predexon Prediction Market Agent 1.5 via Teneo Protocol. Use this skill when the user needs Predexon Prediction Market Agent 1.5 via the bundled Te484skills.sh installs
4parcadei avatarmcp-chainingparcadei/continuous-claude-v3Research-to-implement pipeline chaining 5 MCP tools with graceful degradation483skills.sh installs
5callstackincubator avatarrozenite-agentcallstackincubator/rozeniteUse Rozenite for Agents through CLI-driven `rozenite agent` commands to inspect React Native DevTools data and Rozenite plugins on a live app target. Trigger th471skills.sh installs
6bahayonghang avatarindustrial-ai-researchbahayonghang/academic-writing-skillsIndustrial AI literature research with mandatory intake questions, venue-aware source prioritization, structured report outputs, and survey draft generation. Us469skills.sh installs