What is MCP?
The Model Context Protocol (MCP) lets Claude interact with your MossDocs instance conversationally. Connect to any MossDocs deployment via URL and get complete control - manage workspaces, organize folders, collaborate with teams, and create documents. Everything you can do in the web app, you can now do through natural conversation with Claude!
Team Collaboration
MossDocs includes powerful team collaboration features. Manage workspace members, control access with role-based permissions, and organize documents in shared folders - all from Claude Desktop! Perfect for teams working together on documentation.
Setup Instructions
Locate Claude Desktop Config
First, find your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd MossDocs MCP Server Configuration
Copy this configuration and paste it into your Claude Desktop config file:
{
"mcpServers": {
"draft": {
"command": "npx",
"args": [
"-y",
"@draft/mcp-bridge",
"https://your-draft-url.com/api/mcp"
]
}
}
}https://your-draft-url.com/api/mcp with your actual MossDocs URL:https://localhost:3001/api/mcp- Local developmenthttps://your-team-server.com/api/mcp- Team serverhttps://draft.yourcompany.com/api/mcp- Production
Restart Claude Desktop
Completely quit and reopen Claude Desktop for the configuration to take effect.
Available Tools
Workspace Management
Folder Management
Team/Member Management
Document Management
Document Approval Checkpoints
Document Templates
Try It Out!
Once connected, try these example prompts in Claude Desktop:
"List all my workspaces""Create a new workspace called 'Marketing Team'""Switch to workspace [workspace-id]""List all folders in my current workspace""Create a folder called 'Q1 Planning'""List all members of my current workspace""Invite user@example.com as an EDITOR""Generate a shareable invite link that expires in 7 days""Show me my recent documents""Create a document called 'Meeting Notes' in folder [folder-id]""Search my documents for 'project roadmap'""Show me all documents needing my review""Show me exactly what changed in document [document-id] since I last approved it""Approve document [document-id] with note 'Looks good for Q1 launch'""Get approval status for document [document-id]""Show me the approval history for this document""Add user [user-id] as a required reviewer for document [document-id]""List all available templates, filter by Sales category""Create a document from the 'Meeting Agenda' template with variables: meeting_title='Q1 Planning', date='2024-01-15'""Generate an AI document from 'Sales Call Prep Research' template for customer_name='Acme Corp', customer_website='acme.com'""Check the status of generation job [job-id]""Show me my workspace's AI token usage this month"Common Workflows
Multi-step workflows showing how to accomplish common tasks with Claude Desktop and MossDocs MCP.
- 1
"List templates filtered by Sales category" - 2
"Get details for the Sales Call Prep Research template" - 3
"Generate AI document with variables: customer_name='Acme Corp', customer_website='acme.com', call_date='2024-02-15'" - 4
"Check generation status - wait for AI to research company and create briefing" - 5
"Accept the generated document and save it to my Sales folder"
- 1
"Show me all documents needing my review" - 2
"Get approval status for document [document-id]" - 3
"Show me what changed since I last approved" - 4
"Approve document [document-id] with note: Reviewed for compliance" - 5
"Get approval history to see who else approved"
- 1
"Get list of required reviewers for document [document-id]" - 2
"Add user [user-id] as required reviewer for document [document-id]" - 3
"Check if all required reviewers have approved" - 4
"Remove user [user-id] as required reviewer if needed"
- 1
"Show me all documents that need my review" - 2
"Open [document name] for review" - 3
"Show me what changed since the last version" - 4
"Approve this document" or "Request changes to this document"
- 1
"Show all documents in [workspace]" - 2
"Create a new folder called [folder name]" - 3
"Move documents with [keyword] to [folder name]" - 4
"List documents in [folder name] to verify"
- 1
"Create a new workspace called [team name]" - 2
"Add [email] as a member of [workspace]" - 3
"Create a welcome document in [workspace]" - 4
"Set up approval workflow for [workspace]"
- 1
"Find all documents containing 'security' updated in the last month" - 2
"Show documents modified by [author name]" - 3
"List documents created in the last week"
- 1
"Show me version history for [document]" - 2
"Compare current version with version from last week" - 3
"Revert [document] to previous version"
Troubleshooting
Connection Issues
Problem: Claude Desktop not connecting to MossDocs MCP server.
Solution: Check that your Claude Desktop config file is correctly formatted JSON. Verify the MossDocs URL is accessible and includes the /api/mcp endpoint. Completely quit and restart Claude Desktop (not just close the window). Check the Claude Desktop logs for error messages.
Authentication Problems
Problem: MCP server returns authentication errors.
Solution: Verify you're logged into MossDocs in your browser. Check that your session hasn't expired. If using API key authentication, verify your token is correct and hasn't expired. Try logging out and back into MossDocs, then restart Claude Desktop.
Permission Denied Errors
Problem: Operations fail with permission errors.
Solution: Verify you have the correct role in the workspace. Document operations require at least EDITOR role. Workspace admin operations (inviting members, changing settings) require ADMIN role. Check your role in MossDocs settings and request elevated permissions if needed.
The MossDocs MCP server is open source. View the source code, report issues, or contribute to the project on GitHub.
Need More Help?
Check out the full documentation or explore the API docs