VA

vooster-ai/github-fetcher-mcp

Developer tools

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

12 stars 6 forks 품질 69 트렌드 19MIT

MCP (Model Context Protocol) server for fetching GitHub repository files and directory trees.

개요

MCP (Model Context Protocol) server for fetching GitHub repository files and directory trees. - : Fetch raw file content from GitHub repositories - : Fetch directory tree structure in unix tree format - ⭐ NEW: Enhanced directory tree with file sizes, depth limits, statistics, and filtering - Flexible configuration via CLI arguments or per-request parameters - Built with TypeScript for type safety - Comprehensive test coverage (79 tests) To install GitHub Fetcher MCP Server for any client automatically via Smithery: Available clients: cursor, claude, vscode, windsurf, cline, zed, etc. This will automatically configure the MCP server in your chosen client. GitHub Fetcher MCP can be integrated with various AI coding assistants and IDEs that support the Model Context Protocol (MCP). - Node.js >= v18.0.0 - An MCP-compatible client (Cursor, Claude Code, VS Code, Windsurf, etc.) Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server

README

원문 README의 일부입니다. 원문 보기.

GitHub Fetcher MCP

MCP (Model Context Protocol) server for fetching GitHub repository files and directory trees.

Features

  • fetch-file: Fetch raw file content from GitHub repositories
  • fetch-subdir-tree: Fetch directory tree structure in unix tree format
  • fetch-sub-tree ⭐ NEW: Enhanced directory tree with file sizes, depth limits, statistics, and filtering
  • Flexible configuration via CLI arguments or per-request parameters
  • Built with TypeScript for type safety
  • Comprehensive test coverage (79 tests)

Installation

NPM

npm install -g github-fetcher-mcp

Smithery

To install GitHub Fetcher MCP Server for any client automatically via Smithery:

npx -y @smithery/cli@latest install github-fetcher-mcp --client 

Available clients: cursor, claude, vscode, windsurf, cline, zed, etc.

Example for Cursor:

npx -y @smithery/cli@latest install github-fetcher-mcp --client cursor

This will automatically configure the MCP server in your chosen client.

MCP Client Integration

GitHub Fetcher MCP can be integrated with various AI coding assistants and IDEs that support the Model Context Protocol (MCP).

Requirements

  • Node.js >= v18.0.0
  • An MCP-compatible client (Cursor, Claude Code, VS Code, Windsurf, etc.)

Add this to your VS Code MCP config file. See VS Code MCP docs for more info.

"mcp": {
GitHub에서 전체 README 보기

설치

npx -y github-fetcher-mcp --repoIdentifier facebook/react/main
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "github-fetcher": { "command": "npx", "args": ["-y", "github-fetcher-mcp", "--repoIdentifier", "facebook/react/main"] } } }