
Mcp Scripts
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-codeInstalls 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_searchast-grep__ast_grepperplexity__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- Help493
- Firecrawl Scrape492
- Morph Search492
- Cli Reference491
- Completion Check491
- Idempotent Redundancy491
- Search Tools491
- Skill Upgrader491
- Slash Commands491
- Build490
- Morph Apply489
- Onboard488
- Skill Developer488
- Skill Development488
- Braintrust Analyze487
- Complete Skill487
- Loogle Search487
- Research487
- Search Router487
- Tldr Overview487
- Fix486
- Qlty Check486
- Wiring486
- Agentica Claude Proxy485