gemini-herdr-mcp
Provides tools to list and create Git worktree-backed Herdr workspaces, enabling agents to manage Git worktrees through Herdr.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gemini-herdr-mcp Start a Claude agent in the backend space and show me its latest output."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gemini-herdr-mcp
专为 Google Gemini App(同时适配 macOS 端 本地 MCP 与跨端 Cloud MCP)以及 Gemini CLI 打造的本机 Herdr MCP 服务端。项目完整覆盖并增强自 frysquint/herdr-mcp(参见 Glama 工具目录),让 Gemini 能够直接发现、启动、编排本机 Herdr 工作区中的 codex、claude、agy 等终端编码 Agent,并读取输出或监听实时状态事件。
核心特性
零第三方依赖,纯标准库实现:基于 Python 3.10+ 标准库编写,无需
uv sync或虚拟环境下载外部包,彻底规避代理重签证书报错与.venv路径失效。原生穿透 Gemini macOS 全局沙盒:通过
scripts/build_standalone.py打包为无外部目录依赖的单文件zipapp(安装至/opt/homebrew/bin/gemini-herdr-mcp),配合后台launchd宿主桥接服务(/private/tmp/gemini-herdr-mcp-bridge-<uid>),解决 Gemini App「本地 MCP」沙盒拦截用户目录(status 126: Operation not permitted)与拦截~/.config/herdr/herdr.sock的问题(参考 Gemini for macOS Local MCP Guide)。100% 扁平化 Gemini 兼容 Schema:全部 44 个工具严格剔除 Pydantic 常见的
anyOf、oneOf、$defs与null联合类型,确保通过 Gemini MCP 工具 Schema 清洗校验,并完整标注readOnlyHint与destructiveHint权限提示。单次调用完成面板绑定与复用(3 个高层宏工具):在原版 41 个原子工具基础上新增
herdr_delegate_agent(同名 Space 下 Agent 面板利旧/新建并投递读回)、herdr_run_shell(同名 Space 下专用gemini-shell面板利旧/新建并带退出码执行脚本)与agent_dispatch_and_read,大幅减少客户端运行时确认次数。双模传输(
stdio+Streamable HTTP& OAuth 2.1):除桌面本地stdio外,内置符合 Google Connected Apps MCP 指南 与 OAuth 2.1 实现规范 的 Streamable HTTP 服务端(支持.well-known发现、RFC 7591 动态客户端注册、PKCES256、终端 6 位一次性动态 PIN 配对与标准HTTP 302回调,参见 302 回调兼容性说明)。非阻塞惰性实时事件流(Event Tap):按需连接 Herdr Socket API 订阅工作区/面板生命周期与
pane.agent_status_changed事件,支持断线自动重连,绝不阻塞 MCPinitialize启动握手。
Related MCP server: goose-herdr
架构原理
┌──────────────────────────────────────────────────────────────┐
│ Gemini App for macOS (全局沙盒进程 /bin/sh) │
│ └─> /opt/homebrew/bin/gemini-herdr-mcp --transport stdio │
│ (单文件独立 zipapp,零源码目录读取依赖) │
└──────────────────────────────┬───────────────────────────────┘
│ /private/tmp/gemini-herdr-mcp-bridge-<uid>
│ (0700 原子 JSON IPC 队列,沙盒双向放行)
▼
┌──────────────────────────────────────────────────────────────┐
│ macOS 宿主环境 launchd 守护进程 (gemini-herdr-mcp bridge) │
│ ├─> HerdrCliRunner ──> /opt/homebrew/bin/herdr │
│ └─> HerdrEventTap ──> ~/.config/herdr/herdr.sock │
└──────────────────────────────────────────────────────────────┘当在普通终端、Gemini CLI、Claude Desktop 或 Cursor 等非沙盒宿主下运行时,gemini-herdr-mcp 会直接调用本机 herdr 与 ~/.config/herdr/herdr.sock;当检测到自身处于 Gemini App 沙盒内无权直连套接字时,会自动无缝切换至 launchd 宿主桥接通道。
环境要求
macOS(Apple Silicon 或 Intel)或 Linux
Herdr
0.9+(后台服务已通过herdr或herdr server启动)Python
3.10+(推荐通过 Homebrew 安装/opt/homebrew/bin/python3)
快速开始
方式一:接入 Gemini App「本地 MCP」(推荐,零延迟免公网隧道)
在终端执行一键安装脚本:
git clone https://github.com/macgaf/gemini-herdr-mcp.git ~/projects/gemini-herdr-mcp cd ~/projects/gemini-herdr-mcp ./install.shinstall.sh会自动完成:将源码打包为单文件可执行包并写入
/opt/homebrew/bin/gemini-herdr-mcp(若不存在则回退至/usr/local/bin);执行
xattr -cr清除 macOS 隔离/来源扩展属性并赋予755权限;生成并加载
~/Library/LaunchAgents/com.macgaffin.gemini-herdr-mcp-bridge.plist开机自启桥接服务;运行
gemini-herdr-mcp doctor自检;安装时默认只显示关键状态摘要,若需完整 JSON 诊断可执行INSTALL_VERBOSE=1 ./install.sh。
在 Gemini App 中添加自定义关联应用: 打开 Gemini App → 连接器 → 设置自定义的关联应用 → 本地 MCP:
Name:
herdrCommand:
/opt/homebrew/bin/gemini-herdr-mcp --transport stdio
点击 Next 保存后即可启用工具。
导入配套
herdrSkill(推荐,启用同名 Space 绑定与会话对齐): 因 Gemini App 的自定义 Skill 存储在云端账号中,安装脚本无法代为写入,请任选以下一种方式导入:打开 Gemini App → 设置 → Skills,上传项目中的 skills/herdr/SKILL.md;
或在 Gemini App 对话框中直接发送:
请帮我导入 ~/projects/gemini-herdr-mcp/skills/herdr/SKILL.md。
方式二:接入 Gemini「Cloud MCP」(网页端与移动端通用)
适用于通过 Gemini Connected Apps 自定义应用 在 gemini.google.com 或手机端远程调用本机 Herdr:
启动本地 Streamable HTTP + OAuth 2.1 服务:
/opt/homebrew/bin/gemini-herdr-mcp --transport http --port 8765暴露受信任的 HTTPS 端点(以 Tailscale Funnel 为例):
tailscale funnel 8765在 Gemini Cloud MCP 中绑定:
完整控制端点:
https://<machine>.<tailnet>.ts.net/mcp只读安全端点(可选):
https://<machine>.<tailnet>.ts.net/mcp/readonly若界面要求手动填写 OAuth 凭据,展开 Advanced features 填入终端打印的
Pre-reg Client ID与Pre-reg Secret;浏览器弹出配对页面时,输入终端实时输出的 6 位一次性 PIN 码点击 Approve 即可完成授权。
方式三:接入 Gemini CLI / Claude Desktop / Cursor
在 ~/.gemini/settings.json(参见 Gemini CLI MCP 配置文档)或对应客户端配置文件中添加:
{
"mcpServers": {
"herdr": {
"command": "/opt/homebrew/bin/gemini-herdr-mcp",
"args": ["--transport", "stdio"]
}
}
}命令行子命令与环境变量
常用子命令
# 默认启动 MCP 服务(支持 --transport stdio | http | streamable-http)
gemini-herdr-mcp --transport stdio
# 诊断本机 herdr 二进制、套接字状态、宿主桥接心跳及工具加载数
gemini-herdr-mcp doctor
# 打印可直接粘贴的本地 MCP 与 Cloud MCP 配置模板
gemini-herdr-mcp print-config
# 以只读安全模式启动(仅暴露 20 个只读查询工具,隐藏并拦截所有写操作)
gemini-herdr-mcp --transport stdio --read-only环境变量配置
环境变量 | 默认值 | 说明 |
| 自动探测 | 指定 Herdr CLI 可执行文件路径 |
|
| 覆盖 Herdr Socket API 套接字路径 |
| 默认会话 | 指定连接的命名持久化 Herdr 会话( |
| 空(本机) | 转发命令至已保存的远程 SSH 机器配置( |
|
| 设为 |
|
| CLI 子命令默认超时时间(毫秒) |
|
| HTTP 模式监听端口 |
| 自动根据反向代理头推导 | Cloud MCP 外部 HTTPS 根地址 |
| 自动生成并持久化 | Cloud MCP 配对静态管理密钥(亦可直接作为静态 Bearer Token 调试) |
工具参考(共 44 个)
所有工具封装均严格遵循 Herdr CLI Reference 与 Herdr Agent Automation 规范:
分类 | 工具名 | 只读 | 破坏性 | 功能说明 |
一键编排宏工具 |
| 否 | 否 | 匹配项目同名 Space(缺失则停止提示),利旧空闲同类型 Agent 面板(忙碌则停止等待,不存在则自动分屏启动),单次调用完成投递与输出读取 |
| 否 | 否 | 匹配项目同名 Space(缺失则停止提示),利旧空闲的 | |
服务与快照 |
| 是 | 否 | 检查本机 Herdr 客户端与服务端运行状态、协议版本及解析路径 |
| 是 | 否 | 获取包含工作区、标签页、面板、Agent 与布局焦点的完整实时快照 | |
Agent 控制 |
| 是 | 否 | 列出全部已识别 Agent(支持按 |
| 是 | 否 | 按名称或 | |
| 是 | 否 | 解释 Herdr 对当前面板屏幕状态的规则匹配证据(herdr agent explain) | |
| 是 | 否 | 读取 Agent 终端输出(默认 | |
| 否 | 否 | 在空闲交互式 Shell 面板中启动指定类型( | |
| 否 | 否 | 通过 Bracketed Paste 向空闲 Agent 提交提示词(支持 | |
| 否 | 否 | 组合工具:一键提交提示词、等待稳定态并自动读回终端输出 | |
| 是 | 否 | 阻塞等待 Agent 进入 | |
| 否 | 否 | 向 Agent 交互界面发送受校验的逻辑按键(如 | |
| 否 | 否 | 设置或清除 Agent 唯一名称 | |
| 否 | 否 | 将 Herdr 界面焦点切换至目标 Agent 并标记完成态已读 | |
面板控制 |
| 是 | 否 | 列出或查看终端面板详情 |
| 是 | 否 | 查询面板几何尺寸(辅助决定向右或向下分屏)及前台进程/PID/CWD | |
| 是 | 否 | 读取普通面板输出,或按字面量子串 / Rust 正则阻塞等待特定输出 | |
| 否 | 否 | 向右或向下分屏创建新 Shell 面板(默认 | |
| 否 | 否 | 在 Shell 面板执行命令、写入纯文本或发送按键 | |
| 否 | 否 | 修改或清空面板标题 | |
| 否 | 是 | 关闭指定终端面板并终止其前台进程 | |
工作区与标签 |
| 是 | 否 | 列出所有工作区及聚合 Agent 状态,或查看单个工作区 |
| 否 | 否 | 创建、聚焦或重命名工作区 | |
| 否 | 是 | 关闭工作区及其内部所有面板进程 | |
| 是 | 否 | 列出全部或指定工作区下的标签页 | |
| 否 | 否 | 创建、切换或重命名标签页 | |
| 否 | 是 | 关闭指定标签页及其下属面板 | |
| 是 / 否 | 否 | 列出或创建关联 Git Worktree 工作区 | |
通知与事件 |
| 否 | 否 | 在 Herdr 终端界面右上/右下等角落弹出 Toast 通知与提示音 |
| 是 | 否 | 查看 Herdr Socket API 实时事件流连接状态、轮询增量事件或按条件阻塞等待事件 |
目录结构与开发指南
gemini-herdr-mcp/
├── bin/gemini-herdr-mcp # 单文件独立可执行包 (zipapp)
├── scripts/build_standalone.py # 将 src/ 打包为独立可执行文件的构建脚本
├── src/gemini_herdr_mcp/
│ ├── config.py # 真实用户目录反查与二进制/套接字自动发现
│ ├── cli_runner.py # Herdr CLI 子进程封装与结构化错误解析
│ ├── event_tap.py # 非阻塞 Unix Socket 实时事件订阅缓冲器
│ ├── tools.py # 44 个扁平化 Gemini 兼容 Schema 工具实现
│ ├── workflows.py # 同名 Space 匹配、Agent 面板与专用 Shell 面板复用编排
│ ├── bridge.py # 穿透 macOS 本地 MCP 沙盒的宿主桥接守护进程与客户端
│ ├── mcp_protocol.py # JSON-RPC 2.0 多版本协商与自动沙盒桥接路由
│ ├── stdio_server.py # 兼容换行分隔与 Content-Length 帧的 stdio 传输层
│ ├── oauth_provider.py # OAuth 2.1 + PKCE (S256) + DCR 状态与令牌引擎
│ ├── http_server.py # Streamable HTTP 与终端动态 PIN 配对服务
│ └── cli.py # 统一命令行入口 (serve / bridge / doctor / print-config)
├── skills/herdr/SKILL.md # Gemini App 配套自定义技能定义(可直接在 Gemini 设置 → Skills 导入)
├── tests/ # 单元与全链路联调测试套件
├── install.sh # macOS 一键安装二进制与 launchd 桥接服务
└── uninstall.sh # macOS 一键卸载脚本修改 src/gemini_herdr_mcp/ 下的源码后,执行以下命令即可运行测试并热更新本机安装与桥接守护进程:
# 1. 运行全量测试
python3 -m unittest discover -s tests -v
# 2. 重新打包更新 /opt/homebrew/bin/gemini-herdr-mcp 并重启 launchd 桥接服务
./install.sh常见问题排查
Gemini 本地 MCP 启动报
status 126: Operation not permitted:请确认 Command 填写的是/opt/homebrew/bin/gemini-herdr-mcp --transport stdio而非~/projects/...源码目录下的路径,且已在终端运行过./install.sh(自动清理xattr属性)。工具调用返回
host_bridge_not_running:说明后台桥接守护进程未运行,执行./install.sh或检查/private/tmp/gemini-herdr-mcp-bridge-$(id -u)/bridge.log日志。herdr_status显示server: not running:在终端运行一次herdr(或后台模式herdr server)拉起 Herdr 守护进程即可,无需重启 MCP 服务。
卸载
./uninstall.sh致谢(Acknowledgments)
本项目的主体工具集设计、Herdr CLI 调用封装思路、安全权限注解(readOnlyHint / destructiveHint)以及基于 Unix Socket 的实时事件流模型(Event Tap)均主要参考了 frysquint/herdr-mcp,特此向原作者 frysquint 及 Herdr 团队致以诚挚感谢。在此基础上,本项目针对 Google Gemini App 的沙盒机制、扁平化工具 Schema 规范与 OAuth 2.1 连接协议进行了独立重构与扩展。
License
基于 MIT License 开源发布。
Available Tools
44 toolsagent_dispatch_and_readDispatch Prompt, Wait & Read Agent OutputB
High-level one-shot helper for Gemini: submit a prompt to a Herdr agent, wait until it reaches a settled state (idle, done, or blocked), and immediately return both its final status and unwrapped terminal output.
Inputs: text (required), target (required), lines, source, +1 more.
agent_explainExplain Agent Detection StateBRead-onlyIdempotent
Explain how Herdr classified an agent's current screen detection state and matched manifest rules.
Inputs: target (required), verbose.
agent_focusFocus Agent PaneA
Switch the user's Herdr TUI view to the target agent's pane and mark its completion as seen.
Inputs: target (required).
agent_getInspect AgentBRead-onlyIdempotent
Inspect a single detected agent by its unique live name or hosting pane ID (for example 'w1:p2').
Inputs: target (required).
agent_listList Herdr AgentsARead-onlyIdempotent
List all detected coding agents across panes with their live name, pane_id, kind (codex, claude, agy, gemini, etc.), and status (idle, working, blocked, done, unknown).
Inputs: kind, workspace_id.
agent_promptSend Prompt to AgentA
Submit a prompt with bracketed paste + Enter to an idle/done agent. Rejects immediately with 'agent_blocked' if the agent is waiting on an approval dialog. Set wait=true to block until the agent settles into idle, done, or blocked.
Inputs: text (required), target (required), wait, until, +1 more.
agent_readRead Agent OutputARead-onlyIdempotent
Read terminal output from a coding agent. Defaults to 'recent-unwrapped' (soft wraps joined) and 120 lines, which is best for reading completed responses and code reviews.
Inputs: target (required), ansi, lines, source.
agent_renameRename AgentA
Assign a unique name to a detected agent, or clear its name when 'clear' is true or 'name' is omitted.
Inputs: target (required), name, clear.
agent_send_keysSend Keys to AgentB
Send validated logical key presses to an agent's interactive UI, such as ['esc'], ['ctrl+c'], ['enter'], ['up'], or ['y', 'enter'].
Inputs: keys (required), target (required).
agent_startStart Coding Agent in PaneA
Start a supported interactive coding agent (such as codex, claude, agy, gemini, opencode) in an existing idle shell pane and assign it a unique agent name.
Inputs: kind (required), name (required), pane_id (required), agent_args, +1 more.
agent_waitWait for Agent StateBRead-onlyIdempotent
Block until an agent reaches idle, done, blocked (default), or one of the specified 'until' states.
Inputs: target (required), until, timeout_ms.
events_recentPoll Recent Herdr EventsBRead-onlyIdempotent
Return buffered live lifecycle and agent status change events after 'after_seq'. Event names use underscore form such as 'pane_agent_status_changed', 'pane_created', 'workspace_created'.
Inputs: kinds, limit, tab_id, pane_id, +3 more.
events_statusGet Live Event Tap StatusARead-onlyIdempotent
Check whether the background Unix-socket event tap is connected and inspect sequence numbers.
Inputs: no named parameters.
events_waitWait for Live Herdr EventBRead-onlyIdempotent
Block until a matching Herdr lifecycle or agent status event arrives on the Unix socket (after 'after_seq' if given, or from now if omitted).
Inputs: kinds, tab_id, pane_id, after_seq, +3 more.
herdr_delegate_agentDelegate Task to Project Space Agent PanelA
One-shot workflow for delegating tasks to claude, codex, agy, grok, etc. in the Herdr space matching 'project_name': stops with 'workspace_not_found' if the space does not exist; reuses an existing idle/done panel of 'agent_kind' in that space; stops with 'agent_busy_or_blocked' if an existing panel of that kind is busy/blocked; splits and starts a new agent panel only if none exists yet; aligns the agent's internal session name to 'session_name' (sending '/new' or '/clear' plus '/rename <session_name>' without --wait when mismatched); then submits 'prompt' and reads output.
Inputs: prompt (required), agent_kind (required), project_name (required), cwd, +5 more.
herdr_run_shellRun Command or Script in Dedicated Project Shell PanelA
One-shot workflow for executing commands or scripts in a dedicated reusable shell panel (default label 'gemini-shell') inside the Herdr space matching 'project_name': stops with 'workspace_not_found' if the space does not exist; reuses the existing 'gemini-shell' panel if idle (or stops with 'shell_panel_busy' if a foreground process is still running); splits and labels a new 'gemini-shell' panel on first use; executes 'command' and returns 'exit_code' and output.
Inputs: command (required), project_name (required), cwd, wait, +3 more.
herdr_statusGet Herdr StatusARead-onlyIdempotent
Check local Herdr client and running background server status, protocol compatibility, and resolved binary/socket paths.
Inputs: no named parameters.
notification_showShow Herdr Toast NotificationB
Display a toast notification inside the user's Herdr terminal UI.
Inputs: title (required), body, sound, position.
pane_closeClose PaneADestructive
Close a terminal pane and terminate its foreground process. Only close panes you created or the user named.
Inputs: pane_id (required).
pane_getGet Pane DetailsBRead-onlyIdempotent
Inspect a single pane by its pane ID (for example 'w1:p1').
Inputs: pane_id (required).
pane_layoutGet Pane Layout GeometryARead-onlyIdempotent
Inspect a pane's dimensions and layout geometry to choose whether to split right or down.
Inputs: pane_id (required).
pane_listList PanesARead-onlyIdempotent
List terminal panes across all workspaces or within a single workspace.
Inputs: workspace_id.
pane_process_infoGet Pane Process InfoARead-onlyIdempotent
Inspect the foreground process, PID, and working directory inside a pane.
Inputs: pane_id (required).
pane_readRead Pane OutputCRead-onlyIdempotent
Read terminal text from any shell or process pane.
Inputs: pane_id (required), raw, ansi, lines, +1 more.
pane_renameRename PaneB
Set or clear the display title of a pane.
Inputs: pane_id (required), clear, label.
pane_runRun Shell Command in PaneB
Submit a shell command followed by Enter into an ordinary shell pane.
Inputs: command (required), pane_id (required).
pane_send_keysSend Keys to PaneA
Send logical key presses (such as ['ctrl+c'], ['esc'], ['enter']) to a pane.
Inputs: keys (required), pane_id (required).
pane_send_textSend Literal Text to PaneA
Send raw text into a pane without pressing Enter.
Inputs: text (required), pane_id (required).
pane_splitSplit PaneA
Split an existing pane to create a new interactive shell pane beside or below it. Returns the new pane under result.pane.pane_id. Defaults to focus=false so user focus is not stolen.
Inputs: pane_id (required), cwd, focus, ratio, +1 more.
pane_wait_outputWait for Pane OutputARead-onlyIdempotent
Block until a pane's terminal output contains a literal substring ('match') or matches a Rust regular expression ('regex'). Output already on screen matches immediately.
Inputs: pane_id (required), lines, match, regex, +2 more.
session_snapshotGet Full Session SnapshotARead-onlyIdempotent
Return the complete live Herdr snapshot including workspaces, tabs, panes, detected agents, layouts, and focus. Large payload; prefer workspace_list, pane_list, or agent_list for routine checks.
Inputs: no named parameters.
tab_closeClose TabADestructive
Close a tab and terminate all pane processes inside it. Only close tabs you created or the user named.
Inputs: tab_id (required).
tab_createCreate TabA
Create a new tab with one root shell pane inside a workspace.
Inputs: cwd, focus, label, workspace_id.
tab_focusFocus TabB
Switch the user's Herdr view to a specific tab (for example 'w1:t2').
Inputs: tab_id (required).
tab_listList TabsARead-onlyIdempotent
List tabs across all workspaces or within a specific workspace.
Inputs: workspace_id.
tab_renameRename TabC
Rename a tab.
Inputs: label (required), tab_id (required).
workspace_closeClose WorkspaceADestructive
Close a workspace and terminate all pane processes inside it. Only close workspaces you created or the user named.
Inputs: workspace_id (required).
workspace_createCreate WorkspaceB
Create a new Herdr workspace with one initial tab and root shell pane.
Inputs: cwd, focus, label.
workspace_focusFocus WorkspaceB
Switch the user's Herdr TUI view to a workspace.
Inputs: workspace_id (required).
workspace_getGet WorkspaceBRead-onlyIdempotent
Inspect one workspace by ID (for example 'w1').
Inputs: workspace_id (required).
workspace_listList WorkspacesARead-onlyIdempotent
List all Herdr workspaces (spaces) with their IDs, labels, working directories, and aggregate agent states.
Inputs: no named parameters.
workspace_renameRename WorkspaceC
Rename an existing Herdr workspace.
Inputs: label (required), workspace_id (required).
worktree_createCreate Git Worktree WorkspaceB
Create a Git worktree and open it as a linked Herdr workspace.
Inputs: branch (required), cwd, base, path, +4 more.
worktree_listList Git WorktreesARead-onlyIdempotent
List Git worktrees known to a Herdr workspace or repository path.
Inputs: cwd, workspace_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 44 tools
Most low-level tools have clear boundaries (pane_run vs pane_send_text vs pane_send_keys, workspace vs tab vs pane vs agent scopes). However, the set contains deliberate overlap between primitives and one-shot helpers: agent_start/agent_prompt/agent_wait vs agent_dispatch_and_read vs herdr_delegate_agent, and pane_split/pane_run/pane_wait_output vs herdr_run_shell, forcing the agent to choose between equivalent paths. Descriptions do help distinguish them, but the boundaries are not always obvious.
Names are uniformly snake_case and mostly follow a noun_verb pattern (agent_list, pane_split, workspace_create, worktree_list). Deviations exist: herdr_ prefixed tools (herdr_status, herdr_delegate_agent, herdr_run_shell), verb-first composites (agent_dispatch_and_read), and noun-only names (session_snapshot, pane_layout), so the convention is readable but not fully predictable.
44 tools is heavy for a terminal/agent orchestration server and includes redundant orchestration wrappers that duplicate primitive sequences. The core surface (workspace/tab/pane/agent/events/worktree) legitimately needs many operations, but the count is bloated beyond what's necessary.
Coverage is broad and mostly complete: full lifecycle for workspaces, tabs, and panes (list/get/create/focus/rename/close plus split, read, send, wait), full agent lifecycle (list/get/explain/start/prompt/wait/send_keys/rename/focus), plus events, worktrees, and notifications. Minor gaps remain such as worktree removal, tab_get, and pane move/swap operations, but agents can work around them.
Maintenance
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Create, run and manage Homemade dev VMs and projects from your AI agent.
Develop, manage, and debug Railway projects, services, and deployments from within agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to orchestrate Herdr coding agents by wrapping its Unix-socket JSON-RPC API, providing tools for agent management, layout editing, and terminal interaction.ISC
- AlicenseNot gradedqualityDmaintenanceEnables goose to control the Herdr terminal workspace manager, allowing AI agents to inspect and manipulate workspaces, tabs, panes, run commands, and manage agent states.5MIT
- FlicenseAqualityDmaintenanceEnables coding agents to control and inspect a running Herdr terminal session, including listing workspaces, tabs, panes, and agents, reading pane output, prompting agents, sending keys and commands, waiting for output or state, and splitting or closing panes.14-
- AlicenseBqualityBmaintenanceEnables MCP clients to remotely control a running Herdr session: see agent status, arrange tabs and panes, start and prompt coding agents, and run worktree-isolated jobs over stdio or Streamable HTTP. Includes policy controls such as allowlists, read-only mode, disabled tools, and an audit log.322MIT