GitHub Dev Copilot
Provides tools to interact with the GitHub API, enabling AI agents to manage repositories, issues, pull requests, and analyze repository health.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub Dev CopilotAnalyze the health of the repository 'expressjs/express' and suggest improvements."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: Narad GitHub Agent
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceMCP server that exposes GitHub operations as tools for AI agents, enabling code search, issue management, and PR review.12MIT
- Alicense-qualityDmaintenanceEnables AI-powered GitHub interactions including repository analysis, code search, PR reviews, and more through the MCP protocol.4MIT
- Flicense-qualityCmaintenanceEnables AI agents to interact with GitHub repositories, issues, pull requests, code, and more through a comprehensive set of tools.
- Flicense-qualityBmaintenanceEnables AI assistants to discover and interact with GitHub repositories through standardized MCP tools, allowing exploration and retrieval of project information without direct API calls.
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yashwant-kumar08/GitHub_Mcp_Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server