We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ssossan/mcp-openapi-connector'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup.ts•316 B
// Jest setup file
import { jest } from '@jest/globals';
// Mock fetch globally
global.fetch = jest.fn() as jest.MockedFunction<typeof fetch>;
// Mock console.error to reduce noise in tests
console.error = jest.fn();
// Restore console.error after each test if needed
afterEach(() => {
jest.clearAllMocks();
});