github / github/github-mcp-server

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

Open
#1,683 13 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
33k
Forks
5k
Avg merge
2d 1h
Merged PRs (30d)
52

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.