OpenSpec
OpenSpec copied to clipboard
git-automated-worktree skill does not copy .mcp.json to new worktrees
Problem
When creating a worktree via the git-automated-worktree skill, .mcp.json is not copied to the new worktree directory. This means MCP servers (DeepWiki, Perplexity, etc.) are unavailable in sessions started from the worktree.
Expected Behavior
.mcp.json should be copied from the source repo to the new worktree so MCP tools are available without manual intervention.
Steps to Reproduce
- Run
/git-automated-worktreeto create a new worktree - Start a Claude Code session in the worktree
- MCP tools (e.g.,
mcp__deepwiki__ask_question) are missing
Fix
Update the worktree creation script to copy .mcp.json alongside other dotfiles.