GitHub Dev Copilot
Provides tools to interact with the GitHub API, enabling AI agents to manage repositories, issues, pull requests, and analyze repository health.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GitHub Dev Copilot - MCP Server
A production-ready Model Context Protocol (MCP) server that acts as a GitHub Copilot for AI agents. It provides tools to interact with the GitHub API, allowing agents to manage repositories, issues, PRs, and analyze repository health.
Architecture
+----------------+ +-----------------------+ +-------------+
| AI Agent | ---> | GitHub MCP Server | <--> | GitHub API |
| (Client) | STDI | (Python / FastMCP) | HTTP | |
+----------------+ +-----------------------+ +-------------+
|
+-----------------------+
| Tools |
| - list_repositories |
| - read_issues |
| - create_issue |
| - comment_on_pr |
| - analyze_repo_health |
+-----------------------+Related MCP server: github-mcp-server
Features
Authentication: Securely connects using a GitHub Personal Access Token (PAT).
Tooling: Exposes robust, strictly-typed MCP tools.
Safety:
Validates inputs using Pydantic.
Rate limits API calls to prevent blocking.
Never exposes tokens.
Analysis: intelligent
analyze_repo_healthtool to score repositories.
Setup
Clone the repository (if applicable) or navigate to the project directory.
Install Dependencies:
pip install -r requirements.txtConfigure Environment: Copy
.env.exampleto.envand add your GitHub PAT.cp .env.example .env # Edit .env and set GITHUB_TOKENRun the Server: You can run it directly with Python, or via an MCP client inspector.
python main.py
Using with Claude Desktop or MCP Clients
Add the server config to your claude_desktop_config.json:
{
"mcpServers": {
"github-copilot": {
"command": "python",
"args": ["/path/to/mcp_github_dev_copilot/main.py"]
}
}
}Available Tools
1. list_repositories
Lists repositories accessible to the authenticated user.
Returns: Name, owner, private/public status, stars, language.
2. read_issues
Fetches issues from a repository.
Input:
repo_owner,repo_name,state("open", "closed", "all")Output: List of issues with ID, title, labels.
3. create_issue
Creates a new issue.
Input:
repo_owner,repo_name,title,body(markdown),labelsOutput: Issue URL and number.
4. comment_on_pr
Adds a comment to a Pull Request.
Input:
repo_owner,repo_name,pr_number,comment_textOutput: Comment URL.
5. analyze_repo_health
Performs a health check on a repository.
Checks: Open issues count, stale issues (>30 days), recent commit activity, tests presence, CI config.
Output: Health score (0-100) and improvement suggestions.
Security & Limitations
Rate Limiting: The server implements a decorator to handle GitHub rate limits by waiting or retrying.
Scopes: Ensure your PAT has
repo,read:org, andworkflowscopes.No Browser: This server uses the official GitHub API, not web scraping.
Logs: Activities are logged to
stderrto avoid interfering with MCP stdio communication.
Future Improvements
Add
update_issueandmerge_prtools.Implement file content reading/searching.
Add support for GitHub App authentication.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitHub repositories, issues, pull requests, code, and more through a comprehensive set of tools.-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with GitHub issues, pull requests, and Actions workflows through MCP tools.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI clients to manage GitHub repositories and issues and trigger repository dispatch events via tools and a REST API.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitHub repositories and issues through MCP tools, supporting listing repositories, listing and searching issues, and retrieving specific issues via the GitHub REST API.-