KosmoKrator

data

Upstash Redis MCP, CLI, and Lua Integration for AI Agents

Upstash Redis integration docs for AI agents: MCP gateway setup, Upstash Redis CLI commands, Lua API reference, credentials, and function schemas.

Upstash Redis for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
upstash.upstash_get_key Read read 1 Retrieve the value stored at a Redis key. Returns null if the key does not exist.
upstash.upstash_set_key Write write 3 Store a key-value pair in Redis. Optionally set a TTL (time-to-live) in seconds so the key expires automatically.
upstash.upstash_delete_key Write write 1 Delete a key from Redis. Returns the number of keys that were removed.
upstash.upstash_list_keys Read read 1 List Redis keys matching a glob-style pattern. Defaults to "*" to list all keys.
upstash.upstash_list_databases Read read 0 List all Redis databases in the Upstash account. Returns database IDs, names, regions, and endpoints.
upstash.upstash_get_database Read read 1 Get details for a specific Upstash Redis database by ID, including endpoint, region, and usage stats.
upstash.upstash_get_current_user Read read 0 Get current team information from Upstash, including team name, members, and plan details.