We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jacob-dietle/n8n-mcp-sse'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* 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;
});
};