Introduction
Forge implements the Model Context Protocol (MCP) as a built-in server, enabling any MCP-compatible AI agent to programmatically manage your tasks. Think of it as remote control for your Forge kanban - control everything without leaving your coding environment.MCP in one sentence: A standardized protocol that lets AI agents interact with external tools and services in a structured, secure way.
What is Model Context Protocol?
The Concept
MCP is an open standard that allows AI agents to:- Discover available tools and capabilities
- Invoke operations with structured parameters
- Receive structured responses
- Maintain context across multiple operations
Why MCP Matters
- Before MCP
- With MCP
The Old Way: Manual context switchingResult: Constant interruptions, lost context, broken flow
Forge’s MCP Implementation
Architecture Overview
Forge runs as both a web application AND an MCP server simultaneously:Communication Flow
1
Agent Connects
When you start your AI agent (Claude Code, Cursor, etc.), it connects to Forge’s MCP server:
2
Tool Discovery
The AI agent asks what tools are available:
3
Tool Invocation
You ask the AI to do something, it calls the appropriate tool:
4
Response Handling
The AI processes the response and tells you:
Two Modes: Basic vs Advanced
Forge offers two MCP modes with different tool sets:Basic Mode (7 Tools)
Use when: You only need task management| Tool | Purpose | Example |
|---|---|---|
list_projects | Get all projects | ”Show my projects” |
list_tasks | Get tasks with filters | ”Show pending tasks” |
create_task | Create new task | ”Add task: Fix bug in auth” |
get_task | Get task details | ”Show task #42” |
update_task | Modify task | ”Mark task #42 complete” |
delete_task | Remove task | ”Delete task #38” |
Best for: Most users. Lighter weight, faster startup, clearer AI responses.
Advanced Mode (56 Tools)
Use when: You need full Forge control including worktrees, processes, filesystemProject Management (8 tools)
Project Management (8 tools)
create_projectupdate_projectdelete_projectget_project_statslist_project_taskssync_project_repoconfigure_project_llmsexport_project
Task Attempts (12 tools)
Task Attempts (12 tools)
create_attemptlist_attemptsget_attemptstart_attemptstop_attemptretry_attemptcompare_attemptsmerge_attemptdiscard_attemptget_attempt_diffget_attempt_logsset_attempt_status
Process Management (9 tools)
Process Management (9 tools)
list_processesget_processstart_processstop_processrestart_processget_process_logskill_processprocess_health_checkcleanup_processes
Git Worktrees (7 tools)
Git Worktrees (7 tools)
list_worktreescreate_worktreeremove_worktreecleanup_worktreesworktree_statusworktree_difflock_worktree
Drafts & Templates (5 tools)
Drafts & Templates (5 tools)
list_draftscreate_draftapply_draftlist_templatescreate_from_template
Filesystem Operations (6 tools)
Filesystem Operations (6 tools)
read_filewrite_filelist_filesfile_diffsearch_filesget_file_info
Omni Integration (8 tools)
Omni Integration (8 tools)
send_notificationlist_integrationsconfigure_webhooksend_message(to WhatsApp, Discord, etc.)get_message_status- And more…
Advanced mode can overwhelm AI agents with too many tools. They may struggle to choose the right one or give verbose responses. Use basic mode unless you specifically need advanced features.
Security & Authentication
Project ID Requirement
All MCP operations require a Project ID for security and isolation:- Isolation: Agent can only access specified project
- Multi-project: Run multiple Forge instances with different agents
- Security: Prevents accidental cross-project operations
Getting Your Project ID
1
Start Forge UI
http://localhost:30002
Create or Select Project
- Create new project or select existing one
- Navigate to the project’s task board
3
Get ID from URL
4
Add to MCP Config
Copy the UUID and add to your AI agent’s MCP configuration.
Data Privacy
Forge MCP server runs locally on your machine. No data is sent to external servers. All operations happen on localhost.
Typical Workflows
Planning Workflow
Bug Discovery Workflow
Status Update Workflow
Best Practices
DO ✅
Use Basic Mode First
Use Basic Mode First
Start with
--mcp (7 tools). Only upgrade to --mcp-advanced if you need specific advanced features.One Project ID Per Agent
One Project ID Per Agent
Configure each AI agent with a specific project ID:
Use Natural Language
Use Natural Language
MCP tools work best with conversational requests:Let the AI translate your intent to MCP calls.
DON’T ❌
Don’t mix MCP modes for the same project. Pick basic OR advanced, not both.
Don’t share Project IDs across users. Each developer should have their own project or use different IDs.
Don’t forget to restart your AI agent after changing MCP configuration.
Troubleshooting
MCP Server Not Found
- Make sure Forge is installed:
npm install -g automagik-forge - Verify command in config is correct:
"command": "npx" - Check args:
"args": ["automagik-forge", "--mcp"] - Restart your AI agent
Project ID Invalid
- Open Forge UI:
npx automagik-forge - Verify project exists
- Copy correct UUID from browser URL
- Update MCP config with correct ID
- Restart AI agent

