Skip to main content
Glama
docs.ts659 B
import { Command } from "commander"; import { outputJSON } from "./docs/outputJSON"; import { outputMarkdown } from "./docs/outputMarkdown"; export const main = (opts: { json?: boolean }, command: Command) => { const parent = command.parent; if (!parent) { console.error("No parent command found"); return; } if (opts?.json) { outputJSON(parent); return; } outputMarkdown(parent); }; export const docsCommand = new Command() .name("docs") .description( "Display help information for all available commands and their subcommands", ) .option("--json", "Output documentation as JSON (tools schema)") .action(main);

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/ExpertVagabond/universal-blockchain'

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