# StateDock

Keeps goals, decisions and handoffs in one place so Claude, Cursor and Codex can read project context instead of starting over.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8
- Author: statedock
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/statedock/statedock
- Updated: 2026-10-17
- HTML: https://affpapa.org/en/nevibecode/mcp/statedock

## What it does

StateDock gives you and your coding agents a shared task layer. Goals, decisions and handoffs sit in one store; agents pull context over MCP, take work that is ready and write their own handoffs back. The next agent sees where the last one stopped.

This is the Cloudflare self-hosted edition. You deploy it inside your own Cloudflare account and run its Workers, D1, KV, R2, domain, email delivery and backups yourself. It is a separate product from StateDock Cloud and carries no Cloud subscription tiers. If you would rather run it on your own machine or a Linux box from a single command, StateDock Local is the one to pick.

Coding-tool plugins live in a separate MIT repository: they save plans, restore task context and record progress through StateDock Remote MCP. The published packages point at `https://statedock.dev/mcp` by default, so a self-hosted setup needs its own MCP configuration. These plugins only record and restore project state — they do not run task code or schedule agents.

## Requirements
- Remote server: `https://statedock.dev/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http statedock https://statedock.dev/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add statedock --url https://statedock.dev/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "statedock": {
            "url": "https://statedock.dev/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "statedock": {
            "type": "http",
            "url": "https://statedock.dev/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http statedock https://statedock.dev/mcp
```

## When to use it
- hand a task's context to an agent without retyping it
- record a decision so the next agent does not relitigate it
- restore project state after switching tools
- log progress on a task from inside the agent
- run shared agent memory inside your own Cloudflare account

## Example prompts
- Add the StateDock MCP server with `claude mcp add --transport http statedock https://statedock.dev/mcp`
- Save this task's plan to StateDock and mark what is already done
- Pull the context of the earlier task on this module from StateDock

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
