# mcpc

> mcpc is a universal CLI client for MCP. It supports persistent sessions, stdio/HTTP, OAuth 2.1, tasks, JSON output for code mode, proxy for AI sandboxes, x402, and more.

- **URL**: https://www.freshcrate.ai/projects/mcpc
- **Author**: apify
- **Category**: MCP Servers
- **Latest version**: `v0.3.0` (2026-05-20)
- **License**: Apache-2.0
- **Source**: https://github.com/apify/mcpc
- **Homepage**: https://npmjs.com/package/@apify/mcpc
- **Language**: TypeScript
- **GitHub**: 512 stars, 41 forks
- **Registry**: github (`apify/mcpc`)
- **Tags**: `ai-agents`, `bash`, `claude`, `cli`, `code-mode`, `command-line`, `mcp`, `mcp-client`, `typescript`

## Description

mcpc is a universal CLI client for MCP. It supports persistent sessions, stdio/HTTP, OAuth 2.1, tasks, JSON output for code mode, proxy for AI sandboxes, x402, and more.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v0.3.0` | 2026-05-20 | High | ## Install  ```bash npm install -g @apify/mcpc@0.3.0 # or bun install -g @apify/mcpc@0.3.0 ```   ## What's Changed * Use 127.0.0.1 instead of localhost in OAuth redirect URL by @jancurn in https://github.com/apify/mcpc/pull/175 * Remove shorthand commands and improve command suggestions by @jancurn in https://github.com/apify/mcpc/pull/178 * Print task ID on Ctrl+C interrupt for async tool calls by @jancurn in https://github.com/apify/mcpc/pull/177 * Hide task-cancel hint for completed/failed ta |
| `v0.2.6` | 2026-04-15 | High | ## What's Changed * Add tasks-result command to fetch final async task results by @jancurn in https://github.com/apify/mcpc/pull/171 * Shell-quote JSON values in tool call examples by @jancurn in https://github.com/apify/mcpc/pull/172   **Full Changelog**: https://github.com/apify/mcpc/compare/v0.2.5...v0.2.6 |
| `v0.2.4` | 2026-04-07 | Medium | ## What's Changed * feat: add experimental warning to x402 init and import commands by @MQ37 in https://github.com/apify/mcp-cli/pull/132 * Add x402 payment documentation and experimental warning by @jancurn in https://github.com/apify/mcp-cli/pull/133 * Show "ESC to detach" hint immediately in spinner by @jancurn in https://github.com/apify/mcp-cli/pull/135 * Add Windows E2E tests to CI pipeline by @jancurn in https://github.com/apify/mcp-cli/pull/107 * Auto-reconnect crashed and unauthorized b |
| `v0.2.3` | 2026-03-31 | Medium | ## What's Changed * feat: display ETH and USDC balances in mcpc x402 info by @MQ37 in https://github.com/apify/mcp-cli/pull/130 * fix: avoid auto-detecting OAuth profile when --x402 is used without --profile by @MQ37 in https://github.com/apify/mcp-cli/pull/131   **Full Changelog**: https://github.com/apify/mcp-cli/compare/v0.2.2...v0.2.3 |
| `v0.2.2` | 2026-03-31 | Medium | ## What's Changed * chore(deps): update typescript-eslint monorepo to v8.57.2 by @renovate[bot] in https://github.com/apify/mcp-cli/pull/124 * chore(deps): update dependency undici to v7.24.5 by @renovate[bot] in https://github.com/apify/mcp-cli/pull/121 * chore(deps): update dependency viem to v2.47.6 by @renovate[bot] in https://github.com/apify/mcp-cli/pull/123 * Update MCP CLI clients table with metrics and new features by @jancurn in https://github.com/apify/mcp-cli/pull/126 * Upgraded pack |
| `v0.2.1` | 2026-03-30 | Medium | ## What's Changed * Fix release action: remove invalid --target flag by @jancurn in https://github.com/apify/mcp-cli/pull/114 * Replace local release script with GitHub Actions workflow trigger by @jancurn in https://github.com/apify/mcp-cli/pull/117 * Fix flaky bun e2e auth-errors test by @jancurn in https://github.com/apify/mcp-cli/pull/118 * chore(deps): update dependency viem to v2.47.5 by @renovate[bot] in https://github.com/apify/mcp-cli/pull/115 * Extract formatToolLine to shared output m |
| `v0.2.0` | 2026-03-25 | Medium | ## What's Changed * feat: Major CLI syntax overhaul to `mcpc [<@session>] [<command>]` by @jancurn in https://github.com/apify/mcp-cli/pull/29 * `parseServerArg()` now handles well Windows drive-letter config paths as well as other ambiguous cases by @jancurn in https://github.com/apify/mcp-cli/pull/34 * Split E2E tests into separate Node.js and Bun jobs by @jancurn in https://github.com/apify/mcp-cli/pull/37 * Add per-request timeout configuration support by @jancurn in https://github.com/apify |
| `v0.2.0-beta.2` | 2026-03-24 | Medium | ## What's Changed * chore(deps): update dependency viem to v2.47.4 by @renovate[bot] in https://github.com/apify/mcp-cli/pull/28 * chore(deps): update dependency @types/node to v25.4.0 by @renovate[bot] in https://github.com/apify/mcp-cli/pull/27 * chore(deps): update dependency undici to v7.24.0 [security] by @renovate[bot] in https://github.com/apify/mcp-cli/pull/75 * chore(deps): update dependency @inquirer/select to v5.1.2 by @renovate[bot] in https://github.com/apify/mcp-cli/pull/92 * chore |
| `v0.2.0-beta.1` | 2026-03-23 | Medium | ## What's Changed * Add E2E test prerequisites to CONTRIBUTING.md by @jirispilka in https://github.com/apify/mcp-cli/pull/90  ## New Contributors * @jirispilka made their first contribution in https://github.com/apify/mcp-cli/pull/90  **Full Changelog**: https://github.com/apify/mcp-cli/compare/v0.1.11-beta.5...v0.2.0-beta.1 |
| `v0.1.11-beta.5` | 2026-03-19 | Low | ## What's Changed * Fix auth loss when reconnecting unauthorized sessions by @jancurn in https://github.com/apify/mcp-cli/pull/85 * Use PAT token for release workflow to bypass branch protection by @jancurn in https://github.com/apify/mcp-cli/pull/86 * Add proxy-aware fetch for HTTP_PROXY/HTTPS_PROXY support by @jancurn in https://github.com/apify/mcp-cli/pull/87 * Fix session expiration handling and keychain fallback logic by @jancurn in https://github.com/apify/mcp-cli/pull/88 * Add evantahler |

## Citation

- HTML: https://www.freshcrate.ai/projects/mcpc
- Markdown: https://www.freshcrate.ai/projects/mcpc.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/mcpc/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
