Repo Bridge MCP logo

Repo Bridge MCP

Lets ChatGPT and other MCP clients read, edit, test, and manage local or remote repositories.

Install Repo Bridge MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "repo-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "repo-bridge-mcp"
      ],
      "env": {
        "REPO_BRIDGE_WORKSPACES": "YOUR_VALUE_HERE",
        "REPO_BRIDGE_TOKEN": "YOUR_VALUE_HERE",
        "REPO_BRIDGE_AUTH": "YOUR_VALUE_HERE",
        "REPO_BRIDGE_PERMISSION": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y repo-bridge-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

repo-bridge-mcp connects ChatGPT Web, Claude Code, Cursor, and other MCP clients to local repositories or cloned GitHub and GitLab workspaces. It exposes tools for inspecting and editing files, running builds, tests, and linting, managing Git, and creating pull or merge requests. The bridge executes tool calls without calling an LLM API, so reasoning remains in the client session. Reach for it when you want an agent to work directly in a repository while controlling access through permissions, OAuth, and workspace settings.

Use cases

  • Inspect a repository and produce a project brief
  • Implement changes and edit files in place
  • Run builds, tests, and lint checks
  • Create branches, commits, and pull requests
  • Clone and work on GitHub or GitLab repositories

Key features

  • Workspace discovery and remote repository cloning
  • File reading, search, and anchor-based editing
  • Build, test, lint, and approved command execution
  • Branch, commit, push, and synchronization tools
  • Pull request and merge request creation
  • OAuth 2.1 and permission-based tool exposure

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

6/6 checks healthy over the last 20d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · repo-bridge-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads6.4kPackage downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Repo Bridge MCP works

What repo-bridge-mcp does

repo-bridge-mcp provides an MCP interface for working on repositories from an AI coding session. It can inspect a project, search and modify files, execute supported development commands, manage local Git state, and create pull requests or merge requests. Work can begin with a repository already on disk, or with a GitHub or GitLab repository cloned into an isolated managed workspace.

The server is intended for workflows such as implementing a change, running the relevant checks, investigating failures, committing on a branch, and opening a review request. Its workspace_open operation gathers repository languages, build tooling, detected build, test, and lint commands, module structure, Git state, and project instruction files such as AGENTS.md or CLAUDE.md.

How it works

The MCP client supplies the model reasoning, while repo-bridge-mcp performs the requested repository operations. It does not call an OpenAI or other LLM API and does not contain model logic. For local use, the server can run over stdio. ChatGPT Web uses the HTTP endpoint with OAuth 2.1, dynamic client registration, and PKCE; a tunnel such as Cloudflare Tunnel can expose the local HTTP service.

Permission is selected when the process starts. read_only exposes inspection tools, edit adds file creation and modification, develop also allows builds, tests, linting, approved commands, and local Git operations, and full adds pushing and pull or merge request creation. Tools above the selected level are not advertised to the model. ChatGPT also asks for confirmation before write actions, commands, and Git operations by default.

Setup and configuration

Node.js 22 or newer and Git are required. ripgrep is optional and can speed up searches in large repositories. The package can be launched with npx repo-bridge-mcp --stdio, installed globally with npm, or built from a source checkout.

For stdio clients, provide repositories through REPO_BRIDGE_WORKSPACES, for example demo=/path/to/project. ChatGPT Web requires HTTP mode, REPO_BRIDGE_AUTH=oauth, a generated REPO_BRIDGE_TOKEN, and a workspace list. The connector is added from ChatGPT's Developer mode under Settings, Connectors, and Advanced. The OAuth flow uses a passphrase entered during browser authorization.

Authentication modes also include path-token for development tunnels, curl, and MCP Inspector, and none for loopback use. Public use with none is refused unless explicitly overridden. REPO_BRIDGE_PERMISSION controls the operation level independently from authentication.

Tools and capabilities

The server exposes 30 tools at the full permission level, grouped into several areas:

  • Workspace discovery, opening, closing, status inspection, and remote repository cloning.
  • Directory listing, file reads, code search, file finding, writing, anchored edits, moves, deletion, directory creation, and file metadata.
  • Command execution, build, test, and lint operations. Test execution can identify common ecosystems including Maven, Gradle, npm, pnpm, yarn, pytest, Cargo, Go, .NET, and Make.
  • Git status, diffs, logs, branches, commits, pushes, synchronization, and restoration.
  • Pull request or merge request creation and change reporting.

The operator CLI includes commands to list authorized clients and revoke an authorization. Session state can be resumed later with branch, working-tree, and bridge changes preserved.

Limitations and notes

ChatGPT Web requires a Plus or Pro plan for custom MCP connectors in Developer mode; the free tier cannot add them. Business, Enterprise, and Edu access is described as beta. Plan rate limits still apply.

The server requires an explicit permission choice and uses workspace sandboxing, an executable allowlist, protected branches, unreadable credential files, OAuth 2.1, and audit logging as part of its security model. Repository content can still influence the model, so deployments should use an appropriate permission level and workspace scope. Code remains on the local machine or VPS rather than being sent to a cloud coding agent, while the bridge receives tool-call arguments from the client.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Repo Bridge MCP

repo-bridge-mcp is an MCP server that connects ChatGPT Web, Claude Code, Cursor, and other MCP clients to local repositories or GitHub and GitLab workspaces. Its main tools read, search, edit, build, test, lint, and manage Git repositories, with optional push and pull request capabilities controlled by permissions.

Install it with `npm install -g repo-bridge-mcp` or run it directly with `npx repo-bridge-mcp --stdio`. Node.js 22 or newer and Git are required. For a source installation, clone the repository, run `npm install`, and build it with `npm run build`.

Yes, repo-bridge-mcp works with Cursor over stdio. Set `REPO_BRIDGE_WORKSPACES` to a repository mapping such as `demo=/path/to/project`, then start the server with `npx repo-bridge-mcp --stdio` and configure it as an MCP server in Cursor.

Run the server in HTTP mode with OAuth enabled, expose its endpoint through a tunnel, and add the endpoint as a custom connector in ChatGPT Developer mode. Set `REPO_BRIDGE_TOKEN`, `REPO_BRIDGE_AUTH=oauth`, and `REPO_BRIDGE_WORKSPACES`; ChatGPT discovers the OAuth metadata and prompts for the passphrase during authorization.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRepo Bridge MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/repo-bridge-mcp?style=directory)](https://allmcps.com/mcp/repo-bridge-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/repo-bridge-mcp"><img src="https://allmcps.com/api/badge/repo-bridge-mcp?style=directory" alt="Repo Bridge MCP on AllMCPs" /></a>