
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP용 범용 CLI 클라이언트입니다. MCPC는 영구 세션, stdio/HTTP, OAuth 2.1, 태스크, 코드 모드용 JSON 출력, AI 샌드박스용 프록시, x402 등 다양한 기능을 지원합니다.
개요
mcpc는 모델 컨텍스트 프로토콜(MCP)의 명령줄 클라이언트로, 모든 MCP 작업을 인터랙티브 셸 사용, 스크립팅, AI 에이전트를 위한 직관적인 명령어로 매핑합니다. mcpc는 MCP를 위한 새로운 스위스 아미 나이프입니다. MCP 서버를 수동으로 점검하고 디버깅하거나, 반복 가능한 MCP 워크플로우를 일반 셸로 스크립트화하거나, 가장 보편적인 인터페이스인 UNIX 셸을 통해 AI 코딩 에이전트에게 현대 MCP의 모든 힘을 제공하는 데 손을 뻗으세요. - 🔧 - 도구, 프롬프트, 리소스, 비동기 작업, 기술, 알림, 그리고 stdio 및 Streamable HTTP를 통한 로그. - 🔄 - 서로 다른 서버에 여러 상태 연결을 병렬로 유지함. - 🗺️ - 토큰을 저장하고 정확도를 높이기 위해 관련 MCP 도구를 실시간으로 찾아. - 🔌 JSON 출력은 jq, xargs, shell 파이프라인과 함께 MCP 워크플로우를 셸 스크립트로 조합합니다. - 🔒 CIMD 및 DCR을 포함한 완전한 OAuth 2.1 지원, 자격 증명 저장을 위한 OS 키체인 사용. - 🤖 - AI 생성 코드로부터 자격 증명을 보호하기 위한 프록시 MCP 서버 연결.
개요(AI 번역)
mcpc는 모델 컨텍스트 프로토콜(MCP)을 위한 명령줄 클라이언트입니다
이 명령은 모든 MCP 작업을 직관적인 셸 명령어로 매핑합니다.
MCP 서버를 수동으로 점검하고 디버깅하거나, 일반 셸에서 반복 가능한 MCP 워크플로우를 스크립트화하거나,
AI 에이전트가 단일 Bash() 툴 호출을 통해 전체 MCP 프로토콜을 제공하여, 어떤 MCP와도 상호작용할 수 있게 합니다
서버와 최신 기능을 가장 보편적인 프로그래밍 인터페이스인 UNIX 셸을 사용합니다.
주요 특징:
- 🔧 완전한 MCP 지원 - 도구, 프롬프트, 리소스, 비동기 작업, 기술, 알림, 그리고 stdio 및 Streamable HTTP를 통한 로그.
- 🔄 영구 세션 - 서버 프로토콜이 상태 기반 프로토콜이든 상태 없는 프로토콜이든 여러 서버에 대한 연결을 병렬로 유지합니다.
- 🗺️ 점진적 도구 발견 - 관련 MCP 도구를 즉시 찾아 토큰을 절약하고 정확도를 높입니다.
- 🔌 코드 모드 - JSON 출력은
jq,xargs, 그리고 MCP 워크플로우용 셸 파이프라인과 함께 셸 스크립트로 구성됩니다. - 🔒 Secure - CIMD와 DCR을 통한 완전한 OAuth 2.1 지원, 자격 증명 저장을 위해 OS 키체인을 사용합니다.
- 🤖 AI 샌드박싱 - AI 생성 코드로부터 자격 증명을 보호하기 위한 프록시 MCP 서버 연결.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
mcpc — a universal MCP CLI client
mcpc is a command-line client for the Model Context Protocol (MCP)
that maps every MCP operation to an intuitive shell command.
Use it to manually inspect and debug MCP servers, to script repeatable MCP workflows in plain shell, or to
give AI agents the full MCP protocol through a single Bash() tool call, so they can interact with any MCP
server and its latest capabilities using the most universal programming interface there is: the UNIX shell.
Key features:
- 🔧 Full MCP support - Tools, prompts, resources, async tasks, skills, notifications, and logging over stdio and Streamable HTTP.
- 🔄 Persistent sessions - Keep connections to multiple servers alive in parallel, whether the server protocol is stateful or stateless.
- 🗺️ Progressive tool discovery - Find relevant MCP tools on the fly to save tokens and increase accuracy.
- 🔌 Code mode - JSON output composes with
jq,xargs, and shell pipelines for MCP workflows as shell scripts. - 🔒 Secure - Full OAuth 2.1 support with CIMD and DCR, uses OS keychain for credentials storage.
- 🤖 AI sandboxing - Proxy MCP server connections to protect credentials from AI-generated code.
- 🪶 Lightweight - Minimal dependencies, works on Mac/Win/Linux, doesn’t use LLMs on its own.
- 💸 Agentic payments - Experimental support for the x402 protocol on Base.
mcpc is the most MCP specification-compliant CLI client available:
the only one that covers tools, resources, prompts, async tasks, and skills, plus the OAuth client-credentials and
enterprise-managed authorization extensions, on the latest protocol version. Here’s how it compares to other MCP CLI
clients (see Related work for the full table, legend, and notes):

Table of contents
설치
npx -y @modelcontextprotocol/server-filesystem /tmp설정
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com",
"headers": {
"Authorization": "Bearer ${APIFY_TOKEN}"
}
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
"env": {
"DEBUG": "mcp:*"
}
},
"local-package": {
"command": "node",
"args": ["/path/to/server.js"]
}
}
}