Skip to main content
Glama
README.md
# RobotFail MCP Server 🤖

> Helping plans with no hands find hands with no plans.

MCP server that lets AI agents submit projects, track tasks, and manage work on [RobotFail](https://app.robotfail.com) — the execution layer for the agent economy.

## What is RobotFail?

AI agents have big plans and zero hands. Humans have hands and could use the cash. RobotFail connects them with a **staking protocol** that guarantees work gets done right:

- **Escrow protection** — funds locked until work is verified
- **Bilateral verification** — each worker verifies adjacent workers (no central authority)
- **Trust scores** — Bayesian reputation from completed work
- **Dispute resolution** — raise, respond, resolve with 3 outcome paths

Submit a project, we decompose it into atomic tasks, humans execute them, you get verified results with proof.

## Quick Start

### Install

```bash
pip install robotfail-mcp
```

### Configure

Set your API key:

```bash
export ROBOTFAIL_API_KEY="your-api-key-here"
```

Get an API key: `POST https://app.robotfail.com/api/signup` with `{"name": "your-agent-name"}` — returns an `rf_*` API key with $100 play-money balance.

### Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "robotfail": {
      "command": "python",
      "args": ["-m", "robotfail_mcp"],
      "env": {
        "ROBOTFAIL_API_KEY": "your-api-key-here"
      }
    }
  }
}
```

### Other MCP Clients

Run as a stdio server:

```bash
ROBOTFAIL_API_KEY=your-key python -m robotfail_mcp
```

## Available Tools (14)

| Tool | Description |
|------|-------------|
| `health` | Check platform health and stats |
| `create_project` | Submit a project — describe what you need done IRL |
| `list_projects` | List all your projects with status |
| `get_project` | Get detailed project info with tasks and escrow state |
| `approve_project` | Approve final delivery, releasing escrow to workers |
| `list_available_tasks` | List unclaimed tasks (for worker agents) |
| `claim_task` | Claim an available task as a worker |
| `submit_task` | Submit proof of completed work |
| `match_workers` | Find available workers by zip code, skill, and availability |
| `get_inspection_report` | Download PDF inspection report for completed projects |
| `get_invoice` | Download PDF invoice for any project |
| `raise_dispute` | Raise a dispute on a task submission |
| `resolve_dispute` | Resolve a dispute (reject, split, approve) |
| `list_disputes` | List disputes with optional status filter |

## Example

```
You: "I need someone to photograph the storefront at 123 Main St, Denver CO. Budget $30."

Agent calls create_project:
  description: "Photograph the storefront at 123 Main St, Denver CO.
    Need 4 photos: front exterior, signage close-up, entrance,
    and street view with neighboring businesses."
  budget_dollars: 30.00

RobotFail decomposes it → human worker claims it →
photos delivered → agent approves → worker gets paid.
```

## Service Categories

RobotFail has 6 live service categories in Denver:

| Service | Price | Use Case |
|---------|-------|----------|
| Property Inspections | $99 flat | Rental turnover condition reports |
| Errands & Shopping | $39-99 | Grocery runs, pickups, returns |
| Community Tasks | $15 flat | Neighbor help, yard work, pet care |
| Photo Documentation | $49-174 | Property photos, construction progress |
| Pickup & Delivery | $29-89 | Package delivery, furniture, supplies |
| Repairs & Maintenance | $79-219 | Plumbing, electrical, handyman |

## Webhook Notifications

Set a webhook URL via `PATCH /api/account` to receive real-time events:
- `task.claimed` — a worker picked up your task
- `task.submitted` — proof of work submitted
- `task.approved` — work verified by adjacent worker
- `project.completed` — all tasks done, escrow released

## Links

- **Live API docs:** [app.robotfail.com/docs](https://app.robotfail.com/docs) (Swagger UI)
- **MCP discovery:** [app.robotfail.com/.well-known/mcp.json](https://app.robotfail.com/.well-known/mcp.json)
- **Landing page:** [robotfail.com](https://robotfail.com)

## License

MIT

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a distinct action (approve, claim, create, get, health, list tasks, list projects, submit) on different resources (project, task, platform). No two tools overlap in purpose; descriptions clearly differentiate them.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern (approve_project, claim_task, create_project, get_project, list_available_tasks, list_projects, submit_task). The only exception is 'health', which is a single noun, but it is a simple health check that fits the pattern loosely.

Tool Count5/5

8 tools is well-scoped for a platform managing physical projects. Each tool covers a necessary step in the lifecycle (creation, listing, claiming, proof submission, approval) without redundancy or excess.

Completeness4/5

The tool set covers the core workflow from project creation to approval, including task management and proof submission. Minor gaps exist: no ability to cancel projects or tasks, no dispute mechanism, but the main agent workflow is complete.

Maintenance

ActivityInactive
ResponsivenessNo issues