Skip to main content
Glama

MCP Server Redis

from typing import TypedDict from dotenv import load_dotenv import os class RedisConfig(TypedDict): host: str port: int db: int decode_responses: bool # Load environment variables from .env file load_dotenv() # Default Redis configuration REDIS_CONFIG = { "host": os.getenv("REDIS_HOST", "localhost"), "port": int(os.getenv("REDIS_PORT", 6379)), "db": int(os.getenv("REDIS_DB", 0)), "password": os.getenv("REDIS_PASSWORD", None), "decode_responses": True # Automatically decode response bytes to strings }

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/prajwalnayak7/mcp-server-redis'

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