Skip to main content
Glama
alexander-zuev

Kollektiv | Your private LLM knowledgebase

consentForm.ts676 B
import {z} from "zod"; // Consent schema export const ConsentFormSchema = z.object({ client_id: z.string().min(1, "Client ID must be at least 1 character long"), redirect_uri: z.string().url({message: "Invalid Redirect URI format"}), state: z.string().optional(), scope: z.string().optional(), code_challenge: z.string().min(1, {message: "Code challenge is required"}), code_challenge_method: z.enum(["S256", "plain"]).default("S256"), // Assuming S256 is default action: z.enum(["allow", "deny"]), // for actions on consent screen csrf: z.string().length(36) }); // Export type export type ConsentFormData = z.infer<typeof ConsentFormSchema>;

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/alexander-zuev/kollektiv-mcp'

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