import { jest } from '@jest/globals';
// Global test setup
beforeAll(async () => {
// Global setup before all tests
process.env.NODE_ENV = 'test';
process.env.CONFIG_PATH = './tests/fixtures/test-config.yaml';
});
afterAll(async () => {
// Global cleanup after all tests
});
// Mock external services by default
jest.mock('openai');
jest.mock('@anthropic-ai/sdk');
// Increase timeout for browser tests
jest.setTimeout(30000);
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/lcbro/lcbro-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server