Skip to main content
Glama

Redis Cloud API MCP Server

Official
by redis
schemas.ts970 B
import { z } from "zod"; import { CallToolRequestSchema } from "@modelcontextprotocol/sdk/types.js"; export const emptySchema = { type: "object", properties: {}, } as const; export interface ToolResponse { content: Array<{ type: string; text: string }>; isError?: boolean; _meta?: Record<string, unknown>; [key: string]: unknown; } export const commonSchemas = { subscriptionId: z.number().min(1, "subscriptionId must be greater than 0"), taskId: z.string().min(1, "taskId cannot be empty"), paymentMethod: z.enum(["credit-card", "marketplace"]).default("credit-card"), provider: z.enum(["AWS", "GCP", "AZURE"]), region: z.string().min(1, "region cannot be empty"), name: z.string().min(1, "name cannot be empty"), page: z.number().min(0, "Page must be greater than or equal to 0").optional(), size: z.number().min(1, "Size must be greater than 0").optional(), } as const; export type ToolRequest = z.infer<typeof CallToolRequestSchema>;

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