Native document editor for Apple with rich formatting.
## Craft Docs MCP Server: Beautiful Documents The **Craft Docs MCP Server** integrates Craft's elegant document editor into Google Antigravity, enabling developers to create, organize, and share beautifully designed documents and notes through AI-assisted content creation. ### Why Craft Docs MCP? - **Native Experience**: Built for Apple platforms with macOS, iOS, and web apps - **Block-Based Editor**: Flexible blocks for text, code, images, and embeds - **Bidirectional Links**: Connect documents with wiki-style links - **Real-Time Collaboration**: Share and edit documents with team members - **Offline Support**: Full functionality without internet connection ### Key Features #### 1. Document Operations ```javascript // Create document const doc = await craft.createDocument({ spaceId: "space_123", title: "Architecture Decision Record", content: [ { type: "heading", level: 1, text: "ADR-001: Database Selection" }, { type: "paragraph", text: "This document records the decision to use PostgreSQL..." }, { type: "code", language: "sql", text: "CREATE TABLE users (...);" } ] }); // Search documents const results = await craft.search({ query: "API design", spaceId: "space_123", limit: 10 }); // Get document content const content = await craft.getDocument({ documentId: doc.id, includeBlocks: true }); ``` #### 2. Block and Link Management ```javascript // Add block to document await craft.addBlock({ documentId: doc.id, block: { type: "callout", style: "info", text: "Important: Review before implementation" }, afterBlockId: "block_123" }); // Create backlink await craft.createLink({ sourceDocId: doc.id, targetDocId: "related_doc_id", text: "See related: [[Database Schema]]" }); // List backlinks const backlinks = await craft.getBacklinks({ documentId: doc.id }); ``` ### Configuration ```json { "mcpServers": { "craft-docs": { "command": "npx", "args": ["-y", "@anthropic/mcp-craft"], "env": { "CRAFT_ACCESS_TOKEN": "your-access-token", "CRAFT_SPACE_ID": "your-default-space" } } } } ``` ### Use Cases **Technical Writing**: Create beautiful technical documentation with code blocks and diagrams. **Decision Records**: Document architecture decisions with linked context. **Team Knowledge Base**: Build interconnected knowledge bases with bidirectional links. The Craft Docs MCP Server brings elegant documentation to your development workflow.
{
"mcpServers": {
"craft-docs": {}
}
}