xstate-mcp

eandualem/xstate-mcp
★ 2 stars TypeScript AI/LLM Updated today
An MCP server that gives AI coding agents live read/write access to running XState v5 state machines: inspect actors, query state and context, check transition eligibility, and send events.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "xstate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "eandualem/xstate-mcp"
      ]
    }
  }
}

README Excerpt

An MCP server that gives AI coding agents live read/write access to XState v5 state machines. See every running actor, query state and context, inspect event history, check transition eligibility, and send events — without console.log or React DevTools. The intended loop is **observe the running machine → develop or exercise the

Tools (7)

XSTATE_MCP_ALLOWED_ORIGINSXSTATE_MCP_BUFFER_SIZEXSTATE_MCP_LOG_LEVELXSTATE_MCP_REQUIRE_ORIGINXSTATE_MCP_WS_HOSTXSTATE_MCP_WS_PORTsessionId

Topics

ai-agentsclaude-codedebuggingdeveloper-toolsmcpmodel-context-protocolstate-machinestypescriptxstate