Skip to main content

Introduction

Forge’s Model Context Protocol (MCP) integration lets you control your entire task board from inside your AI coding agent. Never leave your editor - your AI manages Forge for you via natural language.
Quick value: Ask Claude “create a task to add dark mode” and it’s done. No UI clicking, no context switching, just flow.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI agents to interact with external tools and services in a structured way. Think of it as “API for AI agents” - instead of you making HTTP requests, your AI agent does it automatically based on your conversation.

The Magic


Why Use MCP with Forge?

Stay in Flow

Never leave your editor. AI handles all Forge interactions while you focus on coding.

Natural Language

Use conversational commands. No need to remember CLI syntax or navigate UIs.

Faster Planning

“Plan an auth system” creates multiple tasks instantly. Seconds vs minutes.

Context Aware

AI sees your Forge tasks and suggests next steps based on your workflow.

Getting Started

Step 1: Get Your Project ID

1

Start Forge

Opens browser at http://localhost:3000
2

Navigate to Project

Create or select a project and go to its task board.
3

Copy Project ID

Find it in the browser URL:
Or go to Project Settings and copy from there.
###Step 2: Choose Your Mode Forge offers two MCP modes:

Step 3: Configure Your AI Agent

Choose your setup guide:

Claude Code

Setup for Claude Desktop and Claude Code

Cursor

Setup for Cursor IDE

VSCode + Cline

Setup for VSCode with Cline extension

Custom Client

Generic setup for any MCP client

Example Use Cases

Planning & Task Creation

Bug Tracking

Status Updates

Batch Operations


MCP Workflow Patterns

The Planning Flow

The Execution Flow

The Review Flow


Basic vs Advanced Comparison

90% of users should use Basic Mode. It’s faster, clearer, and does everything most people need.

Security & Privacy

Local-First

Forge MCP server runs 100% locally. No data leaves your machine. All operations happen on localhost.

Project Isolation

Each AI agent connects to a specific project ID:
Benefits:
  • No accidental cross-project operations
  • Multiple agents, multiple projects
  • Secure team collaboration

Troubleshooting

Check:
  1. Forge is installed: npm list -g @automagik/forge
  2. Correct command in config: "command": "npx"
  3. Correct args: "args": ["automagik-forge", "--mcp"]
  4. Restart your AI agent after config changes
Solution: Reinstall Forge if needed:
Error: Project 'proj_xyz' not foundSolution:
  1. Open Forge: npx automagik-forge
  2. Verify project exists in UI
  3. Copy correct UUID from browser URL
  4. Update MCP config
  5. Restart AI agent
Symptom: AI lists too many tools or seems uncertainSolution: You’re in advanced mode with 56 tools. Switch to basic:
Solution: Refresh your browser. MCP changes happen in the database; UI needs refresh to show them.

Next Steps

1

Choose Your Agent

2

Configure MCP

Follow the setup guide for your chosen agent. Takes 2-3 minutes.
3

Test It Out

Try a simple command:
Your AI should create the task via MCP!
4

Explore Workflows


Learn More

MCP Architecture

Deep dive into how MCP works in Forge

MCP Tools Reference

Complete list of all available tools

Workflows

See MCP in action with real examples

Troubleshooting

Fix common MCP issues