mcpbeat

Redisctl Database Connect

redis/redisctl-database-connect

Connect to Redis databases using the redisctl CLI. Use when opening redis-cli sessions, managing connection profiles, or working with multiple Redis clusters.

521 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
17
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/redis/redisctl --skill redisctl-database-connect

The instruction itself

7 sections, as written by the author

Overview

Connect to Redis databases using profile-based credential management. Supports direct Redis connections, Cloud databases, and Enterprise databases.

Quick Connect

# Open redis-cli using the default database profile
redisctl db open

# Open redis-cli with a specific profile
redisctl db open --profile my-redis

Profile-Based Connection Management

Create Database Profiles

# Local Redis
redisctl profile set local --type database --url "redis://localhost:6379"

# Redis with password
redisctl profile set staging --type database --url "redis://:password@host:6379"

# Redis with TLS
redisctl profile set prod --type database --url "rediss://host:6380"

# Set as default
redisctl profile default-database local

Multi-Cluster Workflows

Create profiles for each environment:

redisctl profile set dev-redis --type database --url "redis://dev:6379"
redisctl profile set staging-redis --type database --url "rediss://staging:6380"
redisctl profile set prod-redis --type database --url "rediss://prod:6380"

Switch between them:

# Connect to dev
redisctl db open --profile dev-redis

# Connect to staging
redisctl db open --profile staging-redis

Raw API Access

For operations not covered by specific commands:

# Cloud API
redisctl api cloud GET /subscriptions
redisctl api cloud POST /subscriptions/12345/databases --data '{...}'

# Enterprise API
redisctl api enterprise GET /v1/bdbs
redisctl api enterprise PUT /v1/bdbs/1 --data '{...}'

Tips

  • Database profile URLs follow the standard Redis URI scheme: redis://[user:password@]host[:port][/db]
  • Use rediss:// (double s) for TLS connections
  • Profile credentials support environment variable substitution: --url "redis://:${REDIS_PASSWORD}@host:6379"
  • Run redisctl profile validate to test all profile connections

How to use it

Copy the folder

Take redis/redisctl-database-connect from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.