
vooster-ai/github-fetcher-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
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": {
Установка
npx -y github-fetcher-mcp --repoIdentifier facebook/react/mainКонфигурация
{
"mcpServers": {
"github-fetcher": {
"command": "npx",
"args": ["-y", "github-fetcher-mcp", "--repoIdentifier", "facebook/react/main"]
}
}
}