Skip to content

Rules for writing MCP scripts that call tools through a shared client and runtime harness.

CCM score
44 of 100
skills.sh installs
496
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers script conventions: CLI arguments via argparse, a USAGE docstring at the top, and informative error handling
  • Specifies the call_mcp_tool("server__tool", params) pattern, with double-underscore tool IDs such as morph__warpgrep_codebase_search
  • Forbids hardcoded parameters, editing scripts to change inputs, and importing directly from servers/
  • Designed for scripts in scripts/ that run through uv run python -m runtime.harness with a --help check

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Skill & Plugin Building, Python
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108

Similar to Mcp Scripts

More Skill & Plugin Building