mcp-cli
Skill1.3k starsChanged 10 months agoMITView on GitHub
Interface for MCP (Model Context Protocol) servers via CLI. Use when you need to interact with external tools, APIs, or data sources through MCP servers.
9 other projects use a version of this, 6 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- github/awesome-copilotedited, first seen Oct 25, 2026
- haojing8312/WorkClawtheir own version, first seen Oct 9, 2026
- Adhamxon/claude-code-skillsedited, first seen Jul 30, 2026
- ReaperOAK/ForgeOSedited, first seen Jun 8, 2026
- Cogni-AI-OU/cogni-ai-agent-skillsedited, first seen May 19, 2026
- Typeless-Git/skillsedited, first seen Mar 30, 2026
Who's talking about philschmid/mcp-cli
- @jauntywunderkind.bsky.social“for users: my recommendation is, if someone gives you a MCP, immediately turn around and use a tool like …”Bluesky · Jul 26, 2026 · 1 likes
- supermemoryai/supermemory“fix(mcp): register handler on bare /mcp path to match MCP transport spec”GitHub · Feb 12, 2026 · 1 reactions
- chigwell/telegram-mcp“Wrap `telegram-mcp` with `mcp-cli` to reduce tool-definition context bloat and improve invocation performance”GitHub · Jan 27, 2026 · 1 reactions
- CherryHQ/cherry-studio“[Feature]: integrate or add support for Lighweight CLI to interact with MCP servers (mcp-cli)”GitHub · Jan 23, 2026 · 1 reactions
- xrey167/.github“Add MCP and OpenAI Agents SDK integration with TypeScript support”GitHub · Jan 15, 2026 · 1 reactions
The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 18
Talked about on GitHub, Bluesky and Hacker News (18 times).
On GitHub · 15
- Feb 12, 2026fix(mcp): register handler on bare /mcp path to match MCP transport spec — supermemoryai/supermemory1 reaction · 3 comments
- Jan 27, 2026Wrap `telegram-mcp` with `mcp-cli` to reduce tool-definition context bloat and improve invocation performance — chigwell/telegram-mcp1 reaction · 3 comments
- Jan 23, 2026[Feature]: integrate or add support for Lighweight CLI to interact with MCP servers (mcp-cli) — CherryHQ/cherry-studio1 reaction · 1 comment
- Jan 15, 2026Add MCP and OpenAI Agents SDK integration with TypeScript support — xrey167/.github1 reaction · 2 comments
- Oct 1, 2026agent-skills.github.philschmid.mcp-cli: init at 0.3.0 — sudosubin/agents.nix0 reactions
10 more on GitHub
- Aug 21, 2026CLI as an alternative to MCP — oraios/serena0 reactions · 3 comments
- Apr 23, 2026Bundle mcp-cli for local MCP server management — rcarmo/piclaw0 reactions
- Mar 5, 2026Feature Request: Two-Step MCP Tool Discovery for On-Demand Loading — anomalyco/opencode0 reactions
- Feb 13, 2026[LS] replace_symbol_body corrupts file by prepending instead of replacing (TypeScript, low-level symbol) — oraios/serena0 reactions · 3 comments
- Feb 1, 2026mcp-cli v0.3.0 outputs raw MCP envelope instead of extracted text — claytono/infra0 reactions · 4 comments
- Jan 29, 2026Update dependency philschmid/mcp-cli to v0.3.0 — claytono/go-unifi-mcp0 reactions
- Jan 28, 2026fix: correct mcp-cli skill command syntax and add installation guide — github/awesome-copilot0 reactions
- Jan 23, 2026chore(deps): update dependency philschmid/mcp-cli to v0.3.0 — jmreicha/cfgctl0 reactions
- Jan 23, 2026Track: mcp-cli stderr verbosity option — claytono/infra0 reactions · 5 comments
- Jan 17, 2026chore(deps): update dependency philschmid/mcp-cli to v0.1.4 — jmreicha/cfgctl0 reactions
On Bluesky · 2
- Jul 26, 2026for users: my recommendation is, if someone gives you a MCP, immediately turn around and use a tool like mcp-cli to take the chains off… — @jauntywunderkind.bsky.social1 likes and repost
- Jan 11, 2026Had my own that I started, but ran into two separate projects that make a CLI out of MCP services today! github.com/philschmid/m... — @jauntywunderkind.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Jan 9, 2026MCP CLI: Dynamic discovering and interacting with MCP servers1 point · 1 comment
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- github/awesome-copilot★ 41k31% same
- asterixix/polish-academic-mcp★ 431% same
- Cogni-AI-OU/cogni-ai-agent-skills★ 415% same
- Adhamxon/claude-code-skills★ 231% same
- Typeless-Git/skills★ 131% same
- ReaperOAK/ForgeOS★ 031% same
Wrote their own version · 3
- obra/superpowers-lab★ 429same name
- haojing8312/WorkClaw★ 141same name
- paulanunes85/three-horizons-accelerator★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
MCP-CLI
Access MCP servers through the command line. MCP enables interaction with external systems like GitHub, filesystems, databases, and APIs.
Commands
| Command | Output |
mcp-cli | List all servers and tools |
mcp-cli info <server> | Show server tools and parameters |
mcp-cli info <server> <tool> | Get tool JSON schema |
mcp-cli grep "<pattern>" | Search tools by name |
mcp-cli call <server> <tool> | Call tool (reads JSON from stdin if no args) |
mcp-cli call <server> <tool> '<json>' | Call tool with arguments |
Both formats work: <server> <tool> or <server>/<tool>
Workflow
- Discover:
mcp-cli→ see available servers - Explore:
mcp-cli info <server>→ see tools with parameters - Inspect:
mcp-cli info <server> <tool>→ get full JSON schema - Execute:
mcp-cli call <server> <tool> '<json>'→ run with arguments
Examples
# List all servers
mcp-cli
# With descriptions
mcp-cli -d
# See server tools
mcp-cli info filesystem
# Get tool schema (both formats work)
mcp-cli info filesystem read_file
mcp-cli info filesystem/read_file
# Call tool
mcp-cli call filesystem read_file '{"path": "./README.md"}'
# Pipe from stdin (no '-' needed!)
cat args.json | mcp-cli call filesystem read_file
# Search for tools
mcp-cli grep "*file*"
# Output is raw text (pipe-friendly)
mcp-cli call filesystem read_file '{"path": "./file"}' | head -10Advanced Chaining
# Chain: search files → read first match
mcp-cli call filesystem search_files '{"path": ".", "pattern": "*.md"}' \
| head -1 \
| xargs -I {} mcp-cli call filesystem read_file '{"path": "{}"}'
# Loop: process multiple files
mcp-cli call filesystem list_directory '{"path": "./src"}' \
| while read f; do mcp-cli call filesystem read_file "{\"path\": \"$f\"}"; done
# Conditional: check before reading
mcp-cli call filesystem list_directory '{"path": "."}' \
| grep -q "README" \
&& mcp-cli call filesystem read_file '{"path": "./README.md"}'
# Multi-server aggregation
{
mcp-cli call github search_repositories '{"query": "mcp", "per_page": 3}'
mcp-cli call filesystem list_directory '{"path": "."}'
}
# Save to file
mcp-cli call github get_file_contents '{"owner": "x", "repo": "y", "path": "z"}' > output.txtNote: call outputs raw text content directly (no jq needed for text extraction)
Options
| Flag | Purpose |
-d | Include descriptions |
-c <path> | Specify config file |
Common Errors
| Wrong Command | Error | Fix |
mcp-cli server tool | AMBIGUOUS_COMMAND | Use call server tool or info server tool |
mcp-cli run server tool | UNKNOWN_SUBCOMMAND | Use call instead of run |
mcp-cli list | UNKNOWN_SUBCOMMAND | Use info instead of list |
mcp-cli call server | MISSING_ARGUMENT | Add tool name |
mcp-cli call server tool {bad} | INVALID_JSON | Use valid JSON with quotes |
Exit Codes
0: Success1: Client error (bad args, missing config)2: Server error (tool failed)3: Network error
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

