Upstash MCP Server

Official

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]

Input Schema

NameRequiredDescriptionDefault
commandYesThe Redis command to run. Example: ['SET', 'foo', 'bar', 'EX', 100]
database_rest_tokenYesThe REST token of the database.
database_rest_urlYesThe REST URL of the database. Example: https://***.upstash.io

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The Redis command to run. Example: ['SET', 'foo', 'bar', 'EX', 100]", "items": { "type": "string" }, "type": "array" }, "database_rest_token": { "description": "The REST token of the database.", "type": "string" }, "database_rest_url": { "description": "The REST URL of the database. Example: https://***.upstash.io", "type": "string" } }, "required": [ "database_rest_url", "database_rest_token", "command" ], "type": "object" }