Skip to main content
Glama

contentful-mcp

setup.ts461 B
import { beforeAll, expect } from 'vitest'; import dotenv from "dotenv"; // Load environment variables from .env file dotenv.config(); // Make sure we have the required environment variables beforeAll(() => { const requiredEnvVars = ["CONTENTFUL_MANAGEMENT_ACCESS_TOKEN"]; for (const envVar of requiredEnvVars) { if (!process.env[envVar]) { throw new Error(`Missing required environment variable: ${envVar}`); } } }); export { expect };

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/ivo-toby/contentful-mcp'

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