Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables managing SSH-managed clusters with tools for executing commands, file operations, and tmux sessions across multiple nodes.

README.md

Taproot

简体中文

Taproot is a local MCP server for SSH-managed nodes. The VS Code extension is the control panel for editing nodes.yaml, checking status, and preparing the shared HTTP MCP backend that your agent connects to.

Remote nodes only need SSH access. They do not need Taproot installed.

Quick Start

1. Install the VS Code extension

Install taproot-mcp from the VS Code Marketplace.

For Remote-SSH, install it under SSH: <host>, not Local.

Taproot runs on the same machine as the agent that connects to it. In a Remote-SSH VS Code window, extension commands run on the SSH host, and Codex must connect to that same host's Taproot HTTP endpoint.

CLI-only install, without VS Code:

python -m pip install https://github.com/xiaoxiao27110/taproot/releases/download/v0.2.3/taproot_mcp-0.2.3-py3-none-any.whl

2. Copy the setup prompt into your agent

Click Copy Agent Prompt in the Taproot panel or Command Palette, then paste it into your agent tool.

The prompt asks the agent to install or update taproot-mcp, start the local HTTP MCP server for the first time, and connect the agent to that server in one flow. The extension no longer runs backend installation scripts itself.

3. Add nodes

Open the Taproot panel in VS Code, add your SSH nodes, then run the connection check from the panel.

You can also check from a terminal:

taproot-mcp check --config /absolute/path/to/nodes.yaml

4. Shared HTTP backend

http://127.0.0.1:8765/mcp

Codex ~/.codex/config.toml:

[mcp_servers.taproot]
url = "http://127.0.0.1:8765/mcp"

In a Remote-SSH VS Code window, this 127.0.0.1 is the SSH host where the Taproot extension runs, not your desktop shell.

Claude Code:

claude mcp add --transport http taproot http://127.0.0.1:8765/mcp

Codex should connect to the HTTP server started from the Taproot VS Code extension. It should not launch a separate taproot-mcp subprocess.

If you need to start the server manually, the command is still available:

taproot-mcp serve --config /absolute/path/to/nodes.yaml --transport http --host 127.0.0.1 --port 8765

Other Clients

For MCP clients that launch servers by command, stdio is still available. Codex should keep using the HTTP URL above.

claude mcp add taproot -- taproot-mcp serve --config /absolute/path/to/nodes.yaml

nodes.yaml

Example:

defaults:
  user: admin
  key: ~/.ssh/id_rsa
  port: 22

nodes:
  gpu-node-1:
    host: 192.168.1.101
    tags: [gpu, vllm]
  dev-vm:
    host: 192.168.1.200
    user: dev
    tags: [dev, build]

Config lookup order:

  1. TAPROOT_CONFIG
  2. ./nodes.yaml
  3. ~/.config/taproot/nodes.yaml

Tools

Discovery:

  • cluster_nodes

Broadcast tools:

  • cluster_exec
  • cluster_read_file
  • cluster_edit_file
  • cluster_write_file
  • cluster_list_dir
  • cluster_glob
  • cluster_system_info
  • cluster_service
  • cluster_upload
  • cluster_download

Single-node tmux session tools:

  • cluster_session_open
  • cluster_session_exec
  • cluster_session_read
  • cluster_session_interrupt
  • cluster_session_close
  • cluster_session_list

Safety

  • password and sudo_password in nodes.yaml are plaintext. Prefer SSH keys.
  • Do not commit nodes.yaml, .taproot/, history files, approval files, SSH keys, or VSIX files.
  • Taproot enforces remote permissions on the MCP server side.
  • Home-internal file tools run without extra prompts, except protected directories such as ~/.ssh, ~/.gnupg, ~/.aws, ~/.kube, ~/.docker, and ~/.taproot, which are denied.
  • Paths outside home, sudo=True, service mutations, tmux command execution, and clearly dangerous shell commands are executed but recorded with risk metadata in history.
  • The VS Code dashboard highlights risky history entries instead of blocking for approval.
  • Legacy approval files and CLI commands may still exist for compatibility, but they are not part of the normal execution path.

Development

python -m pip install -e ".[test]"
python -m pytest

VS Code extension:

cd taproot-plugin
npm install
npm test

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Files & Docs servers.