MCP GitHub Repository Server
@loglmhq
MCP GitHub Repository Server について
MCP server for interacting with a github repo
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP GitHub Repository Server?
MCP GitHub Repository Server is an MCP (Model Context Protocol) server that provides access to GitHub repository contents. It allows AI assistants to browse and read files from specified GitHub repositories via URI-based resource access.
How to use MCP GitHub Repository Server?
Configure by setting environment variables: GITHUB_PERSONAL_ACCESS_TOKEN, GITHUB_OWNER, GITHUB_REPO, and optionally GITHUB_BRANCH. Build with npm run build and add the server config to Claude Desktop’s claude_desktop_config.json. The server exposes ListResources and ReadResource endpoints.
Key features of MCP GitHub Repository Server
- Access any file in a GitHub repository via URI
- List repository contents and navigate directories
- Support for branch-specific file access
- File contents served as plain text
- Directories served with
application/x-directoryMIME type - Authentication via GitHub Personal Access Token
Use cases of MCP GitHub Repository Server
- AI assistant reads source code from a specific GitHub repository
- Browsing repository file structure without cloning
- Retrieving configuration or documentation files from a private repo
- Integrating code-level context into AI conversations
FAQ from MCP GitHub Repository Server
What does MCP GitHub Repository Server do?
It allows AI assistants to browse and read files from specified GitHub repositories using the Model Context Protocol.
What dependencies or runtime are required?
Node.js is required. Dependencies are installed with npm install. The server communicates over stdio.
How is authentication handled?
It uses a GitHub Personal Access Token set via the GITHUB_PERSONAL_ACCESS_TOKEN environment variable.
Where does repository data live?
Data is fetched from the GitHub API (https://api.github.com/repos/{owner}/{repo}/contents/{path}). It is not stored locally.
What are the known limitations?
The server notes potential repository size limitations when accessing large repositories. Invalid paths (e.g., reading a directory as a file) will cause errors.
「バージョン管理」の他のコンテンツ
Linear MCP Server
clinea private MCP server for accessing Linear
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
Linear MCP Server
jerhadfA server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
Atlassian Bitbucket MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.
Bitbucket MCP
MatanYeminiBitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs
コメント