Upstash MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UPSTASH_EMAILYesYour Upstash account email address
UPSTASH_API_KEYYesYour Upstash API key that can be created from the Upstash console

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
redis_database_create_new

Create a new Upstash redis database. NOTE: Ask user for the region and name of the database. NOTE: Don't show the database ID from the response to the user unless explicitly asked or needed.

redis_database_delete

Delete an Upstash redis database.

redis_database_list_databases

List all Upstash redis databases. Only their names and ids. NOTE: Don't show the database ID from the response to the user unless explicitly asked or needed.

redis_database_get_details

Get further details of a specific Upstash redis database. Includes all details of the database including usage statistics. db_disk_threshold: Total disk usage limit. db_memory_threshold: Maximum memory usage. db_daily_bandwidth_limit: Maximum daily network bandwidth usage. db_request_limit: Total number of commands allowed. All sizes are in bytes

NOTE: Don't show the database ID from the response to the user unless explicitly asked or needed.

redis_database_update_regions

Update the read regions of an Upstash redis database.

redis_database_reset_password

Reset the password of an Upstash redis database.

redis_database_get_usage_last_5_days

Get PRECISE command count and bandwidth usage statistics of an Upstash redis database over the last 5 days. This is a precise stat, not an average. NOTE: Ask user first if they want to see stats for each database seperately or just for one.

redis_database_get_stats

Get SAMPLED usage statistics of an Upstash redis database over a period of time (1h, 3h, 12h, 1d, 3d, 7d). Use this to check for peak usages and latency problems. Includes: read_latency_mean, write_latency_mean, keyspace, throughput (cmds/sec), diskusage NOTE: If the user does not specify which stat to get, use throughput as default.

redis_database_create_backup

Create a backup of a specific Upstash redis database. NOTE: Ask user to choose a name for the backup

redis_database_delete_backup

Delete a backup of a specific Upstash redis database.

redis_database_restore_backup

Restore a backup of a specific Upstash redis database. A backup can only be restored to the same database it was created from.

redis_database_list_backups

List all backups of a specific Upstash redis database.

redis_database_set_daily_backup

Enable or disable daily backups for a specific Upstash redis database.

redis_database_run_single_redis_command

Run a single Redis command on a specific Upstash redis database. NOTE: For discovery, use SCAN over KEYS. Use TYPE to get the type of a key. NOTE: SCAN cursor [MATCH pattern] [COUNT count] [TYPE type]

redis_database_run_multiple_redis_commands

Run multiple Redis commands on a specific Upstash redis database

timestamps_to_date

Use this tool to convert a timestamp to a human-readable date