import { version } from './package.json';
import { vi } from 'vitest';
// Set global version
global.__VERSION__ = version;
// Mock environment variables for testing
vi.mock('process', () => ({
env: {
CONTENTFUL_SPACE_ID: 'test-space-id',
CONTENTFUL_ACCESS_TOKEN: 'test-access-token',
CONTENTFUL_ENVIRONMENT_ID: 'test-environment',
},
}));
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/contentful/contentful-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server