Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Follow AllMCPs on X (opens in a new tab)AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • X (@AllMCPs) โ†— (opens in a new tab)
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ป Developer Tools
  3. Statecli
S
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Statecli

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "statecli": {
      "command": "npx",
      "args": [
        "-y",
        "statecli"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ’ป More in Developer Tools

Documentation Overview

StateCLI - Memory + Self-Awareness Layer for AI Agents

Give AI agents the ability to remember, replay, and undo their actions.

Agent Infrastructure | Memory Layer | Self-Awareness | Undo Capability


What This Is

StateCLI is the memory and self-awareness layer for AI coding agents.

It gives agents three critical capabilities they lack:

๐Ÿง  Memory - Remember what they did (log, replay)
โฎ๏ธ Undo - Fix mistakes instantly (checkpoint, rollback)
๐Ÿ‘๏ธ Self-Awareness - See their impact (track changes)

This isn't a dev tool. It's agent infrastructure.


Why AI Agents Need This

AI agents are powerful but blind. They:

  • โŒ Don't remember what they just changed
  • โŒ Can't undo when they break things
  • โŒ Have no awareness of their impact

StateCLI fixes this:

Code
Agent Thought: "I changed something but don't know what"
โ†’ statecli_replay(entity) โ†’ See exact changes

Agent Thought: "I broke something and need to undo"
โ†’ statecli_undo(entity) โ†’ Rollback instantly

Agent Thought: "I want to try something risky"
โ†’ statecli_checkpoint(entity) โ†’ Save first, rollback if needed

Agent Thought: "I need to understand my past behavior"
โ†’ statecli_log(entity) โ†’ View complete history


Two Ways to Use StateCLI

1. For Developers: Auto-Tracking Mode ๐Ÿ”ฅ

Start watching your project:

bash
statecli watch start --auto-checkpoint

Now StateCLI automatically:

  • โœ… Tracks every file save
  • โœ… Creates checkpoints every 15 min
  • โœ… Lets you undo any mistake
  • โœ… Shows what changed recently
  • โœ… Windows Native Support (v0.4.1+)

See what changed:

bash
statecli diff --time 5m

Undo mistakes:

bash
statecli undo

๐Ÿ‘‰ Full Developer Guide


2. For AI Agents: MCP Tools

5 core tools for agent memory & self-awareness:

  • statecli_replay - Show what the agent just did
  • statecli_undo - Rollback mistakes
  • statecli_checkpoint - Save state before risky ops
  • statecli_log - View complete history
  • statecli_track - Track important state changes

MCP Setup:

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

Quick Install

bash
# Global install
npm install -g statecli-mcp-server

# Start auto-tracking
cd your-project
statecli watch start --auto-checkpoint

๐Ÿค– Agent Instructions (LLM-Optimized)

text
  STATECLI AGENT RULES โ€” READ BEFORE ANY ACTION
 
  You are operating in a stateful, reversible environment.
  Follow these rules on EVERY task without exception:
 
  RULE 1: Before ANY file write, deletion, or API mutation,
  call statecli_is_safe() first. If not safe, checkpoint first.
 
  RULE 2: Before ANY multi-step operation, call
  statecli_checkpoint() to create a named restore point.
 
  RULE 3: After ANY error, call statecli_analyze_error()
  before attempting any fix. Never guess. Always analyze.
 
  RULE 4: After ANY set of changes, call statecli_log()
  to record what you did and why.
 
  Skipping these steps makes your actions irreversible.

Full Tool Directory (27 Tools)

statecli_track

[CORE] Records any agent action with full metadata so it can be replayed, audited, or reversed later. Call this after every meaningful action you take โ€” file changes, API calls, decisions. If you don't track it, you cannot undo it. ๐Ÿ”” Trigger when: You completed any action (file written, API called, decision made, config changed). Think of this as your action journal. ๐Ÿ”— Chain with: statecli_checkpoint() before, statecli_replay() to review, statecli_undo() to reverse


statecli_replay

[CORE] Replays the full history of actions taken on any entity โ€” a file, a session, a task. Use this when you need to understand what changed and in what order before making further changes. Essential before debugging. ๐Ÿ”” Trigger when: You need to understand what has already been done to an entity. You're about to debug. A human asks 'what did you change?' ๐Ÿ”— Chain with: statecli_log() to see summary, statecli_undo() to reverse specific steps


statecli_undo

[CORE] Reverses the last action or a named action on an entity, restoring it to its previous state. This is your safety net. Call this immediately when something breaks, before attempting any fix. ๐Ÿ”” Trigger when: Something broke. A test failed after your change. A human says 'revert that'. You made a mistake and need to roll back. ๐Ÿ”— Chain with: statecli_preview_undo() first to see what will change, statecli_checkpoint() before retrying


statecli_checkpoint

[CORE] Creates a named, reversible snapshot of an entity's current state. Call this BEFORE any risky operation โ€” refactors, deletions, multi-file changes, API mutations. A checkpoint costs nothing. An unrecoverable mistake costs everything. ๐Ÿ”” Trigger when: You are ABOUT TO modify any file, database, or external service. You are starting a multi-step task. The human says 'be careful with this'. ๐Ÿ”— Chain with: statecli_predict_impact() to assess risk first, statecli_undo() or statecli_is_safe() after


statecli_log

[CORE] Writes a structured audit entry describing what the agent did, why, and what state it left things in. Call this at the end of every task or significant action. Required for compliance, debugging, and human oversight. ๐Ÿ”” Trigger when: You completed a task or a phase of work. Any time a human might later ask 'what did you do here?' ๐Ÿ”— Chain with: statecli_track() for individual actions, statecli_replay() to review history


statecli_track_file

[FILE] Begins continuous monitoring of a specific file, capturing every write, modification, and deletion with timestamps. Call before touching any important file. Without this, file changes are invisible to the undo system. ๐Ÿ”” Trigger when: You are about to read and then modify a file. Any important file is being worked on. The human references a specific file path. ๐Ÿ”— Chain with: statecli_checkpoint() first, statecli_file_history() to review, statecli_undo() to revert


statecli_file_history

[FILE] Returns the complete change history of a tracked file โ€” every version, every diff, every agent that touched it. Use this before editing a file to understand its current state and avoid overwriting important changes. ๐Ÿ”” Trigger when: Before editing any file. When debugging why a file has unexpected content. Before a code review. ๐Ÿ”— Chain with: statecli_replay() for full session context, statecli_undo() to restore a previous version


statecli_analyze_error

[ERROR] Analyzes an error by examining recent action history to identify what change caused it. Call this BEFORE attempting any fix. Never guess at the cause of an error โ€” analyze it first. Returns probable cause and suggested recovery steps. ๐Ÿ”” Trigger when: ANY error occurs. A test fails. An API returns unexpected results. ALWAYS call this before attempting to fix anything. ๐Ÿ”— Chain with: statecli_auto_recover() for automatic fix, statecli_undo() to revert the causative change


statecli_auto_recover

[ERROR] Automatically attempts to recover from an error by reversing the change that caused it and restoring the last known good state. Call after statecli_analyze_error() confirms the root cause. Faster and safer than manual debugging. ๐Ÿ”” Trigger when: statecli_analyze_error() has identified the cause and you want the system to auto-fix it. ๐Ÿ”— Chain with: statecli_analyze_error() first always, statecli_safe_execute() to retry the action safely


statecli_safe_execute

[ERROR] Wraps any operation in automatic checkpoint-before and undo-on-failure logic. The safest way to execute any risky action. If the operation fails, it automatically reverts. Use this for any action you're uncertain about. ๐Ÿ”” Trigger when: You are about to do something you are not 100% confident about. Any destructive or external operation. ๐Ÿ”— Chain with: statecli_predict_impact() to assess risk, statecli_analyze_error() if it fails


statecli_run_tests

[TEST] Runs the relevant test suite and records pass/fail history against the current state. Call after any code change to verify nothing broke. Tracks test results over time so you can see when tests started failing. ๐Ÿ”” Trigger when: After any code modification. Before finalizing any change. When a human asks 'did you break anything?' ๐Ÿ”— Chain with: statecli_test_impact() to know WHICH tests to run first, statecli_undo() if tests fail


statecli_test_impact

[TEST] Identifies exactly which tests are affected by your changes โ€” so you run the right tests, not all tests. Returns a prioritized list of tests most likely to catch your specific change. Saves time, catches errors faster. ๐Ÿ”” Trigger when: After making any code change, before running tests. When you need to know the blast radius of your edit. ๐Ÿ”— Chain with: statecli_run_tests() with the returned test list, statecli_predict_impact() for broader analysis


statecli_suggest_tests

[TEST] Analyzes your change and suggests new tests that should be written to cover it. Call after adding new functionality. If you changed behavior that has no test coverage, this tool finds the gap. ๐Ÿ”” Trigger when: After adding new features or changing behavior. Before considering a task complete. ๐Ÿ”— Chain with: statecli_test_impact() to check existing coverage, statecli_run_tests() to verify


statecli_analyze_dependencies

[DEPS] Scans a file or module and returns all upstream and downstream dependencies โ€” what it depends on and what depends on it. Call before modifying any shared module to understand the full impact of your change. ๐Ÿ”” Trigger when: Before modifying any file that might be imported or used elsewhere. Before any refactor. ๐Ÿ”— Chain with: statecli_dependency_tree() for visual map, statecli_predict_impact() for change risk score


Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Codealive MCP logoCodealive MCP

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Codealive MCP โ†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    ๐Ÿ’ป Developer Tools1 views
    Compare vs PraisonAI โ†’
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Labelhead Artist Momentum โ†’
  • BLEA logoBLEA

    Safe BLE diagnostics, evidence workflows, and guarded automation for AI agents.

    ๐Ÿ’ป Developer Tools1 views
    Compare vs BLEA โ†’

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Statecli

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "statecli": { "command": "npx", "args": ["-y", "statecli"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewStatecli AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/statecli?style=directory)](https://allmcps.com/mcp/statecli)
HTML Embed
<a href="https://allmcps.com/mcp/statecli"><img src="https://allmcps.com/api/badge/statecli?style=directory" alt="Statecli on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ปDeveloper Tools
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging ยท 27/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ป Developer Tools โ†’Best MCP servers for Developers โ†’Alternatives to Statecli โ†’Install in Claude DesktopInstall in CursorInstall in VS Code