Allows AI tools to read Redux state, list actions, dispatch actions, and reset state history via MCP tools and WebSocket.
Click on "Install 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-mcpshow 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: MCP Pickaxe Server
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/n1snt/redux-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
