Skip to main content

Claude Code MCP Setup

Configure Forge as an MCP server for Claude Code in 3 minutes.
Works with both Claude Desktop and Claude Code (CLI). Same configuration for both.

Prerequisites

1

Install Forge

2

Get Your Project ID

Open browser, navigate to your project, and copy the UUID from the URL:

Configuration

7 core tools for task management. Best for most users.
1

Open Claude Code Settings

  • macOS: Cmd + , or Claude Code → Settings
  • Windows/Linux: Ctrl + ,
  • Navigate to MCP Servers section
2

Add Forge Configuration

Add this to your MCP servers configuration:
Replace your-project-uuid-here with your actual Project ID.
3

Restart Claude Code

Fully quit and restart Claude Code for changes to take effect.
4

Test It

In Claude Code, try:
Claude should use the MCP tool to create the task in Forge!

Option 2: Advanced Mode

56 tools including worktrees, processes, filesystem. For power users.
Advanced mode can overwhelm Claude with too many tools. Start with basic mode first!

Available Tools

Basic Mode (7 tools)

Advanced Mode (+49 additional tools)

Includes all basic tools PLUS:
  • Project management (8 tools)
  • Task attempts (12 tools)
  • Process management (9 tools)
  • Git worktrees (7 tools)
  • File operations (6 tools)
  • Templates & drafts (5 tools)
  • Omni integration (8 tools)

Usage Examples

Task Creation

Planning

Status Checks


Troubleshooting

Error: Could not connect to MCP server 'automagik-forge'Solutions:
  1. Verify Forge is installed:
  2. Check configuration syntax (valid JSON, no trailing commas)
  3. Ensure "command": "npx" (not "node" or full path)
  4. Restart Claude Code completely (quit and reopen)
Error: Project 'proj_xyz' does not existSolutions:
  1. Verify project exists in Forge UI
  2. Copy correct UUID from browser URL
  3. Update PROJECT_ID in config
  4. Restart Claude Code
Symptom: Claude doesn’t seem to have Forge toolsSolutions:
  1. Ask Claude directly: “What MCP tools do you have access to?”
  2. Check if automagik-forge appears in the list
  3. If not, verify config and restart Claude Code
Symptom: Claude lists many tool options or seems confusedSolution: You’re in advanced mode (56 tools). Switch to basic:
Remove -advanced and restart.

Configuration File Location

Claude Code MCP configuration is stored in:
Or edit via Claude Code Settings UI.

Best Practices

Use natural language: Don’t try to call tools directly. Just describe what you want, and Claude will use the right MCP tool.✅ Good: “Create a task to add Redis caching” ❌ Bad: “use create_task with title Redis”
Start with basic mode: Only upgrade to advanced if you need specific features like manual worktree control or filesystem operations.
One project per config: If you work on multiple projects, create separate MCP server entries with different PROJECT_IDs:

Next Steps

MCP Overview

Learn more about MCP integration

MCP Architecture

Understand how MCP works

MCP Tools Reference

Complete list of all MCP tools

Workflows

See MCP in action