Skip to main content
Glama
index.ts541 B
import path from "node:path"; import { fileURLToPath } from "node:url"; import dotenv from "dotenv"; import { start } from "./server.js"; import { McpLogger } from "./logger.js"; const currentDir = path.dirname(fileURLToPath(import.meta.url)); const originalWrite = process.stdout.write; process.stdout.write = () => true; dotenv.config({ path: path.resolve(currentDir, "../.env"), debug: true }); process.stdout.write = originalWrite; start().catch((err) => { McpLogger.error("Fatal error:", String(err)); process.exit(1); });

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/leandrogavidia/marinade-finance-mcp-server'

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