Skip to main content
Glama
command.ts443 B
export type VoidFn = () => void; export type FactoryFn = () => Command; export type Option = { label: string; value: string }; export type CommandArg = | "component" | "outputSocket" | "inputSocket" | "schema" | "view" | "action" | "stringInput"; export interface Command { readonly name: string; readonly shortcut: string; readonly expects: CommandArg[]; choices: Option[]; execute: VoidFn; factory: FactoryFn; }

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/systeminit/si'

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