import { vi, afterEach } from 'vitest';
// Make vi globally available for mock hoisting
globalThis.vi = vi;
// Mock console.error to avoid cluttering test output
global.console.error = vi.fn();
// Reset all mocks after each test
afterEach(() => {
vi.clearAllMocks();
});
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/RealMikeChong/ultra-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server