Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Prerequisites

Install Catenary

cargo install --git https://github.com/TwoWells/Catenary catenary-mcp

Connect to Your AI CLI

The catenary binary must be on your PATH before configuring any client. Plugins and extensions provide hooks and MCP server declarations but do not include the binary.

claude plugin marketplace add TwoWells/Catenary
claude plugin install catenary@catenary

The plugin registers the MCP server and all hooks (post-edit diagnostics, editing state enforcement, root sync, agent lifecycle).

gemini extensions install https://github.com/TwoWells/Catenary

The extension registers the MCP server and all hooks.

Manual MCP registration

For other clients, or if you prefer manual setup:

{
  "mcpServers": {
    "catenary": {
      "command": "catenary"
    }
  }
}

This registers the MCP server only. Without the plugin/extension, you will not get post-edit diagnostics or editing state enforcement.

Verify

catenary doctor

For each configured server, doctor reports:

StatusMeaning
readyServer spawned, initialized, and capabilities listed
command not foundBinary not on $PATH
spawn failedBinary found but process failed to start
initialize failedProcess started but LSP handshake failed
skippedNo files for this language in the workspace

Use --root to check a different workspace:

catenary doctor --root /path/to/project

Next Steps

  1. Configure your language servers
  2. Install language servers for your languages