Skip to main content
Glama
index.ts448 B
import { createServer, startServer } from "./server"; // Get command line arguments const args = process.argv.slice(2); const useSSE = args.includes("--sse"); const server = createServer(); startServer(server, useSSE); process.on("uncaughtException", (err) => { console.error("Uncaught Exception:", err); }); process.on("unhandledRejection", (reason, promise) => { console.error("Unhandled Rejection:", reason); }); export default server;

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/Outblock/flow-mcp'

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