MCP server for interacting with a github repo
An MCP (Model Context Protocol) server that provides access to GitHub repository contents. This server allows AI assistants to browse and read files from specified GitHub repositories.

https://api.github.com/repos/{owner}/{repo}/contents/{path}text/plain MIME typeapplication/x-directory MIME typeThe server requires the following environment variables:
GITHUB_PERSONAL_ACCESS_TOKEN=your_github_token
GITHUB_OWNER=repository_owner
GITHUB_REPO=repository_name
GITHUB_BRANCH=branch_name # Optional
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
To use with Claude Desktop, add the server configuration:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json{
"mcpServers": {
"mcp-server-github-repo": {
"command": "/path/to/mcp-server-github-repo/build/index.js"
}
}
}
The server implements three main MCP endpoints:
ListResources - Lists files and directories in the repositoryReadResource - Retrieves contents of a specific fileThe server uses GitHub Personal Access Token for authentication. Make sure your token has appropriate permissions to access the repository contents.
The server includes error handling for:
Since MCP servers communicate over stdio, debugging can be challenging. Use the MCP Inspector for debugging:
npm run inspector
This will provide a URL to access debugging tools in your browser.
MIT
Audius Mcp Atris
Model Context Protocol server for Audius. Perform market research, purchase premium tracks, upload songs, and much more!
Weather Mcp Claudedesktop
An MCP (Model Context Protocol) tool that provides real-time weather data, forecasts, and historical weather information using the OpenWeatherMap API, specifically designed for Claude Desktop.
Dingding_mcp_v2