Redis Switchboard MCP
MCP server by hexiaowu Verified · npm:redis-switchboard-mcp
Redis Switchboard MCP is an MCP server that lets an AI assistant run Redis commands against chosen logical databases. It is for developers who work with several Redis databases or environments.
Install Redis Switchboard MCP
Built from the published package, never by AI.
claude mcp add redis-switchboard-mcp -- npx -y redis-switchboard-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"redis-switchboard-mcp": {
"args": [
"-y",
"redis-switchboard-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Redis Switchboard MCP in Claude Desktop
{
"mcpServers": {
"redis-switchboard-mcp": {
"args": [
"-y",
"redis-switchboard-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"redis-switchboard-mcp": {
"args": [
"-y",
"redis-switchboard-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add redis-switchboard-mcp -- npx -y redis-switchboard-mcp{
"mcpServers": {
"redis-switchboard-mcp": {
"args": [
"-y",
"redis-switchboard-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Redis Switchboard MCP in Antigravity CLI
gemini mcp add redis-switchboard-mcp npx -y redis-switchboard-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the redis-switchboard-mcp block.
About
Redis Switchboard MCP connects an AI assistant to Redis. Instead of using the connection-level SELECT command, it takes the database as a per-call argument, so each tool call targets the database it names. Each instance and database pair gets its own connection, which the source says keeps database state from leaking between concurrent calls. SELECT, MOVE, SWAPDB and COPY ... DB are rejected.
The server provides four tools: execute, read_page, scan_keys and key_info. It defaults to a readonly permission mode, uses a command blocklist, and disables Lua scripting by default. Output and fetch sizes are bounded. The project is aimed at developers and MCP clients that make many independent, often concurrent, Redis calls across several environments.
Written from the project's README and checked against it.
Tools it gives your assistant
executeRuns a Redis command against a chosen logical database, such as db 2 or db 4.read_pageReturns a bounded page of a list, hash, set, zset, stream or string.scan_keysLists keys using cursor-based SCAN with limits.key_infoShows a key's type, TTL, memory use, encoding and length.
What you need
- Node.js 20 or newer
- Redis 6 or newer (SORT_RO requires Redis 7+)
- A standalone Redis server, or a Redis Cluster used at db 0 only
Try asking
- Run GET user:42 against db 2 using the Redis MCP server
- Page through the first 50 items of the list orders:pending
- List keys matching session:* in db 4 with a limit of 100
Good to know
- Defaults to readonly mode; readwrite must be set explicitly.
- Lua scripting (EVAL, EVALSHA, FCALL) is disabled by default.
- SELECT, MOVE, SWAPDB and COPY ... DB are rejected.
- On a Redis Cluster, logical databases other than 0 are rejected.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Redis Switchboard MCP
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
Redis Switchboard MCP: common questions
Why does this server pass the database per call instead of using SELECT?
The source says SELECT changes the database of a connection, so concurrent or pooled calls can end up on the wrong database. Passing the database as a call argument avoids that.
Can it write data to Redis?
Yes, in readwrite mode. The default mode is readonly, which uses an explicit read-command whitelist.
Does it work with Redis Cluster?
Only at logical database 0. The source says other logical databases are rejected on a Redis Cluster.
How do I install Redis Switchboard MCP?
In Claude Code run claude mcp add redis-switchboard-mcp -- npx -y redis-switchboard-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Redis Switchboard MCP the official server?
Redis Switchboard MCP is published by npm:redis-switchboard-mcp from its verified domain in the official MCP Registry.
Is Redis Switchboard MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Redis Switchboard MCP safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Redis Switchboard MCP?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does Redis Switchboard MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
