redis_database_run_single_redis_command
Execute a single Redis command on an Upstash Redis database by providing the command, REST token, and database URL. Supports operations like SCAN and TYPE for efficient key discovery and management.
Instructions
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]
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The Redis command to run. Example: ['SET', 'foo', 'bar', 'EX', 100] | |
database_rest_token | Yes | The REST token of the database. | |
database_rest_url | Yes | The REST URL of the database. Example: https://***.upstash.io |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Upstash MCP Server
- redis_database_create_backup
- redis_database_create_new
- redis_database_delete
- redis_database_delete_backup
- redis_database_get_details
- redis_database_get_stats
- redis_database_get_usage_last_5_days
- redis_database_list_backups
- redis_database_list_databases
- redis_database_reset_password
- redis_database_restore_backup
- redis_database_run_multiple_redis_commands
- redis_database_run_single_redis_command
- redis_database_set_daily_backup
- redis_database_update_regions
- timestamps_to_date
Related Tools
- @upstash/mcp-server
- @upstash/mcp-server
- @upstash/mcp-server
- @upstash/mcp-server
- @upstash/mcp-server