High-performance headless CMS for enterprises.
## Caisy MCP Server: AI-Powered Headless CMS The **Caisy MCP Server** integrates Caisy CMS into Google Antigravity, enabling AI-assisted content management with GraphQL APIs, visual editing, and component-based architecture directly from your development environment. ### Why Caisy MCP? - **AI-Powered**: Built-in AI for content generation and optimization - **GraphQL First**: Powerful GraphQL API with real-time subscriptions - **Component System**: Reusable components for consistent content structure - **Visual Editing**: Intuitive drag-and-drop editing experience - **Performance**: Edge-optimized content delivery for fast global access ### Key Features #### 1. Content Queries ```python # Query documents result = await mcp.query(""" query GetBlogPosts { allBlogPost( where: { status: { eq: "published" } } sort: { publishedAt: DESC } first: 10 ) { edges { node { id title slug excerpt author { name avatar { url } } } } } } """) for edge in result["allBlogPost"]["edges"]: post = edge["node"] print(f"Post: {post['title']}") ``` #### 2. Content Management ```python # Create document doc = await mcp.create_document( blueprint_id="blog_post", locale="en", data={ "title": "New Article", "slug": "new-article", "content": [ {"type": "paragraph", "text": "Article content..."} ] } ) # Update document await mcp.update_document( document_id=doc["id"], data={"title": "Updated Title"} ) # Publish document await mcp.publish_document(document_id=doc["id"]) ``` #### 3. AI Features ```python # Generate content with AI generated = await mcp.ai_generate( prompt="Write a blog post about sustainable technology", blueprint_id="blog_post", tone="professional", length="medium" ) # Optimize existing content optimized = await mcp.ai_optimize( document_id="doc_123", optimization="seo" ) print(f"SEO Score: {optimized['score']}") print(f"Suggestions: {optimized['suggestions']}") ``` #### 4. Asset Management ```python # Upload asset asset = await mcp.upload_asset( file_path="./images/cover.jpg", folder="blog-images" ) # Get optimized URL url = await mcp.get_asset_url( asset_id=asset["id"], transformations={"width": 800, "quality": 80} ) ``` ### Configuration ```json { "mcpServers": { "caisy": { "command": "npx", "args": ["-y", "@anthropic/mcp-caisy"], "env": { "CAISY_PROJECT_ID": "your-project-id", "CAISY_API_TOKEN": "your-api-token" } } } } ``` ### Use Cases **AI Content Creation**: Generate drafts and optimize content with AI assistance. **Marketing Sites**: Build marketing websites with visual editing for non-technical teams. **Multi-Language Content**: Manage localized content with translation workflows. **Content Operations**: Streamline content workflows with approval processes and scheduling. The Caisy MCP enables AI-powered content management within your development environment.
{
"mcpServers": {
"caisy": {}
}
}