Skip to main content
Glama
index.ts657 B
#!/usr/bin/env node import { startGmailManagerServer } from "./lib.js"; import { setupAuth } from "./auth.js"; async function main() { // Check for command line authentication if (process.argv.includes('auth')) { try { await setupAuth(); console.error('Authentication completed successfully!'); } catch (error) { console.error('Authentication failed:', error instanceof Error ? error.message : error); process.exit(1); } process.exit(0); } // Start the MCP server await startGmailManagerServer(); } main().catch(console.error);

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/muammar-yacoob/GMail-Manager-MCP'

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