Skip to main content
Glama
config.ts817 B
// Read configuration values directly from process.env export const GHOST_API_URL: string = process.env.GHOST_API_URL as string; export const GHOST_ADMIN_API_KEY: string = process.env.GHOST_ADMIN_API_KEY as string; export const GHOST_API_VERSION: string = (process.env.GHOST_API_VERSION as string) || 'v5.0'; // Default to v5.0 // Note: When running under Smithery, configuration is provided via the runtime // config object (see src/server.ts) rather than environment variables. Avoid // exiting the process here so the server can inject config at startup. if (!GHOST_API_URL) { console.warn("Warning: GHOST_API_URL is not set via environment; expecting Smithery config."); } if (!GHOST_ADMIN_API_KEY) { console.warn("Warning: GHOST_ADMIN_API_KEY is not set via environment; expecting Smithery config."); }

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/hithereiamaliff/mcp-ghostcms'

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