KosmoKrator

data

Redis Cloud MCP Integration for LangChain

Connect Redis Cloud to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write API key auth

Connect Redis Cloud to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Redis Cloud MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-redis-cloud": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=redis-cloud",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=redis-cloud --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Redis Cloud instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Redis Cloud Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Redis Cloud integration catalog.

MCP toolSource functionTypeDescription
integration__redis_cloud__redis_cloud_get_current_account redis-cloud.redis_cloud_get_current_account Read Get the current Redis Cloud account information, including owner email, payment method, and plan details.
integration__redis_cloud__redis_cloud_list_subscriptions redis-cloud.redis_cloud_list_subscriptions Read List all subscriptions in the Redis Cloud account. Returns subscription IDs, names, regions, statuses, and database counts.
integration__redis_cloud__redis_cloud_get_subscription redis-cloud.redis_cloud_get_subscription Read Get details for a specific Redis Cloud subscription by ID, including plan, region, memory, throughput, and database list.
integration__redis_cloud__redis_cloud_list_databases redis-cloud.redis_cloud_list_databases Read List all databases within a Redis Cloud subscription. Returns database IDs, names, endpoints, and statuses.
integration__redis_cloud__redis_cloud_get_database redis-cloud.redis_cloud_get_database Read Get details for a specific Redis Cloud database by subscription and database ID, including endpoint, memory usage, throughput, and replication status.
integration__redis_cloud__redis_cloud_list_teams redis-cloud.redis_cloud_list_teams Read List all teams (ACL roles) in the Redis Cloud account. Returns team IDs, names, and member counts.
integration__redis_cloud__redis_cloud_get_team redis-cloud.redis_cloud_get_team Read Get details for a specific Redis Cloud team (ACL role) by ID, including roles, permissions, and assigned databases.

Related Redis Cloud Pages