mcpc
Skill1 starsChanged 2 months agoMITView on GitHub
Use mcpc CLI to interact with MCP servers — call tools, read resources, manage sessions. Load this when you need to access any MCP server via the command line. Configured servers: context7, pixellab, MiniMax, zai-search, zai-reader, zread, zai-vision, gemini-cli, playwright, searxng. Keywords: mcpc, mcp client, model context protocol, mcp server, call tool, read resource, mcp session.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- apify/mcpctheir own version, first seen Oct 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- apify/mcpc★ 968same 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.
In this repository30 other files it gives its agents.
- arch-linux-cachyosSkill
- arch-linux-triageSkill
- bash-defensive-patternsSkill
- bash-linuxSkill
- bash-scriptingSkill
- beansSkill
- context7Skill
- docker-compose-setupSkill
- audioSkill
- deploymentSkill
- ecsSkill
- game-loopSkill
- inputSkill
- physicsSkill
- renderingSkill
- resourcesSkill
- ebitenSkill
- geminiSkill
- go-browser-testsSkill
- go-devSkill
- go-fluent-testingSkill
- go-htmx-frontendSkill
- go-setupSkill
- interactive-browser-testingSkill
- keep-on-goingSkill
- minimaxSkill
- pixellabSkill
- playwright-mcpSkill
- public-repo-maturitySkill
- searxngSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use mcpc to interact with MCP (Model Context Protocol) servers from the command line.
- Very specific: line 33
Not configured (pay-per-use platform API, NOT covered by coding plans): official generative MiniMax-MCP (uvx minimax-mcp: …
- Very specific: line 123
Pitfall: No spaces around :=. Use quotes for values with spaces:
- Very specific: line 130
Use --json for machine-readable output.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
mcpc: MCP command-line client
Use mcpc to interact with MCP (Model Context Protocol) servers from the command line. Generate shell commands instead of using function calling — more efficient, composable with pipes, and works across all agent types.
Configured servers
MCP servers are defined in ~/.mcpc/mcp.json. Connect via file:entry syntax:
mcpc connect ~/.mcpc/mcp.json:<entry> @<name>Available servers: context7, pixellab, MiniMax, gemini-cli, playwright, searxng, plus Z.ai coding-plan servers (added 2026-09-16, key = ZAI_AUTH_TOKEN from ~/.config/environment.d/secrets.conf):
| Session | Entry | Tools | Notes |
@zai-search | zai-web-search | web_search_prime | remote, live-verified |
@zai-reader | zai-web-reader | webReader | remote, live-verified |
@zread | zread | search_doc, read_file, get_repo_structure | remote; repo_name = owner/repo |
@zai-vision | zai-vision | analyze_image, ui_to_artifact, OCR, … | stdio npx @z_ai/mcp-server; local file paths only — URL fetch fails (400 图片输入格式/解析错误); Node ≥22 |
@minimax | MiniMax | web_search, understand_image | uvx minimax-coding-plan-mcp, key = MINIMAX_CODING_KEY; local paths verified; search verified |
Not configured (pay-per-use platform API, NOT covered by coding plans): official generative MiniMax-MCP (uvx minimax-mcp: TTS/video/image/music). Only add on explicit user request.
PATH pitfall: mcpc binary lives in ~/.bun/bin — absent from default non-login PATH. First line of any script: export PATH="$HOME/.bun/bin:$PATH" (else command not found, exit 127).
Verified quirks (2026-09-16): Z.ai/zread remote tools take owner/repo as repo_name; vision tools reject remote image URLs (HTTP 400 图片输入格式/解析错误) — download or generate a local file first (local paths verified OK on both @zai-vision and @minimax).
Quick reference
# List sessions and auth profiles
mcpc
# Show server info, capabilities, tools
mcpc @<session>
# Tools
mcpc @<session> tools-list
mcpc @<session> tools-list --full
mcpc @<session> tools-get <tool-name>
mcpc @<session> tools-call <tool-name> key:=value key2:="string value"
# Resources
mcpc @<session> resources-list
mcpc @<session> resources-read <uri>
# Prompts
mcpc @<session> prompts-list
mcpc @<session> prompts-get <prompt-name> arg1:=value1
# Async tasks
mcpc @<session> tools-call <tool> args --task
mcpc @<session> tools-call <tool> args --detach
mcpc @<session> tasks-list
mcpc @<session> tasks-result <taskId>
# Sessions
mcpc connect <server> @<name>
mcpc @<name> restart
mcpc @<name> close
# Search tools across sessions
mcpc grep <pattern>
mcpc @<name> grep <pattern>
# Authentication
mcpc login <server>
mcpc logout <server>Connecting to servers
# From config file (preferred for local setup)
mcpc connect ~/.mcpc/mcp.json:playwright @pw
# Direct URL (remote servers)
mcpc connect mcp.apify.com @apify
# With bearer token
mcpc connect mcp.example.com @api --header "Authorization: Bearer $TOKEN"
# With OAuth profile
mcpc login mcp.example.com --profile work
mcpc connect mcp.example.com @api-work --profile workPassing arguments
Arguments use key:=value syntax. Values are auto-parsed as JSON when valid:
# String values
mcpc @s tools-call search query:="hello world"
# Numbers, booleans (auto-parsed as JSON)
mcpc @s tools-call search limit:=10 enabled:=true
# Complex JSON values
mcpc @s tools-call search config:='{"nested":"value"}' items:='[1,2,3]'
# Force string type with inner JSON quotes
mcpc @s tools-call search id:='"123"'
# Inline JSON object (if first arg starts with { or [)
mcpc @s tools-call search '{"query":"hello","limit":10}'
# From stdin (auto-detected when piped)
echo '{"query":"hello"}' | mcpc @s tools-call searchPitfall: No spaces around :=. Use quotes for values with spaces:
mcpc @s tools-call search "query:=hello world"JSON output for scripting
Use --json for machine-readable output. JSON follows the MCP specification:
# Get tools as JSON
mcpc --json @s tools-list
# Call tool and extract result with jq
mcpc --json @s tools-call search query:="test" | jq '.content[0].text'
# Chain tools across sessions
mcpc --json @s1 tools-call get-data | mcpc @s2 tools-call process
# Batch operations
for tool in $(mcpc --json @s tools-list | jq -r '.[].name'); do
mcpc --json @s tools-get "$tool" > "schemas/$tool.json"
doneSession management
Sessions are persistent named connections that maintain state. More efficient than reconnecting every command.
Session states:
| State | Meaning |
| live | Bridge running, server responding |
| connecting | Initial connection in progress |
| disconnected | Server unreachable, auto-recovers |
| crashed | Bridge crashed, auto-restarts |
| unauthorized | Auth failed, needs login then restart |
| expired | Server rejected session, needs restart |
Lifecycle:
mcpc connect ~/.mcpc/mcp.json:searxng @searxng # Create
mcpc @searxng tools-call searxng_web_search query:="Go generics" # Use
mcpc @searxng ping # Health check
mcpc @searxng restart # Restart if stale
mcpc @searxng close # Clean upSchema validation
Validate tool schemas against snapshots to detect breaking changes:
# Save expected schema
mcpc --json @s tools-get search > expected.json
# Validate before calling
mcpc @s tools-call search --schema expected.json query:="test"Proxy for sandboxed access
Expose MCP sessions without revealing credentials:
mcpc connect mcp.example.com @relay --proxy 8080 --profile ai-access
# Others connect to localhost:8080 with no access to original tokensExit codes
| Code | Meaning |
| 0 | Success |
| 1 | Client error (invalid arguments) |
| 2 | Server error (tool execution failed) |
| 3 | Network error (connection/timeout) |
| 4 | Authentication error |
Debugging
mcpc --verbose @s tools-call my-tool # Protocol details to stderr
mcpc tail_log @s # View bridge logs
cat ~/.mcpc/logs/bridge-@<session>.log # Read log fileRelated skills
Each MCP server has its own skill with tool-specific workflows:
context7— Documentation lookuppixellab— Pixel art generationminimax— AI web search and image understandinggemini— Google Gemini AI assistantplaywright-mcp— Browser automationsearxng— Web search and URL reading
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.

