We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eat-pray-ai/yutu'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# OVERVIEW
CLI command definitions and MCP tool bindings.
# STRUCTURE
- `root.go`: Root command entry point.
- `<resource>/`: Subcommands (e.g., `video/`, `channel/`).
# WIRING PATTERN
- `main.go` -> `cmd.Execute()` -> `root.go`.
- `<resource>.go`: Registers subcommand + MCP tool.
- `Run`: Binds flags -> Calls `pkg/<resource>` method.
# CONVENTIONS
- `resetFlags` in `PersistentPreRun`: Ensures clean state for MCP.
- MCP tools registered via `mcp.AddTool`.
- Flags bound to package-level variables.