================== /// MCP /// /// CON /// ================== [server:online] [protocol:ready]
contentful-mcp
by ivo-toby
MCP (Model Context Protocol) server that exposes Contentful’s Content-Management API as MCP tools (entries, assets, comments, spaces, bulk ops, etc.) with both stdio and HTTP transports.
59
15
Open SourceInstallation
1. Prerequisites
• Node.js ≥18 and npm ≥9 installed.
• A Contentful account with a Management Access Token.
2. Clone the repository
git clone https://github.com/ivo-toby/contentful-mcp.git
cd contentful-mcp
3. Install dependencies
npm install
4. Configure environment variables (create a .env file or export variables)
CONTENTFUL_MANAGEMENT_TOKEN=<your-CMA-token>
CONTENTFUL_SPACE_ID=<your-space-id>
CONTENTFUL_ENVIRONMENT_ID=<env-id> # optional, defaults to 'master'
MCP_PORT=4000 # port the MCP server will run on
5. Build (TypeScript → JavaScript)
npm run build
6. Start the MCP server
# Production
node dist/index.js
# or via npm script
npm start
The server will be available at http://localhost:${MCP_PORT}/mcp.
7. Development mode (auto-reload)
npm run dev
8. Docker (optional)
docker build -t contentful-mcp .
docker run -p 4000:4000 -e CONTENTFUL_MANAGEMENT_TOKEN=... contentful-mcp
Documentation
License: MIT License
Updated 7/30/2025