Wtp MCP Server

A Model Context Protocol (MCP) server for [wtp](https://github.com/satococoa/wtp) (Worktree Plus), written in Rust. It lets AI assistants manage Git

Local serverstdio

What is the Wtp MCP Server?

A Model Context Protocol (MCP) server for wtp (Worktree Plus), written in Rust. It lets AI assistants manage Git worktrees via

What it actually does

  • Safety defaults — Hooks and branch deletion are disabled by default and must be explicitly enabled
  • Rich resources — Query worktree lists, resolved paths, grouped views, and repo overview

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list-worktreesList all worktrees in the repository
add-worktreeCreate a new worktree for an existing or new branch
remove-worktreeRemove a worktree (optionally with its branch)
merge-worktreeReturn a git merge command for a worktree branch
init-configInitialize wtp configuration in the repository
get-worktree-pathGet the absolute path to a worktree
shell-hookGet shell hook script (bash/zsh/fish)
shell-initGet shell initialization script (bash/zsh/fish)

How to install the Wtp MCP Server

{
  "mcpServers": {
    "wtp": {
      "command": "wtp-mcp-rs"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Wtp MCP to list-worktrees.”
  • “Use Wtp MCP to add-worktree.”
  • “Use Wtp MCP to remove-worktree.”

Frequently asked questions

A Model Context Protocol (MCP) server for [wtp](https://github.com/satococoa/wtp) (Worktree Plus), written in Rust. It lets AI assistants manage Git worktrees via Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.