Skip to main content
Glama
Nicolas-One

Redis CRUD MCP Server

by Nicolas-One

Redis CRUD MCP-Server

Dies ist ein MCP-Server-Plugin (Model Context Protocol) für Redis-Datenbankoperationen, das vollständige CRUD-Tools bereitstellt.

✨ Funktionen

  • 🔍 Automatische Erkennung der Projektkonfiguration - Sucht automatisch nach .env-Dateien, um das Projektstammverzeichnis zu finden

  • 🔄 Unterstützung für mehrere Projekte - Verschiedene Projekte verwenden automatisch unterschiedliche Redis-Verbindungen

  • ⏱️ Verbindungs-Timeout-Schutz - Standard-Timeout von 10 Sekunden, konfigurierbar über Umgebungsvariablen

  • 📝 Mehrere Konfigurationsformate - Unterstützt sowohl INI-Sektionen als auch KEY=VALUE-Formate

  • 🛠️ Kompatibilität mit mehreren Tools - Unterstützt Claude Code, Cline, Codex usw.

Related MCP server: MCP Server Redis

🚀 Schnellstart

Globale Installation (empfohlen)

npm install -g redis-crud-server

MCP-Konfiguration

Erstellen Sie eine .mcp.json im Projektstammverzeichnis:

{
  "mcpServers": {
    "redis-crud": {
      "command": "redis-crud-server"
    }
  }
}

⚙️ Konfigurationshinweise

Konfigurationsformat 1: INI-Sektionsformat

[REDIS]
REDIS_HOSTNAME = 127.0.0.1
PORT = 6379
REDIS_PASSWORD = your_password
SELECT = 0

Konfigurationsformat 2: KEY=VALUE-Format

REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=your_password

Unterstützte Konfigurationsnamen

Konfigurationselement

Unterstützte Namen

Host

REDIS_HOST / REDIS_SERVER_HOST / REDIS_HOSTNAME

Port

REDIS_PORT / REDIS_SERVER_PORT / PORT

Passwort

REDIS_PASSWORD / REDIS_SERVER_PASSWORD / PASSWORD

Datenbank

REDIS_DB / SELECT / DATABASE_INDEX

🔧 Tool-Liste

String-Operationen

  • redis_set - Setzt einen String-Schlüsselwert

  • redis_get - Ruft einen String-Schlüsselwert ab

  • redis_del - Löscht einen Schlüssel

  • redis_exists - Überprüft, ob ein Schlüssel existiert

Hash-Operationen

  • redis_hset - Setzt ein Hash-Feld

  • redis_hget - Ruft ein Hash-Feld ab

  • redis_hgetall - Ruft alle Hash-Felder ab

  • redis_hdel - Löscht ein Hash-Feld

Informationen

  • redis_info - Ruft Verbindungsinformationen ab

⏱️ Timeout-Konfiguration

Das Standard-Verbindungs-Timeout beträgt 10 Sekunden und kann über Umgebungsvariablen konfiguriert werden:

{
  "mcpServers": {
    "redis-crud": {
      "command": "redis-crud-server",
      "env": {
        "REDIS_TIMEOUT": "30000"
      }
    }
  }
}

📝 Anwendungsbeispiele

Schlüsselwert setzen

redis_set: key=test_key, value=hello_world

Schlüsselwert abrufen

redis_get: key=test_key

Hash-Operationen

redis_hset: key=user:1, field=name, value=张三
redis_hget: key=user:1, field=name
redis_hgetall: key=user:1

🐛 Fehlerbehebung

Verbindungs-Timeout

  • Überprüfen Sie die Netzwerkverbindung und die Firewall-Einstellungen

  • Bestätigen Sie, dass der Redis-Server erreichbar ist

  • Passen Sie die Umgebungsvariable REDIS_TIMEOUT an

Konfigurationsdatei nicht gefunden

  • Stellen Sie sicher, dass sich die .env-Datei im Projektstammverzeichnis befindet

  • MCP sucht automatisch im Verzeichnisbaum nach oben nach der .env-Datei

INI-Format-Analyse fehlgeschlagen

  • Stellen Sie sicher, dass der korrekte Sektionsname [REDIS] verwendet wird

  • Unterstützt Windows (\r\n), Unix (\n) und alte Mac (\r) Zeilenumbrüche

📄 Lizenz

MIT

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
    112
    30
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A server that provides Claude with Redis database access and operations through a set of tools for basic operations, lists, hashes, sets, and pub/sub functionality.
    24
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to perform comprehensive Redis database operations including managing strings, hashes, lists, sets, sorted sets, TTL management, and data backup/restore. Supports secure connections and provides batch operations for efficient Redis interaction through natural language.
    34
    7
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI to safely view and operate Redis databases with read-only mode by default and support for key operations.
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • GibsonAI MCP server: manage your databases with natural language

  • The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.

  • JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.

View all MCP Connectors

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/Nicolas-One/redis-crud-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server