Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Redux

FreeNot checked

Connects AI tools to Redux state, enabling reading state, listing/dispatching actions, resetting history, and receiving live WebSocket updates.

GitHubEmbed

About

Connects AI tools to Redux state, enabling reading state, listing/dispatching actions, resetting history, and receiving live WebSocket updates.

README

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

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:

  • store should provide getState() and dispatch(...)
  • 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_state
  • redux_get_state_diff
  • redux_get_actions
  • redux_dispatch_action
  • redux_reset_state

For detailed Cursor setup: documentation/cursor-mcp-setup.md.

from github.com/n1snt/redux-mcp

Install Redux in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install redux-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add redux-mcp -- npx -y redux-mcp

FAQ

Is Redux MCP free?

Yes, Redux MCP is free — one-click install via Unyly at no cost.

Does Redux need an API key?

No, Redux runs without API keys or environment variables.

Is Redux hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Redux in Claude Desktop, Claude Code or Cursor?

Open Redux on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Redux with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs