Back to Home
kingkillery icon

git-worktree-mcp

by kingkillery

Overview

Manages Git worktrees and orchestrates parallel development workflows with AI agents using MCP integration.

Installation

Run Command
npx github:kingkillery/git-worktree-mcp

Environment Variables

  • MCP_SERVERS
  • NODE_ENV
  • PARALLEL_EXPLORATION_TIMEOUT
  • PARALLEL_EXPLORATION_MAX_AGENTS
  • PARALLEL_EXPLORATION_AUTO_CLEANUP

Security Notes

The `ParManager` class utilizes `execSync` to execute shell commands, including `par send` which can send arbitrary commands to a tmux session via the `par_send_command` tool. This poses a significant security risk as it allows for remote code execution if an AI agent (or a malicious actor interacting with it) is permitted to send unverified commands. While other `execSync` calls are used with inputs derived from Zod-validated strings, the direct command injection potential through `par_send_command` is critical. The server interacts with the local file system extensively for worktree management and configuration file copying, requiring high trust in the execution environment.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-11-18

Tags

gitworktreesmcpai-agentsparallel-explorationdevelopmentorchestration