Credentials. A personal access token grants whatever scopes you gave it; use the narrowest scopes and never paste it into a chat.
Who it is forA developer who wants the agent to read repos and manage issues without copy-pasting links.
The problemAgents cannot see issues, PRs or CI unless you paste them in by hand.
The outcomeAn agent that can query your repos, issues, PRs and workflow runs in natural language.
What you need first
- A GitHub account
- An MCP host such as VS Code, Claude Code or Cursor
- For local use: Docker and a GitHub personal access token
Steps
- Add a server named github of type http with the URL https://api.githubcopilot.com/mcp/ to your host's MCP config
- Sign in with OAuth, or pass a personal access token in the Authorization header
- Ask the agent about open issues, recent commits or a PR
Prompt for your agent
Connect github/github-mcp-server (remote) to my MCP host, then list the open issues in <owner/repo> labeled bug, grouped by area, with a one-line suggested next step for each.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for github/github-mcp-server and "Connect your agent to GitHub with the hosted MCP server"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer