Plumb logo

Plumb

Gives coding agents LSP-aware navigation, guarded edits, diagnostics, and coordination through one MCP daemon.

Install Plumb

Run the project’s own setup commands, in order.

Setup steps from the project

Plumb installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    brew install plumbkit/plumb/plumb
    
  2. 2. Install
    go install github.com/plumbkit/plumb/cmd/plumb@latest
    

Overview

Plumb MCP server gives coding agents IDE-style intelligence through LSP semantics, a tree-sitter index, and project memory. Its tools support symbol navigation, reference discovery, refactoring, diagnostics, and transactional file edits with per-path locking and rollback. A shared daemon records workspace activity and provides peer messaging, optional intents, and durable findings for multi-agent work. Reach for Plumb when agents need precise code changes, concurrency protection, and controlled filesystem or Git access.

Use cases

  • Inspect symbol references and change impact before editing
  • Apply coordinated multi-file refactors with rollback protection
  • Prevent stale concurrent edits from overwriting newer work
  • Coordinate coding agents working in the same workspace
  • Restrict agent access to selected filesystem and Git scopes

Key features

  • LSP-backed symbol navigation and refactoring
  • Tree-sitter indexing for search and navigation
  • Atomic, lock-serialized, transactional writes
  • Inline diagnostics after writes
  • Crash-resilient shared daemon
  • Cross-agent sessions, messaging, and project findings

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.

13/13 checks healthy over the last 78d

Adoption & maintenance

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

GitHub stars4Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.

How Plumb works

What Plumb does

Plumb brings several editor-like capabilities to coding agents through MCP. It combines language-server data, a built-in tree-sitter index, project memory, and guarded repository operations in a single binary. Agents can inspect symbols and call sites instead of loading entire files, receive diagnostics after writes, and apply changes without bypassing concurrency controls.

The server is designed for both individual and multi-agent workflows. A shared daemon records which sessions have written to a workspace, lets agents exchange threaded messages, and can retain searchable findings beyond the session that created them.

How it works

A connected agent starts with session_start, which returns workspace information, the current branch, recent commits, diagnostics, and project memory in one response. Language features come from an available LSP server, while tree-sitter supplies indexing and navigation when an LSP is unavailable. Go and Python receive first-class support through gopls and pyright; additional validated language integrations include Java, Rust, Swift, TypeScript/JavaScript, Zig, Kotlin, and HTML when their language servers are available on PATH.

Writes go through a daemon that stages each file in a temporary location before replacing the original. Per-path locks serialize competing writes, and multi-file transactions can roll back when a step fails. Optimistic checks based on modification time or content hashes reject stale edits. If the daemon crashes or hangs, plumb serve can respawn it and replay the connection handshake without silently repeating in-flight writes.

Setup and configuration

Install the binary with Homebrew, go install github.com/plumbkit/plumb/cmd/plumb@latest, or a prebuilt release. On macOS, a downloaded binary may require removing the quarantine attribute before its first run; Homebrew installations avoid that step.

Run plumb setup with a supported client name such as claude-code, claude-desktop, codex, gemini, or cursor to write the MCP configuration automatically. The required language server must also be installed and available on PATH. For a directory without project metadata or Git, plumb init pins the workspace root and creates project context and configuration files.

Access is controlled with per-connection filesystem roots that distinguish read-only and read-write areas. Git operations use tiers, with destructive and network actions disabled unless explicitly permitted. Collaboration options such as intents and knowledge handoff are opt-in; workspace session activity and same-workspace messaging are enabled by default.

Tools and capabilities

  • session_start bootstraps an agent with workspace, Git, diagnostics, and memory context.
  • rename_symbol, replace_symbol_body, and safe_delete_symbol use LSP semantics for structured changes.
  • Symbol search, definition lookup, and find_references expose code relationships and call sites.
  • Write operations provide inline diagnostics and enforce atomic replacement, locking, stale-edit checks, and transactional rollback.
  • workspace_sessions shows active sessions and their recorded writes, including failed or refused attempts.
  • leave_note and check_messages provide a threaded mailbox between agents in the same workspace.
  • Optional share_intent and share_findings support advisory coordination and searchable project memory.

Limitations and notes

Plumb depends on the language server for full semantic features. Without one, its built-in tree-sitter index still supports search and navigation, but LSP-backed refactors and diagnostics require the relevant server. Coordination is advisory: messages and intents do not replace the write-safety mechanisms, and intents never block edits.

Read-only operations are not included in the daemon's recorded write activity. Failed or refused writes remain visible and are marked so agents can distinguish attempted work from changes that actually landed. The server is distributed as a single binary, but external language servers must be installed separately when semantic support is needed.

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 Plumb

Plumb is an MCP server that connects coding agents to language servers, a tree-sitter code index, project memory, and guarded filesystem and Git operations. Its main tools provide session bootstrapping, symbol search, reference discovery, LSP-backed refactoring, diagnostics, transactional writes, and coordination between agents sharing a workspace.

Install Plumb with Homebrew, `go install github.com/plumbkit/plumb/cmd/plumb@latest`, or a prebuilt binary. Then run `plumb setup` with a supported client name to create its MCP configuration. Install any required language server separately and make sure it is available on `PATH`.

Yes, Plumb supports Cursor through `plumb setup cursor`, which writes the MCP configuration for the client. The same setup command also supports Claude Code, Claude Desktop, Codex, and Gemini.

Plumb serializes writes per path, checks modification-time or hash guards for stale edits, and supports multi-file transactions with rollback. Its shared daemon also records session writes and provides optional messaging and intent sharing, while coordination remains advisory.

Plumb has first-class Go and Python support through `gopls` and `pyright`, plus validated support for Java, Rust, Swift, TypeScript and JavaScript, Zig, Kotlin, and HTML. The relevant language server must be installed on `PATH`; tree-sitter indexing provides search and navigation without one.

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 PreviewPlumb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/plumb?style=directory)](https://allmcps.com/mcp/plumb)
HTML Embed
<a href="https://allmcps.com/mcp/plumb"><img src="https://allmcps.com/api/badge/plumb?style=directory" alt="Plumb on AllMCPs" /></a>