github / github/github-mcp-server

Addressing GitHub MCP's Key Issues: Token Scopes, Verbose Prompts, and Lack of Project Context

Abierto
#1,683 13 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Go
Estrellas
33k
Forks
5k
Merge medio
2 d 1 h
PR fusionados (30 d)
52

Descripción

I’d like to share some practical difficulties I’ve encountered while using GitHub MCP, which affect both usability and workflow efficiency:

1. **Restricted Token Scope in Private Repos**
Even when invited to a private repository, my GitHub MCP token could not be used to access issues or pull requests within that project. This seems like a token permission issue and has been reported as a potential token-scope limitation.

2. **Overly Redundant and LLM-Unfriendly Prompts**
The prompts generated by GitHub MCP are often unnecessarily verbose and repetitive, making it difficult for LLMs to interact with it smoothly. This results in slower, less precise responses in agentic workflows.

3. **No Built-in “Current Project” Focus**
GitHub MCP lacks a sense of contextual focus on the specific repository I’m working in. I’d prefer a tool that automatically centers on the current project’s issues and pull requests—similar to how `gh` CLI operates within a local Git context.

These limitations make me wonder whether a solution like **opencode** could be designed to offer more targeted, context-aware interaction—essentially combining the directness of `gh` with the extensibility of an agent-friendly SDK.

Has there been any discussion about enabling opencode to handle repository-scoped issues/PRs with the kind of focused, lightweight interaction that GitHub MCP currently lacks?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.