Skip to main content
Glama

APISIX-MCP

by api7
consumer-group.ts848 B
import { z } from "zod"; import { PluginSchema } from "./plugin.js"; import { createNullablePatchSchema } from "../utils/helper.js"; export const ConsumerGroupSchema = z .object({ labels: z .record(z.string(), z.string()) .optional() .describe("consumer group labels"), plugins: PluginSchema.optional().describe("consumer group plugins"), desc: z.string().optional().describe("consumer group description"), }) .passthrough() .describe("consumer group configuration object"); export const UpdateConsumerGroupSchema = createNullablePatchSchema(z.object({ id: z.string().describe("consumer group ID"), consumerGroup: ConsumerGroupSchema.partial(), })); export const CreateConsumerGroupSchema = z.object({ id: z.string().optional().describe("consumer group ID"), consumerGroup: ConsumerGroupSchema, });

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/api7/apisix-mcp'

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