Skip to main content
Glama
terminal.ts547 B
import { vi } from 'vitest'; // This mock provides replacements for terminal.js functions for testing export const cliOutput = vi.fn().mockReturnValue(true); export const startSpinner = vi.fn(); export const stopSpinner = vi.fn(); export const getTenantFromToken = vi.fn().mockReturnValue('test-tenant.auth0.com'); export const promptForBrowserPermission = vi.fn().mockResolvedValue(true); export const promptForScopeSelection = vi.fn().mockResolvedValue([]); export const maskTenantName = vi.fn().mockImplementation((name) => `masked-${name}`);

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

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