For the complete documentation index, see llms.txt. This page is also available as Markdown.

Redis

Give an agent access to Redis through the ilert MCP connector, and the two gates on reading key values.

Required permissions

Tool
Required Permission
Description

list_databases

read

List all Redis databases. Useful for discovering which database numbers hold data.

scan_keys

read

List keys in a database matching a pattern. Useful for discovering available keys and their naming patterns.

get_key_info

read

Get detailed information about a key: type, TTL, size, and encoding. Helps understand key structure without reading its contents.

get_key_values

read

Read the values of multiple keys (up to 1 KB each). Returns the actual stored data.

get_metrics

read

Get Redis metrics including server info, memory usage, stats, clients, persistence, replication, CPU, and keyspace.

get_info

read

Get the raw output of the Redis INFO command, for cases where the parsed metrics are not enough.

Deploy the ilert MCP connector

ilert does not connect to your Redis instance directly. The Redis MCP server calls the ilert MCP connector, a service you deploy in your own network and expose over a public HTTPS URL. Deployment, the auth token and all configuration options are on its own page:

ilert MCP connector

Enable Redis on the connector with these variables:

REDIS_ENABLED=true
REDIS_HOST=redis.internal
REDIS_PORT=6379
REDIS_PASSWORD=your_password
REDIS_ENABLE_SENSITIVE_TOOLS=false

Leave REDIS_PASSWORD unset if no password is configured. There is no database-number setting — the agent selects the Redis database per request.

Keep REDIS_ENABLE_SENSITIVE_TOOLS at false unless you want the agent to read key contents — see the note above. Everything else, including key metadata and server metrics, works without it.

Connect Redis with agent

To connect Redis with your AI SRE agent:

1

Navigate to Agents in the ilert navigation menu

2

Open the agent detail view for the agent you want to configure

3

Go to the Tools tab

4

Under the ilert hosted MCP servers section, locate the Redis card

5

Click Connect on the Redis card

6

In the connection dialog that appears:

  • Select connector: Choose "Create new connector" (or select an existing connector if you have one)

  • Type: Select Bearer Token from the dropdown

  • Secret name: Enter a name for your connector (e.g., "Redis Production" or "Redis Main")

  • Secret value: Enter the AUTH_TOKEN value from your connector deployment

  • Host URL: Enter the public URL where your connector is reachable (e.g., https://ilert-mcp-connector.example.com)

7

Click Connect to complete the connection

8

After connecting, you can enable or disable specific tools needed for alert investigation, such as:

  • list_databases - List all Redis databases

  • scan_keys - List keys in a database matching a pattern

  • get_key_info - Get a key's type, TTL, size, and encoding

  • get_key_values - Read the values of multiple keys (sensitive, disabled by default, also needs REDIS_ENABLE_SENSITIVE_TOOLS on the connector)

  • get_metrics - Get server info, memory, stats, clients, persistence, replication, CPU, and keyspace

  • get_info - Get raw Redis INFO command output

The Redis integration is now connected and ready to use for root cause analysis.

Last updated

Was this helpful?