We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SergioSediq/aws-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
load-env.ts•374 B
/**
* Load .env before any other modules that depend on process.env.
* Must be imported first in index.ts.
*/
import dotenv from "dotenv";
import path from "path";
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
dotenv.config({ path: path.join(__dirname, "..", ".env"), quiet: true });