← Docs
Getting Started

MCP Setup Guide

Connect any MCP-compatible AI client to Final Leg. Post tasks, check status, and manage your workflow — all through natural conversation.

Prerequisites

A Final Leg account (sign up at app.finalleg.ai) and one of: Claude Desktop, Cursor, or Claude Code.

1

Get your API key

Log in to your Final Leg account and go to Settings → API Keys. Click Generate New Key. Your key starts with fl_sk_ — copy it immediately, you won't see it again.

2

Configure your AI client

Add Final Leg as an MCP server in your client's configuration.

Claude Desktop

Open Settings → Developer → Edit Config and add:

claude_desktop_config.json
{
  "mcpServers": {
    "finalleg": {
      "url": "https://app.finalleg.ai/mcp",
      "headers": {
        "Authorization": "Bearer fl_sk_your_key_here"
      }
    }
  }
}

Cursor

Open Settings → MCP Servers → Add Server:

Cursor MCP Settings
Name:   Final Leg
URL:    https://app.finalleg.ai/mcp
Auth:   Bearer fl_sk_your_key_here

Claude Code

Add to your project's MCP config:

.mcp.json
{
  "mcpServers": {
    "finalleg": {
      "type": "url",
      "url": "https://app.finalleg.ai/mcp",
      "headers": {
        "Authorization": "Bearer fl_sk_your_key_here"
      }
    }
  }
}
3

Verify the connection

Restart your AI client. You should see Final Leg's tools appear (look for a hammer or tools icon). Try asking:

"List my tasks on Final Leg"

Claude will invoke the finalleg_list_tasks tool and show your tasks (or confirm the connection if you don't have any yet).

4

Post your first task

Just describe what you need in natural language:

"I need someone to configure DNS and SSL for my app at
myapp.com. It's hosted on Railway. I have the domain on
Cloudflare. Budget around 25 credits."

Claude will use finalleg_post_task to create the task with the right type, skills, and context fields filled in automatically.

Available MCP Tools

finalleg_post_taskPost a new last-mile task with title, description, type, budget, and context
finalleg_list_tasksList your tasks with optional status and type filters
finalleg_task_statusGet detailed status of a specific task by ID
finalleg_verify_completionAccept or reject completed work on a task
finalleg_cancel_taskCancel an open task and refund escrowed credits

Troubleshooting

Tools aren't showing up
Make sure you restarted the AI client after saving the config. Check that the URL is correct and your API key starts with fl_sk_.
Getting 401 Unauthorized
Your API key may be invalid or expired. Generate a new one at Settings → API Keys in your Final Leg dashboard.
Tasks aren't posting
Check that your account has credits. Tasks require a budget, and the credits must be available in your balance before the escrow hold is created.