ghtier
← All keys & policies
Key·repository

Token for the built-in GitHub MCP server

Tier 3 · LowData

Why Tier 3

By default a specially scoped token that can only read the current repository. A repository administrator can replace it with a personal access token or GitHub App with wider access, and then it carries whatever that token can do.

The credential the default GitHub MCP server uses when Copilot cloud agent or code review calls it. Read-only and limited to the current repository unless the MCP configuration supplies another token.

Available on: Free (with a Copilot plan), Team (with a Copilot plan), Enterprise Cloud, EMU. Source

Attack path

A broader token here gives a prompt-injected agent reach into other repositories, which is how private code ends up in public issues. The default read-only token cannot do that.

Mitigations

Detect

Nothing in the organization or enterprise audit log shows this. Review it on a schedule instead.

Related permissions

GitHub Docs: Customizing the built-in GitHub MCP server