Skip to main content
Glama
mockConfig.ts449 B
import type { ContentfulConfig } from '../config/types.js'; /** * Creates a mock ContentfulConfig for testing */ export function createMockConfig( overrides?: Partial<ContentfulConfig>, ): ContentfulConfig { return { accessToken: 'test-access-token', host: 'api.contentful.com', spaceId: 'test-space-id', environmentId: 'test-environment', organizationId: 'test-org-id', appId: 'test-app-id', ...overrides, }; }

Latest Blog Posts

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