mcp-server-github-repo
If you are the rightful owner of mcp-server-github-repo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server that provides access to GitHub repository contents, allowing AI assistants to browse and read files from specified GitHub repositories.
The MCP GitHub Repository Server is designed to facilitate access to GitHub repository contents through a Model Context Protocol server. It allows AI assistants to browse, list, and read files from specified GitHub repositories. The server supports access to files and directories via URIs, with the ability to specify branches for file access. It serves file contents as plain text and directories with a specific MIME type. The server requires configuration through environment variables, including a GitHub Personal Access Token for authentication. It implements key MCP endpoints for listing and reading resources, and includes error handling for common issues such as missing variables and authentication failures. The server is compatible with platforms like Claude Desktop, and provides debugging tools for development.
Features
- Access any file in a GitHub repository via URI
- List repository contents and navigate directories
- Support for branch-specific file access
- File contents are served as plain text
- Error handling for GitHub API errors and authentication failures