Skip to main content
Glama
redis

Redis Cloud API MCP Server

Official
by redis

get-tasks

Retrieve active tasks for your Redis Cloud account via the Redis Cloud API MCP Server, enabling efficient management of Redis resources.

Instructions

Get the current tasks for the current Cloud Redis account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the 'get-tasks' tool. It calls TasksService.getAllTasks() via executeApiCall and returns the formatted response using createToolResponse.
    "get-tasks": async () => { const tasks = await executeApiCall( () => TasksService.getAllTasks(), "Get all tasks", ); return createToolResponse(tasks); },
  • The Tool definition (schema) for 'get-tasks', specifying name, description, and empty input schema.
    const GET_TASKS_TOOL: Tool = { name: "get-tasks", description: "Get the current tasks for the current Cloud Redis account", inputSchema: emptySchema, };
  • src/index.ts:49-56 (registration)
    Registration of TASKS_HANDLERS (including 'get-tasks' handler) into the global ALL_HANDLERS object, which is used by the MCP server to handle tool calls via server.setRequestHandler(CallToolRequestSchema).
    const ALL_HANDLERS = { ...ACCOUNT_HANDLERS, ...SUBSCRIPTIONS_ESSENTIALS_HANDLERS, ...SUBSCRIPTIONS_PRO_HANDLERS, ...TASKS_HANDLERS, ...DATABASES_PRO_HANDLERS, ...DATABASES_ESSENTIALS_HANDLERS, };
  • src/index.ts:40-47 (registration)
    Registration of TASKS_TOOLS (including 'get-tasks' tool schema) into the global ALL_TOOLS array, which is returned by the MCP server in response to ListToolsRequestSchema.
    const ALL_TOOLS = [ ...ACCOUNT_TOOLS, ...SUBSCRIPTIONS_PRO_TOOLS, ...SUBSCRIPTIONS_ESSENTIALS_TOOLS, ...TASKS_TOOLS, ...DATABASES_PRO_TOOLS, ...DATABASES_ESSENTIALS_TOOLS, ];

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/redis/mcp-redis-cloud'

If you have feedback or need assistance with the MCP directory API, please join our Discord server