Skip to main content
Glama

OpenAI SDK Knowledge MCP Server

by seratch
setup.ts765 B
const originalConsole = { ...console }; global.fetch = jest.fn(); (globalThis as any).__JEST__ = true; global.crypto = { subtle: { digest: jest.fn().mockImplementation(async (_algorithm, _data) => { return new ArrayBuffer(32); }), }, } as any; global.console = { ...console, log: jest.fn(), warn: jest.fn(), error: jest.fn(), info: jest.fn(), debug: jest.fn(), }; beforeEach(() => { jest.clearAllMocks(); }); afterEach(() => { jest.clearAllTimers(); }); (global as any).restoreConsole = () => { global.console = originalConsole; }; (global as any).mockConsole = () => { global.console = { ...console, log: jest.fn(), warn: jest.fn(), error: jest.fn(), info: jest.fn(), debug: jest.fn(), }; };

Latest Blog Posts

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/seratch/openai-sdk-knowledge-org'

If you have feedback or need assistance with the MCP directory API, please join our Discord server