Headless CMS platform
## Agility CMS MCP Server: Headless Content Management The **Agility CMS MCP Server** integrates Agility CMS into Google Antigravity, enabling content management, page building, and digital experience orchestration directly from your development environment. ### Why Agility CMS MCP? - **Headless Architecture**: Deliver content to any channel via REST or GraphQL APIs - **Page Management**: Visual page builder with component-based architecture - **Content Modeling**: Flexible content types with custom fields and relationships - **Localization**: Built-in multi-language support for global content delivery - **Workflow**: Content approval workflows and scheduled publishing ### Key Features #### 1. Content Operations ```python # Get content by ID content = await mcp.get_content( content_id=123, locale="en-us" ) print(f"Title: {content['fields']['title']}") # List content items items = await mcp.list_content( reference_name="blog-posts", take=10, skip=0, filter="fields.category eq 'technology'" ) # Create content new_post = await mcp.create_content( reference_name="blog-posts", fields={ "title": "New Article", "body": "Article content...", "author": "John Doe" } ) ``` #### 2. Page Management ```python # Get page by path page = await mcp.get_page( page_path="/about-us", locale="en-us" ) # List sitemap sitemap = await mcp.get_sitemap( channel_name="website", locale="en-us" ) for node in sitemap: print(f"Page: {node['path']} - {node['title']}") ``` #### 3. Media Management ```python # Upload media media = await mcp.upload_media( file_path="./images/hero.jpg", folder="/uploads/2024" ) # List media files = await mcp.list_media(folder="/uploads") for file in files: print(f"Media: {file['fileName']} - {file['url']}") ``` #### 4. Content Sync ```python # Sync content updates sync_token = await mcp.get_sync_token() # Get changes since last sync changes = await mcp.sync_content( sync_token=previous_token ) for item in changes["items"]: print(f"Changed: {item['contentID']} - {item['operation']}") ``` ### Configuration ```json { "mcpServers": { "agility-cms": { "command": "npx", "args": ["-y", "@anthropic/mcp-agility"], "env": { "AGILITY_GUID": "your-instance-guid", "AGILITY_API_KEY": "your-api-key", "AGILITY_LOCALE": "en-us", "AGILITY_PREVIEW_KEY": "your-preview-key" } } } } ``` ### Use Cases **Website Content**: Manage website pages, blog posts, and marketing content with visual page builder. **Multi-Channel Publishing**: Deliver content to web, mobile apps, and digital signage from a single source. **E-commerce Content**: Manage product descriptions, categories, and promotional content alongside commerce data. **Localized Experiences**: Create and manage content in multiple languages for global audiences. The Agility CMS MCP enables headless content management within your development environment.
{
"mcpServers": {
"agility-cms": {
"mcpServers": {
"agility-cms": {
"env": {
"AGILITY_GUID": "your-guid",
"AGILITY_API_KEY": "your-api-key"
},
"args": [
"-y",
"agility-mcp-server"
],
"command": "npx"
}
}
}
}
}