redux-mcp
Allows AI tools to read Redux state, list actions, dispatch actions, and reset state history via MCP tools and WebSocket.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@redux-mcp show me the current Redux state"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
redux-mcp
redux-mcp lets AI tools (via MCP) and your app connect to Redux state in a simple way.
It gives you:
MCP tools to read state, list actions, dispatch actions, and reset history
A WebSocket runtime for live state updates
A simple API to register your own Redux stores
What It Does
After integration, LLMs or clients can:
read current Redux state
see available/observed actions
dispatch actions into your store
receive live updates over WebSocket
Related MCP server: Tesseron
Install
Use in your app:
npm install redux-mcp
For local development of this repo:
npm install
Integrate In Your App
Quick start (auto-start runtime)
import "redux-mcp";This auto-starts the runtime WebSocket server on:
ws://localhost:8788/redux-events
Register your Redux stores (recommended)
import { registerStoresForMCP } from "redux-mcp";
registerStoresForMCP({
stores: [{ storeName: "app", store }],
});Notes:
storeshould providegetState()anddispatch(...)multiple stores are supported
action types are learned from observed dispatched actions
Manual runtime control (optional)
import { startReduxRuntimeServers } from "redux-mcp";
const runtime = startReduxRuntimeServers({
websocketPort: 8788,
websocketPathname: "/redux-events",
});
// runtime.stop();Install MCP In Cursor
Add this to Cursor MCP config:
{
"mcpServers": {
"redux-mcp": {
"command": "npx",
"args": ["-y", "redux-mcp"]
}
}
}If Cursor cannot find npx (spawn npx ENOENT), use the absolute npx path instead:
{
"mcpServers": {
"redux-mcp": {
"command": "/absolute/path/to/npx",
"args": ["-y", "redux-mcp"]
}
}
}Then restart MCP servers in Cursor.
Available tools:
redux_get_stateredux_get_state_diffredux_get_actionsredux_dispatch_actionredux_reset_state
For detailed Cursor setup: documentation/cursor-mcp-setup.md.
Available Tools
5 toolsredux_dispatch_actionDispatch Redux ActionC
Dispatch an action to the Redux store.
Inputs: type (required), payload, storeName.
redux_get_actionsGet Redux ActionsB
Return available actions and optionally dispatched history.
Inputs: includeHistory.
redux_get_stateGet Redux StateA
Return the current Redux store snapshot.
Inputs: no named parameters.
redux_get_state_diffGet Redux State DiffA
Return field-level changes between current state and the previous snapshot (or a provided baseline).
Inputs: previousState, rememberCurrentAsPrevious.
redux_reset_stateReset Redux StateA
Reset Redux state and action history to initial values.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool serves a unique purpose: dispatching actions, retrieving actions/history, getting state, computing state diffs, and resetting state. No overlaps exist.
All tools follow the consistent pattern 'redux_verb_noun', using snake_case and clear verbs (dispatch, get, reset). No deviations.
Five tools cover the essential operations for Redux state management without being excessive or insufficient. The count matches the domain scope.
The set covers all key Redux interactions: dispatching, reading state, diffing, resetting, and viewing action history. No obvious gaps for a basic server.
Maintenance
Related MCP Connectors
Connect agents to 6DuckLearn memory, approvals, and runtime control.
Connect AI agents to Turbine Studio for strategies, backtests, research, and trading activity.
Connect your AI agent to 300+ methods and 100+ live tools
Configure AI agents, give them knowledge and tools, and read back every generation they run.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables external tool registration and execution through WebSocket-based communication, providing a unified interface for real-time tool management within SillyTavern.27-
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI agents to execute typed live-app actions over WebSocket, allowing agents to directly interact with real application state without browser automation or scraping.21Business Source 1.1
- AlicenseAqualityDmaintenanceBridges Zustand stores over WebSocket, enabling MCP-capable AI to inspect and manipulate live application state.5MIT
- AlicenseAqualityCmaintenanceConnects AI agents to ROS 2 robots via rosbridge, enabling observation, inspection, and control of robot topics, services, and actions through natural language.112MIT