# Plumb [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/plumbkit/plumb  
**GitHub Stars:** 4  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/plumb

## Description
LSP-backed IDE intelligence plus concurrency-safe, transactional edits for AI coding agents.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/plumbkit/plumb), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install plumbkit/plumb/plumb
```

2. Install:

```sh
go install github.com/plumbkit/plumb/cmd/plumb@latest
```

## Documentation

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

_Full upstream README: https://allmcps.com/mcp/plumb/readme_

