import '@testing-library/jest-dom';
// Mock URL since it's not available in jsdom
global.URL = class URL {
href: string;
constructor(url: string) {
this.href = url;
}
} as any;
// Reset environment before each test
beforeEach(() => {
// Reset DOM
document.body.innerHTML = '';
// Reset storage
localStorage.clear();
// Reset server state
jest.resetModules();
});
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/beekmarks/mcp-wasm'
If you have feedback or need assistance with the MCP directory API, please join our Discord server