본문으로 건너뛰기
Skillpedia
에이전트40k · #7277

mcp-cli

하는 일

이 도구는 간단한 명령으로 컴퓨터의 다른 프로그램과 데이터를 사용하도록 합니다. 파일, 데이터베이스, 기타 도구에 접근하는 원격 조종기와 같습니다.

사용하는 경우

  • ✓사용 가능한 도구가 무엇인지 보고 싶을 때.
  • ✓특정 도구를 자세한 정보와 함께 사용해야 할 때.
  • ✓특정 데이터로 도구를 실행하고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/mcp-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/mcp-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“어떤 도구를 쓸 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

사용할 서버나 도구를 지정하는 명령을 입력하고, 필요하면 특정 형식(JSON)으로 필요한 정보를 제공합니다. 도구는 작업을 수행하고 결과를 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

MCP-CLI

Access MCP servers through the command line. MCP enables interaction with external systems like GitHub, filesystems, databases, and APIs.

Commands

Command Output
mcp-cli List all servers and tool names
mcp-cli <server> Show tools with parameters
mcp-cli <server>/<tool> Get tool JSON schema
mcp-cli <server>/<tool> '<json>' Call tool with arguments
mcp-cli grep "<glob>" Search tools by name

Add -d to include descriptions (e.g., mcp-cli filesystem -d)

Workflow

  1. Discover: mcp-cli → see available servers and tools
  2. Explore: mcp-cli <server> → see tools with parameters
  3. Inspect: mcp-cli <server>/<tool> → get full JSON input schema
  4. Execute: mcp-cli <server>/<tool> '<json>' → run with arguments

Examples

# List all servers and tool names
mcp-cli

# See all tools with parameters
mcp-cli filesystem

# With descriptions (more verbose)
mcp-cli filesystem -d

# Get JSON schema for specific tool
mcp-cli filesystem/read_file

# Call the tool
mcp-cli filesystem/read_file '{"path": "./README.md"}'

# Search for tools
mcp-cli grep "*file*"

# JSON output for parsing
mcp-cli filesystem/read_file '{"path": "./README.md"}' --json

# Complex JSON with quotes (use heredoc or stdin)
mcp-cli server/tool <<EOF
{"content": "Text with 'quotes' inside"}
EOF

# Or pipe from a file/command
cat args.json | mcp-cli server/tool

# Find all TypeScript files and read the first one
mcp-cli filesystem/search_files '{"path": "src/", "pattern": "*.ts"}' --json | jq -r '.content[0].text' | head -1 | xargs -I {} sh -c 'mcp-cli filesystem/read_file "{\"path\": \"{}\"}"'

Options

Flag Purpose
-j, --json JSON output for scripting
-r, --raw Raw text content
-d Include descriptions

Exit Codes

  • 0: Success
  • 1: Client error (bad args, missing config)
  • 2: Server error (tool failed)
  • 3: Network error
자주 묻는 질문

MCP가 무엇인가요?

서로 다른 프로그램이 통신하고 다른 시스템의 데이터나 기능에 접근하도록 하는 프로토콜입니다.

JSON이란 무엇인가요?

프로그램 사이에서 정보를 정리하고 교환하는 데 쓰는 간단한 텍스트 형식입니다. 이름과 값이 있는 정리된 목록과 같습니다.

도구에 어떤 정보를 줘야 하는지 어떻게 아나요?

특정 도구의 세부 정보를 요청(예: `mcp-cli tool_name`)하면 어떤 정보를 기대하는지 알 수 있습니다.

상세 정보

작성자의 원본 설명

Interface for MCP (Model Context Protocol) servers via CLI. Use when you need to interact with external tools, APIs, or data sources through MCP servers, list available MCP servers/tools, or call MCP tools from command line.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7277
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬