Skip to main content
Glama

n8n MCP Server

MIT License
133
1,377
  • Apple
  • Linux
test-setup.ts611 B
/** * Global test setup for n8n MCP Server tests */ import { beforeEach, afterEach, jest } from '@jest/globals'; // Reset environment variables before each test beforeEach(() => { process.env = { ...process.env, NODE_ENV: 'test' }; }); // Clean up after each test afterEach(() => { jest.resetAllMocks(); jest.clearAllMocks(); }); export const mockEnv = (envVars: Record<string, string>) => { const originalEnv = process.env; beforeEach(() => { process.env = { ...originalEnv, ...envVars }; }); afterEach(() => { process.env = originalEnv; }); };

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/leonardsellem/n8n-mcp-server'

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