Contentstack

by darekrossman

Not rated
GitHub

About

Interact with Contentstack's Content Management API to manage your CMS content.

Details

Author
darekrossman
Categories
Cloud Service, Other, API

Setup

Install Contentstack in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/darekrossman/contentstack-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

This Model Context Protocol (MCP) server integrates with Contentstack's Content Management API, enabling AI assistants like Claude to interact with your Contentstack CMS through a standardized protocol.

Note:This is an early version of Contentstack MCP Server. See theRoadmapfor upcoming improvements and planned features.

- Features
-
Installation
-
Development
-
Configuration
-
Integration with AI Assistants
-
Usage Examples
-
Roadmap
-
License

- content-types: List all content types (URI:contentstack://content-types)
- content-type: Get content type by UID (URI:contentstack://content-type/{uid})
- entries: Get entries by content type (URI:contentstack://entries/{content_type_uid})
- entry: Get specific entry (URI:contentstack://entry/{content_type_uid}/{entry_uid})
- assets: List all assets (URI:contentstack://assets)

- Create, update, and delete content types
- Define schemas, options, field rules, and taxonomies
- Manage global fields

- Create, update, and delete entries
- Publish and unpublish entries across environments
- Query entries with filtering, pagination, and sorting options

- Create and update global fields for reuse across content types
- Retrieve global fields with pagination options

- Guided content creation workflows
- Content analysis and insights
- Migration planning assistance

- Node.js (v16.0.0 or higher)
- A Contentstack account
- API credentials (API Key and Management Token)

The easiest way to use this MCP server is via NPM:

# Install globally npm install -g @drossman/contentstack-mcp # Or use directly via npx npx @drossman/contentstack-mcp
git clone https://github.com/darekrossman/contentstack-mcp.git cd contentstack-mcp

Edit the.envfile with your Contentstack credentials:

CONTENTSTACK_API_KEY=your_api_key_here CONTENTSTACK_MANAGEMENT_TOKEN=your_management_token_here # Optional: Specify branch if using branches CONTENTSTACK_BRANCH=your_branch_name

You can also install this MCP server using theSmithery CLI:

npx @smithery/cli install contentstack-mcp --client claude

See theSmithery CLI documentationfor more details and advanced usage.

This starts the server usingts-nodefor a faster development cycle.

This project usesBiome.jsfor linting and formatting. It provides a consistent code style and helps catch potential issues early.

This server requires authentication with Contentstack's API:

- Stack-level token with predefined permissions
- Set viaCONTENTSTACK_MANAGEMENT_TOKENenvironment variable
- Generate from Contentstack dashboard: Settings > Tokens > Management Tokens

- Stack API key for authentication
- Set viaCONTENTSTACK_API_KEYenvironment variable

If your Contentstack account uses branches, you can specify a branch:

To use this server with Claude for Desktop:
-

Edit your Claude for Desktop configuration file:

- Mac:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%\Claude\claude_desktop_config.json

Add this server to themcpServerssection:

{ "mcpServers": { "contentstack": { "command": "npx", "args": ["-y", "@drossman/contentstack-mcp"], "env": { "CONTENTSTACK_API_KEY": "your_api_key_here", "CONTENTSTACK_MANAGEMENT_TOKEN": "your_management_token_here" } } } }

To use this server with Cursor, add the Contentstack MCP server configuration:

{ "mcpServers": { "contentstack": { "command": "npx", "args": ["-y", "@drossman/contentstack-mcp"], "env": { "CONTENTSTACK_API_KEY": "your_api_key_here", "CONTENTSTACK_MANAGEMENT_TOKEN": "your_management_token_here", } } } }

You can also install this MCP server using theSmithery CLIusing your client of choice:

npx -y @smithery/cli install @drossman/contentstack-mcp --client claude

- claude
- cline
- windsurf
- roocode
- witsy
- enconvo
- cursor
- vscode
- vscode-insiders
- boltai
- amazon-bedrock
- amazonq

See theSmithery CLI documentationfor more details and advanced usage.

- Enhanced AI Contextual Understanding: Improve context provisioning for complex queries
- Advanced Querying & Filtering: Support filtering by multiple criteria and custom fields
- Workflow & Publishing Automation: Enable AI-driven content workflow actions
- Asset Management Enhancements: Add direct asset manipulation capabilities
- Bulk Operations Support: Implement batch operations for entries and assets
- Improved Error Handling & AI Feedback: Refine error messages for AI consumption
- User-Specific Context & Permissions: Tailor actions based on user permissions
- Extensibility for Custom Tools: Create an extension framework
- Real-time Event Handling: Add webhook support for reactive AI behaviors
- Comprehensive Documentation: Develop detailed guides for AI interaction

Special thanks toIvo Toby. This project and its author are heavily inspired by his work in this space.

Disclaimer:This project is not affiliated with, endorsed by, or supported by Contentstack. It is an independent open-source project designed to work with the Contentstack API.

Integrate Hygraph directly into MCP-compatible tools like Claude and Cursor, executing content operations via natural language

Manage content on the microCMS headless CMS using its content and management APIs.

Interact with the microCMS headless CMS API, enabling AI assistants to manage content.

Interact with the Umbraco CMS Management API for administrative tasks.

Apify-hosted MCP server for Webflow with 22+ tools. Sites, CMS collections, pages, content management, and publishing. No local setup needed.

Manage WordPress sites via the REST API. Enables AI assistants to handle content, posts, and site configurations.

Interact with WordPress sites via the REST API. Manage content, posts, and site configurations for multiple sites using natural language.

Integrates AI assistants with WordPress sites using the WordPress REST API.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.