Skip to content

MCP setupGit and releases

GitHub MCP Server

Connect your coding agent to GitHub's official MCP server to read issues, pull requests, code and Actions runs without leaving the chat.

npx workspacetemplates add github-mcp --tool claude-code

Writes 1 file to your project root

.mcp.jsonmerge into your file11 lines · 196 BFile
{
  "mcpServers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer ${GITHUB_PAT}"
      }
    }
  }
}

What it does

GitHub's official MCP server lets an agent search code, read and comment on issues and pull requests, and check Actions runs on the repositories your token can see.

This setup uses the hosted server, so there is nothing to install: add the config and give it a personal access token.

Example

you › Which open issues are labeled bug and have no assignee?

agent › 4 issues: #212 Login fails on Safari, #219 CSV export drops the last row, ...

Questions

Where do I get a token?
GitHub Settings, Developer settings, Personal access tokens. Give it only the scopes you need.
Can it push code?
Only if your token allows it. A read-only token keeps it read-only.
  • Git MCP Server

    MCP setupGit and releases

    Free
  • GitLab MCP Server

    MCP setupGit and releases

    Free
  • Git Bisect Regression

    SkillGit and releases

    Free
  • Git Conflict Resolution

    SkillGit and releases

    Free