Get the FREE Ultimate OpenClaw Setup Guide →

zed -github

A GitHub MCP Server extension for Zed

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
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:

  1. Ensure you have Node.js and npm installed. You can verify with: node -v npm -v

  2. 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

  3. 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.

  4. 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>" } } } }
  5. 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

Sponsor this space

Reach thousands of developers