Skip to main content
Glama

Weather MCP Service

by Philip-Walsh
setup.ts489 B
// Jest setup file // This file runs before each test file // Set test environment variables process.env.NODE_ENV = 'test'; process.env.LOG_LEVEL = 'info'; // Use info level to capture logs process.env.WEATHER_API_KEY = 'test-api-key'; process.env.DEFAULT_LOCATION = 'London'; process.env.TEMP_UNIT = 'C'; // Don't mock the logger - let it work normally for integration tests // Mock uuid to avoid ES module issues jest.mock('uuid', () => ({ v4: jest.fn(() => 'mock-uuid-123') }));

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/Philip-Walsh/weathernode'

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