Redux
БесплатноНе проверенConnects AI tools to Redux state, enabling reading state, listing/dispatching actions, resetting history, and receiving live WebSocket updates.
Описание
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:
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.
Установка Redux
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/n1snt/redux-mcpFAQ
Redux MCP бесплатный?
Да, Redux MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Redux?
Нет, Redux работает без API-ключей и переменных окружения.
Redux — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Redux в Claude Desktop, Claude Code или Cursor?
Открой Redux на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Redux with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
