Switched from MCPs to CLIs for Claude Code and honestly never going back
TL;DR Highlight
Swapping MCPs for CLIs in Claude Code reduced parameter errors, auth breakage and slowness
Who Should Read
A developer using Claude Code who is frustrated by MCP parameter mistakes, broken auth and timeouts
Core Mechanics
- MCPs were frustrating
- Claude reportedly messed up parameters.
- Auth randomly broke and timeouts occurred.
- Everything felt slower.
- Claude already knows CLIs
- The author says Claude is trained on years of shell scripts, docs and Stack Overflow.
- So it knows flags and edge cases and composes commands well.
- Daily CLI list
- gh (--json/--jq), Ripgrep (fast code search), composio (universal CLI for agent tool connections) and stripe (webhook testing, --output json).
- Also supabase (local dev, DB), vercel (deploy, env vars), sentry-cli (releases, --format json) and neon (Postgres branches).
- Three needs for agent-friendly CLIs
- Structured output.
- Non-interactive mode.
- API key auth.
Community Reactions
How to Apply
- Replace one MCP with a CLI and compare
- Pick your most troublesome MCP (e.g. GitHub) and run the same task with the gh CLI today.
- Compare parameter errors and time taken.
- Tell Claude to use JSON output flags
- Add to your prompt or CLAUDE.md: gh with --json/--jq, stripe with --output json, sentry-cli with --format json.
- Make results parseable.
- Check a CLI is agent-ready before adding it
- Verify it supports structured output, non-interactive mode and API key auth.
- If any is missing, wrap it in a script.
Try It
# Paste into Claude Code as-is (the post's idea turned into a prompt)
Summarize open PRs and issues for this repo.
- Use the gh CLI in the shell instead of MCP tools.
- Always get structured output with --json and --jq.
- Do not run commands that open interactive prompts.
- Use ripgrep (rg) for code search.
When done, list the commands you used and the number of steps.
Target repo: {{owner/repo}}Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques