Resources

Tools & integrations

GitHub MCP server

Give an agent scoped repository context and clearly authorized GitHub actions.

CodexClaude CodeCursor
Curated from GitHubFree & paid optionsUnpinned upstream documentation snapshot · reviewed 2026-11-17; verify current version before setup

This official integration can connect repository information and GitHub operations to an AI tool. Begin with the repository and the exact data or action your task requires. Prefer a read-only capability set for research and review; do not grant broader write access merely because the server supports it.

Use the upstream instructions for the hosted or local transport supported by your client. Authentication requirements and organizational policies vary. Keep credentials out of prompts, project files, and screenshots; configure them through the supported host flow.

Verify a small permitted read, such as inspecting the relevant issue or pull request, before proceeding. A proposed code change is separate from creating a comment, changing a repository setting, or merging work. This entry records documentation review, not an authenticated end-to-end test against your account.

Get install instructions.

Documentation reviewedChecked 2026-11-17

Tool setup checked against official documentation. Pristren has not executed this workflow through this tool.

  1. Open the host-specific official guide below. Use the remote endpoint https://api.githubcopilot.com/mcp/ and the authentication flow documented for this host. GitHub Enterprise deployments can require a different endpoint.
  2. Provision a suitably scoped token through your approved credential flow as GITHUB_PAT_TOKEN in the environment that launches Codex. The command references its name; it does not create or print a token.
  3. Configure the server through Codex MCP settings or a [mcp_servers.NAME] entry in the appropriate config.toml. Use the upstream transport and authentication requirements.
  4. Read the upstream README linked below for the current endpoint or launch arguments. Configure secrets through the supported client flow, not inside a prompt.
  5. Verify a small permitted read or local test. Do not assume that connecting grants authority for write actions.

Register using an existing token environment variable

codex mcp add github --url https://api.githubcopilot.com/mcp/ --bearer-token-env-var GITHUB_PAT_TOKEN
Command reference
Official setup documentation

License and access: MIT for server source. GitHub access, API limits, and hosted use are governed by the user’s GitHub account and service terms.

Part of a bigger picture.

Sources and review notes