Skip to main content
Glama
MCPCommandContext.swift439 B
// // MCPCommandContext.swift // PeekabooCLI // import Logging /// Shared runtime container passed into MCP subcommands to avoid duplicating storage plumbing. struct MCPCommandContext { let runtime: CommandRuntime let service: any MCPClientService var logger: Logger { self.runtime.logger } var wantsJSON: Bool { self.runtime.configuration.jsonOutput } var isVerbose: Bool { self.runtime.configuration.verbose } }

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/steipete/Peekaboo'

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