Skip to main content
Glama
setup.ts752 B
// Test setup file import { jest } from '@jest/globals'; // Mock console methods to reduce noise in tests const originalConsoleError = console.error; const originalConsoleWarn = console.warn; beforeEach(() => { // Reset mocks before each test jest.clearAllMocks(); }); afterEach(() => { // Restore console methods console.error = originalConsoleError; console.warn = originalConsoleWarn; }); // Global test timeout jest.setTimeout(30000); // Mock environment variables for testing process.env.ACI_APIC_URL = 'https://test-apic.example.com'; process.env.ACI_USERNAME = 'test-user'; process.env.ACI_PASSWORD = 'test-password'; process.env.ACI_VALIDATE_CERTS = 'false'; process.env.ACI_TIMEOUT = '10000'; process.env.ACI_TOOL_MODE = 'core';

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/jim-coyne/ACI_MCP'

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