
vooster-ai/github-fetcher-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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"]
}
}
}