mcp-cli-scripts

Installation
SKILL.md

MCP CLI Scripts Pattern

Status: Production Ready Last Updated: 2026-01-09 Dependencies: tsx (dev dependency) Current Versions: tsx@4.21.0


Why CLI Scripts Alongside MCP Servers?

When building MCP servers, also create companion CLI scripts that provide the same (and often extended) functionality for use with Claude Code in terminal environments.

Aspect Remote MCP (Claude.ai) CLI Scripts (Claude Code)
Context Results flow through model context window Results stay local, only relevant parts shared
File System No access Full read/write access
Batch Operations One call at a time Can process files of inputs
Caching Stateless Can cache results locally
Related skills
Installs
1
First Seen
Mar 10, 2026