mcpc
Open-source (Apache-2.0) MCP command-line client from Apify that lets AI agents drive any MCP server through one Bash tool, with persistent sessions and OAuth.
What is mcpc?
mcpc mcpc is a first-party Apify project: the repository lives under the apify organization, the npm package is scoped as @apify/mcpc, and the README states the initial version was developed and launched by Apify's founder. It is a general-purpose MCP command-line client that maps MCP operations to shell commands.
Core capabilities
Full MCP coverage: Supports tools, resources, prompts, completions, tasks, skills and notifications across connected servers.
Persistent sessions: Keeps multiple server connections open in parallel and works with both stateful and stateless protocol versions.
Progressive discovery: Uses grep across sessions to find tools on demand, reducing context and token usage for agents.
Code mode: JSON output composes with jq, xargs and shell pipelines so agents can script repeatable MCP workflows.
Secure auth: Implements OAuth 2.1 with DCR, CIMD, client credentials and ID-JAG, storing credentials in the OS keychain and proxying sandboxed connections.
Access and pricing
Open source under Apache-2.0. Installs through Homebrew, Nix, npm or Bun on macOS, Linux and Windows. The tool itself does not call an LLM and can be self-hosted.
Developer details
- Integrations
- CLIMCP Client
- Platforms
- macOS, Linux, Windows
- Works with
- MCP servers, Apify, Claude Code, Codex, Cursor, Homebrew, npm, Nix, OAuth providers
- License
- Apache-2.0
Features
- One Bash tool call reaches any MCP server
- Tools, resources, prompts, tasks and skills support
- Persistent parallel sessions and protocol negotiation
- grep-based progressive tool discovery
- OAuth 2.1 with OS keychain storage
- JSON output for shell pipelines and jq