Skip to main content
Glama
testUtils.ts426 B
import { vi } from 'vitest'; export const createMockContext = () => ({ session: { id: 'test-session-id', type: 'Bearer', authenticatedAt: Date.now(), clientIp: '127.0.0.1', }, log: { info: vi.fn(), warn: vi.fn(), error: vi.fn(), debug: vi.fn(), fatal: vi.fn(), trace: vi.fn(), silent: vi.fn(), level: 'info', }, reportProgress: vi.fn(), streamContent: vi.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/DeamonDev888/Browser-Manager-MCP-Server'

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