Skip to main content
Glama
vitest.setup.ts328 B
import { vi } from "vitest"; if (process.env.USE_MOCKS === "true") { vi.mock("../src/hass/hassClient", async () => { const mockStates = [{ entityId: "sensor.test", state: "on" }]; return { HASSClient: { create: vi.fn().mockResolvedValue({}), }, }; }); }

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