zed -github
A GitHub MCP Server extension for Zed
claude mcp add --transport stdio loamstudios-zed-mcp-server-github npx -y github-mcp-server \ --env GITHUB_PERSONAL_ACCESS_TOKEN="GitHub personal access token with repo permissions"
How to use
This MCP server extension connects Zed's Agent Panel to a GitHub-based MCP server, enabling context-aware capabilities powered by GitHub data. Once installed, the server can provide contextual information and tooling derived from a GitHub MCP server, making it easier to access repository-level insights, events, and workflows directly from Zed's extension system. To use it, configure the extension with your GitHub personal access token so the MCP server can authenticate with GitHub and fetch repository data on demand. In Zed, you’ll interact with this MCP server through the context servers settings and the Agent Panel, which surfaces GitHub-driven context for your coding sessions and workflows.
How to install
Prerequisites:
- Node.js and npm installed on your machine
- Zed editor installed with Extensions support
- A GitHub personal access token with repo permissions
Installation steps:
-
Ensure you have Node.js and npm installed. You can verify with: node -v npm -v
-
In your project or workspace, install the MCP server extension package via npx (as configured in the mcp_config): Note: The actual package name is github-mcp-server as indicated in the configuration snippet. npx -y github-mcp-server
-
Open Zed and navigate to Extensions. Find and install the GitHub MCP Server extension if not already added via the workflow you use for MCP servers.
-
Configure the MCP server in Zed to supply your GitHub PAT:
- In Zed, go to the Extensions > GitHub MCP Server section (or the appropriate Extensions panel).
- Add the context_servers configuration exactly as shown in the README snippet: { "context_servers": { "mcp-server-github": { "settings": { "github_personal_access_token": "<GITHUB_PERSONAL_ACCESS_TOKEN>" } } } }
-
Save settings and restart Zed if required. The MCP server should now initialize and provide GitHub-based context to the Agent Panel.
Additional notes
Notes and tips:
- Ensure your GitHub PAT has the necessary repo permissions to access the repositories you want to contextually query.
- The MCP server may require network access to reach GitHub APIs; ensure your firewall allows the connection.
- If the MCP server fails to start, check the environment variable GITHUB_PERSONAL_ACCESS_TOKEN is set correctly and not expired.
- This extension relies on the external GitHub MCP Server package; verify compatibility with your Zed version and Node.js environment.
- For troubleshooting, look at the MCP server logs produced by the npx run; common issues include authentication errors or rate limiting from GitHub APIs.
Related MCP Servers
CoexistAI
CoexistAI is a modular, developer-friendly research assistant framework . It enables you to build, search, summarize, and automate research workflows using LLMs, web search, Reddit, YouTube, and mapping tools—all with simple MCP tool calls or API calls or Python functions.
Gitingest
mcp server for gitingest
github-brain
An experimental GitHub MCP server with local database.
turbovault
MCP server that transforms your Obsidian vault into an intelligent knowledge system
mcp-loxone
An opinionated Model Context Protocol (MCP) server for controlling Loxone home automation systems.
prometheus
Prometheus MCP Server