EA

eirikb/any-cli-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

24 stars 8 forks 품질 56 트렌드 10MIT

모든 변환 (무엇) CLI to proper MCP server with tools mapped based on CLI help

개요

--help output을 가지고 있는 모든 CLI 도구와 함께 작동합니다. 더 나은 성능을 위해 캐시를 먼저 구축:

개요(AI 번역)

모든 CLI 도구를 MCP 서버에 켭니다.

MCP 도구를 구축하기 위해 --help를 사용합니다.

--help 출력을 가지고 있는 모든 CLI 도구와 함께 작동합니다.

빠른 시작

설치

더 빠른 시작 (선택, 그러나 아주 추천되는)

더 나은 성능을 위해 캐시를 먼저 구축:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

any-cli-mcp-server

Turn any CLI tool into an MCP server.

Uses the --help to build MCP tools.

Works with any CLI tool that has --help output.

Quick Start

# Use with GitHub CLI
npx any-cli-mcp-server gh

# Use with Azure CLI
npx any-cli-mcp-server az

# Use with Git
npx any-cli-mcp-server git

Setup

{
  "mcpServers": {
    "github-cli": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "gh"]
    },
    "azure-cli": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "az"]
    },
    "git-from-cache": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "git_cache.json"]
    }
  }
}

Build a cache first for better performance:

# Build cache
npx any-cli-mcp-server --cache-build gh

# Use cache
npx any-cli-mcp-server gh_cache.json
GitHub에서 전체 README 보기

설치

npx -y any-cli-mcp-server gh
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "github-cli": { "command": "npx", "args": ["-y", "any-cli-mcp-server", "gh"] }, "azure-cli": { "command": "npx", "args": ["-y", "any-cli-mcp-server", "az"] }, "git-from-cache": { "command": "npx", "args": ["-y", "any-cli-mcp-server", "git_cache.json"] } } }