Skip to main content
Glama
vitest.config.ts484 B
// Vitest configuration for TypeScript + tsx runner import { defineConfig } from 'vitest/config'; import fs from 'fs'; import path from 'path'; const hasRealConfig = fs.existsSync(path.join(__dirname, 'tests', 'hass-real-config.ts')); process.env.USE_MOCKS = hasRealConfig ? "false" : "true"; export default defineConfig({ test: { globals: true, environment: 'node', include: ['tests/**/*.test.ts'], setupFiles: ['./vitest.setup.ts'], } });

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/slhad/aha-mcp'

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