dotbot-mcp.ps1 script inside your project’s .bot/ directory. Because the path is relative to your project root, your AI tool must be launched from the project directory for the server to start correctly.
Prerequisites
Before adding the MCP configuration, make sure you have:- Run
dotbot initin your project to create the.bot/directory and generatedotbot-mcp.ps1 - PowerShell 7 or later (
pwsh) installed and available on your PATH - The
powershell-yamlmodule installed (Install-Module powershell-yaml -Scope CurrentUser)
Without running
dotbot init first, the path .bot/systems/mcp/dotbot-mcp.ps1 will not exist and your AI tool will fail to start the server.Server configuration block
The core configuration is the same regardless of which AI tool you are using:Adding the configuration to your AI tool
- Claude Desktop
- Claude CLI
- Warp
Open the Claude Desktop configuration file and add the Windows:Full example:Restart Claude Desktop after saving. The dotbot tools appear in the tool picker when you open a project conversation.
mcpServers block.macOS / Linux:Project root requirement
The MCP server auto-detects the project root by walking up the directory tree from its own script location until it finds a.git folder. This has two consequences:
- Your AI tool’s working directory must be set to a path within the project directory tree when it launches the server.
- If the server cannot find a
.gitfolder in any parent directory, it exits with a fatal error:FATAL: Could not auto-detect project root.
Verifying the connection
After adding the configuration, ask your AI tool to list the available dotbot tools. You should see all 33 built-in tools, plus any workflow-specific tools installed in your project.Ask for the tool list
In your AI tool, send a message such as: “List the available dotbot MCP tools.” The tool picker or response should show tools like
task_create, task_get_next, decision_list, and so on.Check for startup errors
If the tool list is empty or the server fails to start, verify the following:
pwsh(PowerShell 7+) is on your PATH — runpwsh --versionto confirmdotbot inithas been run and.bot/systems/mcp/dotbot-mcp.ps1exists- The
powershell-yamlmodule is installed (Install-Module powershell-yaml -Scope CurrentUser)