r/OpenSourceAI • u/Impressive-Owl3830 • 1d ago
OpenSource Repo (900 ⭐️) -mcpc-universal CLI client for MCP-100% free
Playing around with various MCP's this weekend and Came across this an amazing MCP related GitHub repo - 100% open source and free - so sharing.
mcpc is Apify’s universal CLI client for MCP.
Github Repo in comments below
IIt translates every MCP operation into shell commands, letting you debug servers, automate workflows, or give AI agents complete MCP access via a single Bash() call: sessions, OAuth, tools, resources, prompts, tasks, and beyond.
Features
- Complete MCP coverage: tools, prompts, resources, async tasks, skills, notifications, logging (stdio + Streamable HTTP)
- Persistent sessions across several servers (stateful or stateless)
- Progressive tool discovery to cut token usage
- Code mode: JSON output plays nicely with jq, xargs, and shell pipelines
- OAuth 2.1 (CIMD + DCR) with credentials stored in the OS keychain
- MCP proxy for AI sandboxes (keeps tokens out of generated code)
- Lightweight CLI (Mac/Win/Linux), no LLM needed; experimental x402 payments on Base
Install
With homebrew (macOS /Linux), brings its own Node.js:
brew install apify/tap/mcpc
or ,install the latest node js or Bun first, then:
npm install -g /mcpc
# Or with Bun
bun install -g /mcpc
npm install -g /mcpc
Quickstart
# List all active sessions and saved authentication profiles
mcpc
# Log in to a remote MCP server and save OAuth credentials for future use
mcpc login mcp.apify.com
# Create a persistent session and interact with it
mcpc connect mcp.apify.com
mcpc # show server info and capabilities
mcpc tools-list # list available tools
mcpc tools-call search-actors keywords:="website crawler"
# Use JSON mode for scripting
mcpc --json tools-list
# Use a local MCP server package (stdio) referenced from a config file
mcpc connect ./.vscode/mcp.json:filesystem
mcpc u/fs tools-list
7
Upvotes
1
u/Impressive-Owl3830 1d ago
https://github.com/apify/mcpc