Content platform
## Kontent.ai MCP Server: Composable Content Platform The **Kontent.ai MCP Server** integrates Kontent.ai into Google Antigravity, enabling modular content management with AI-powered workflows, content intelligence, and multi-channel delivery directly from your development environment. ### Why Kontent.ai MCP? - **Modular Content**: Composable content blocks for flexible page building - **AI-Powered**: AI writing assistant and content intelligence features - **Web Spotlight**: Visual editing experience for marketing teams - **Content Governance**: Advanced roles, workflows, and audit trails - **SDK Ecosystem**: Official SDKs for major frameworks and languages ### Key Features #### 1. Content Delivery ```python # Get content item item = await mcp.get_item( codename="homepage", language="en-US", depth=2 # Include linked items ) print(f"Title: {item['elements']['title']['value']}") # List items by type items = await mcp.list_items( type_codename="blog_post", elements=["title", "summary", "author"], order="elements.date[desc]", limit=10 ) ``` #### 2. Content Management ```python # Create content item item = await mcp.create_item( type_codename="blog_post", name="New Article", external_id="article-123" ) # Update content await mcp.upsert_variant( item_identifier={"codename": "new-article"}, language_codename="en-US", elements={ "title": {"value": "Article Title"}, "body": {"value": "<p>Article content...</p>"}, "author": {"value": [{"codename": "john-doe"}]} } ) # Publish variant await mcp.publish_variant( item_identifier={"codename": "new-article"}, language_codename="en-US" ) ``` #### 3. Asset Management ```python # Upload asset asset = await mcp.upload_asset( file_path="./images/hero.jpg", file_name="hero.jpg", descriptions=[ {"language": {"codename": "en-US"}, "description": "Hero image"} ] ) # List assets assets = await mcp.list_assets() for asset in assets: print(f"Asset: {asset['file_name']} - {asset['url']}") ``` #### 4. Workflow Operations ```python # Get workflow steps steps = await mcp.get_workflow_steps() # Move item through workflow await mcp.change_workflow_step( item_identifier={"codename": "new-article"}, language_codename="en-US", workflow_step_identifier={"codename": "review"} ) # Create new version await mcp.create_new_version( item_identifier={"codename": "new-article"}, language_codename="en-US" ) ``` ### Configuration ```json { "mcpServers": { "kontent-ai": { "command": "npx", "args": ["-y", "@anthropic/mcp-kontent"], "env": { "KONTENT_PROJECT_ID": "your-project-id", "KONTENT_MANAGEMENT_API_KEY": "your-management-key", "KONTENT_PREVIEW_API_KEY": "your-preview-key" } } } } ``` ### Use Cases **Enterprise Websites**: Manage complex corporate websites with modular content architecture. **Content Governance**: Implement approval workflows and content operations for regulated industries. **Omnichannel Publishing**: Deliver consistent content across web, mobile, and third-party channels. **Personalization**: Combine with personalization engines for targeted content delivery. The Kontent.ai MCP enables composable content management within your development environment.
{
"mcpServers": {
"kontent-ai": {
"mcpServers": {
"kontent-ai": {
"env": {
"KONTENT_API_KEY": "your-api-key",
"KONTENT_PROJECT_ID": "your-project-id"
},
"args": [
"-y",
"kontent-mcp-server"
],
"command": "npx"
}
}
}
}
}