Skip to content
MCP server

Statecli

State replay and self-debugging for AI agents. Track, replay, undo, checkpoint.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.5.0
Listing updated
4 days ago

About Statecli

Statecli is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add statecli -- npx -y statecli-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "statecli": {
      "command": "npx",
      "args": [
        "-y",
        "statecli-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "statecli": {
      "command": "npx",
      "args": [
        "-y",
        "statecli-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "statecli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "statecli-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "statecli": {
      "command": "npx",
      "args": [
        "-y",
        "statecli-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "statecli": {
      "command": "npx",
      "args": [
        "-y",
        "statecli-mcp-server"
      ]
    }
  }
}

Pricing

Open source

Statecli FAQ

Is Statecli free?

Yes. Statecli is open source, so you can use and self-host it for free.

How do I add Statecli to Claude Code?

Run this command in your terminal: claude mcp add statecli -- npx -y statecli-mcp-server