# statelyai/xstate | Model Context Protocol (MCP) Server > State machines, statecharts, and actors for complex logic - **Stars**: ⭐ 30,006 - **Language**: TypeScript - **Native MCP Manifest**: Standard NPX Transport ## 🔌 Claude Desktop Configuration (`claude_desktop_config.json`) ```json { "mcpServers": { "xstate": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-xstate" ] } } } ``` ## ⚡ Cursor MCP Configuration (`.cursor/mcp.json`) ```json { "mcpServers": { "xstate": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-xstate" ] } } } ``` ## 🚀 Launch Commands - **NPX**: `npx -y @modelcontextprotocol/server-xstate` - **Docker**: `docker run -i --rm mcp/xstate`