GitHub Dev Copilot
GitHub Dev Copilot - MCP Server
Ein produktionsreifer Model Context Protocol (MCP)-Server, der als GitHub Copilot für KI-Agenten fungiert. Er stellt Tools zur Interaktion mit der GitHub-API bereit, mit denen Agenten Repositorys, Issues, PRs verwalten und die Repository-Gesundheit analysieren können.
Architektur
+----------------+ +-----------------------+ +-------------+
| 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
Funktionen
Authentifizierung: Verbindet sich sicher über ein GitHub Personal Access Token (PAT).
Tooling: Stellt robuste, streng typisierte MCP-Tools bereit.
Sicherheit:
Validiert Eingaben mit Pydantic.
Begrenzt API-Aufrufe (Rate Limiting), um Blockierungen zu verhindern.
Gibt niemals Token preis.
Analyse: Intelligentes
analyze_repo_health-Tool zur Bewertung von Repositorys.
Einrichtung
Repository klonen (falls zutreffend) oder in das Projektverzeichnis wechseln.
Abhängigkeiten installieren:
pip install -r requirements.txtUmgebung konfigurieren: Kopieren Sie
.env.examplein.envund fügen Sie Ihr GitHub-PAT hinzu.cp .env.example .env # Edit .env and set GITHUB_TOKENServer ausführen: Sie können ihn direkt mit Python oder über einen MCP-Client-Inspektor ausführen.
python main.py
Verwendung mit Claude Desktop oder MCP-Clients
Fügen Sie die Serverkonfiguration zu Ihrer claude_desktop_config.json hinzu:
{
"mcpServers": {
"github-copilot": {
"command": "python",
"args": ["/path/to/mcp_github_dev_copilot/main.py"]
}
}
}Verfügbare Tools
1. list_repositories
Listet Repositorys auf, die für den authentifizierten Benutzer zugänglich sind.
Rückgabe: Name, Besitzer, privat/öffentlich-Status, Sterne, Sprache.
2. read_issues
Ruft Issues aus einem Repository ab.
Eingabe:
repo_owner,repo_name,state("open", "closed", "all")Ausgabe: Liste der Issues mit ID, Titel, Labels.
3. create_issue
Erstellt ein neues Issue.
Eingabe:
repo_owner,repo_name,title,body(Markdown),labelsAusgabe: Issue-URL und -Nummer.
4. comment_on_pr
Fügt einem Pull Request einen Kommentar hinzu.
Eingabe:
repo_owner,repo_name,pr_number,comment_textAusgabe: Kommentar-URL.
5. analyze_repo_health
Führt eine Gesundheitsprüfung für ein Repository durch.
Prüfungen: Anzahl offener Issues, veraltete Issues (>30 Tage), aktuelle Commit-Aktivität, Vorhandensein von Tests, CI-Konfiguration.
Ausgabe: Gesundheits-Score (0-100) und Verbesserungsvorschläge.
Sicherheit & Einschränkungen
Ratenbegrenzung: Der Server implementiert einen Dekorator, um GitHub-Ratenbegrenzungen durch Warten oder erneutes Versuchen zu behandeln.
Bereiche (Scopes): Stellen Sie sicher, dass Ihr PAT die Bereiche
repo,read:orgundworkflowbesitzt.Kein Browser: Dieser Server verwendet die offizielle GitHub-API, kein Web-Scraping.
Protokolle: Aktivitäten werden in
stderrprotokolliert, um die MCP-Stdio-Kommunikation nicht zu beeinträchtigen.
Zukünftige Verbesserungen
Tools
update_issueundmerge_prhinzufügen.Lesen/Durchsuchen von Dateiinhalten implementieren.
Unterstützung für die GitHub-App-Authentifizierung hinzufügen.
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