# GitHub MCP server

> Lets Zed's Agent Panel use GitHub tools to read repos, issues, pull requests, and other GitHub resources.

- Repository: https://github.com/LoamStudios/zed-mcp-server-github
- Page: https://hostedmcp.org/servers/loamstudios/zed-mcp-server-github
- Transport: —
- Stars: 96
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `GITHUB_PERSONAL_ACCESS_TOKEN` | no | no |  |

## FAQ

### How do I authenticate the GitHub MCP server in Zed?

OAuth is the default: on github.com no setup is needed and the server opens your browser on the first tool call. You can instead supply a fine-grained personal access token, which is required for GitHub Enterprise Server and ghe.com.

### Do I need a personal access token for GitHub Enterprise?

Yes. A token is required for GitHub Enterprise Server and ghe.com, and you can set it via the GITHUB_PERSONAL_ACCESS_TOKEN environment variable or the github_personal_access_token setting.

### How do I limit the GitHub MCP server to read-only tools?

Set the read_only setting to true, or export GITHUB_READ_ONLY in your shell environment.

### Can I choose which GitHub toolsets are enabled?

Yes, use the toolsets setting to enable specific ones such as repos, issues, and pull_requests.

### How do I install the GitHub extension for Zed?

Navigate to Zed > Extensions, or use the command palette to search for extensions.
