Skip to main content
Glama
vitest.setup.ts453 B
// Global test setup for Node-targeted suites import { Logger } from '../../src/utils/logger.js' // Reduce log noise; allow tests to opt into capture Logger.configure({ level: 'error', json: true }) // Node 18 has global fetch; ensure it exists for all tests if (typeof fetch !== 'function') { // eslint-disable-next-line @typescript-eslint/no-var-requires const nodeFetch = require('node-fetch') // @ts-ignore globalThis.fetch = nodeFetch }

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/Jakedismo/master-mcp-server'

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