Skip to main content
Glama
main.ts537 B
#!/usr/bin/env node // Unified entrypoint to support both VS Code "NPM Package" flow and CLI usage. // - If invoked without args: start MCP stdio server // - If invoked with args: treat as CLI (same as n8n-mcp) async function run() { const args = process.argv.slice(2); if (args.length === 0) { const { N8nMcpServer } = await import('./index.js'); const server = new N8nMcpServer(); await server.run(); return; } await import('./cli.js'); } run().catch((err) => { console.error(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/get2knowio/n8n-mcp'

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