Skip to main content
Glama

Contentful Delivery MCP Server

by mshaaban0
contentful-client.ts505 B
import { createClient } from "contentful"; // Parse allowed content type IDs from environment variable, if provided export const getAllowedContentTypeIds = (): string[] | null => { const envValue = process.env.CONTENTFUL_CONTENT_TYPE_IDS; if (!envValue) return null; return envValue.split(',').map(id => id.trim()).filter(id => id.length > 0); }; export const client = createClient({ accessToken: process.env.CONTENTFUL_ACCESS_TOKEN || "", space: process.env.CONTENTFUL_SPACE_ID || "", });

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/mshaaban0/contentful-delivery-mcp'

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