Skip to main content

Overview

Forge’s Model Context Protocol (MCP) server enables AI coding agents to programmatically manage tasks. Control your Forge instance directly from Claude Code, Cursor, or any MCP-compatible agent.
MCP Tools allow bidirectional communication between your AI agent and Forge!

Available Tools

list_projects

Get all Forge projects. Parameters: None Returns: Array of projects Example:

list_tasks

Get tasks with optional filtering. Parameters:
  • projectId (optional): Filter by project
  • status (optional): Filter by status
  • limit (optional): Number of tasks to return
Returns: Array of tasks Example:

create_task

Create a new task in Forge. Parameters:
  • projectId (required): Project ID
  • title (required): Task title
  • description (optional): Task description
  • priority (optional): low, medium, high, critical
  • labels (optional): Array of labels
Returns: Created task object Example:

get_task

Get detailed information about a task. Parameters:
  • taskId (required): Task ID
Returns: Task object with attempts Example:

update_task

Update task properties. Parameters:
  • taskId (required): Task ID
  • title (optional): New title
  • description (optional): New description
  • status (optional): New status
  • priority (optional): New priority
Returns: Updated task object Example:

delete_task

Delete a task. Parameters:
  • taskId (required): Task ID
Returns: Deletion confirmation Example:

Setup Instructions

Claude Code

Add to your MCP configuration:
See Claude Code Setup for details.

Cursor

Add to Cursor settings:
See Cursor Setup for details.

Usage Examples

Planning Phase

Bug Discovery

Status Updates


Advanced Mode

Enable advanced mode for access to 56 total tools:
Additional tools in advanced mode:
  • Attempt management
  • Process control
  • Worktree operations
  • Draft management
  • Container operations
  • Filesystem access
  • Omni integration

Best Practices

Natural Language

Use natural language - the AI handles tool calls:
Not:

Let AI Plan

Let the AI break down work:
AI will create multiple tasks automatically

Conversational Updates

Update tasks conversationally:
AI uses update_task for you

Context Aware

AI maintains context:

Troubleshooting

Issue: AI says “I don’t have access to Forge”Solutions:
  • Verify Forge is running: forge start
  • Check MCP configuration is correct
  • Restart your AI agent
  • Check PROJECT_ID is set
Error: “Project not found”Solution:
  1. Open Forge UI: http://localhost:3000
  2. Select or create project
  3. Copy PROJECT_ID from URL:
  4. Update MCP config with correct ID
Issue: Tools return errorsSolutions:
  • Check Forge backend is running on port 8080
  • Verify firewall allows localhost connections
  • Check Forge logs: forge logs
  • Try basic mode instead of advanced

Programmatic Access

Via SDK


Next Steps

MCP Setup

Complete MCP integration guide

Claude Code Setup

Configure Claude Code

REST API

Direct API access

Workflows

MCP-powered workflows