Documize MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with the Documize API. This server enables AI assistants like Claude to interact with your Documize knowledge base - search documents, manage spaces, handle attachments, and more.
README
Documize MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with the Documize API. This server enables AI assistants like Claude to interact with your Documize knowledge base - search documents, manage spaces, handle attachments, and more.
Features
- ๐ Search: Full-text search across documents and content
- ๐ Documents: Complete CRUD operations for documents
- ๐ Pages: Granular page-level content management
- ๐ Spaces: Manage spaces and permissions
- ๐ Import/Export: Import documents (HTML/Markdown/Word) and export (PDF/HTML/DOCX)
- ๐ฅ Users & Groups: User and group management
- ๐งช Well-Tested: 92.68% code coverage with comprehensive unit tests
- ๏ฟฝ Reliable: Automatic retry logic for transient errors
Complete Tool List (24 Tools)
Documents (4 tools)
get_document- Get document by ID with content and metadatalist_documents- List all documents in a spaceupdate_document- Update existing documentdelete_document- Delete a document
Note: Documents can only be created via import_document (see Import/Export tools)
Pages (5 tools)
get_pages- Get all pages in a documentget_page- Get a specific pagecreate_page- Create new page with HTML contentupdate_page- Update existing pagedelete_page- Delete a page
Spaces (4 tools)
list_spaces- List all available spacesget_space- Get space detailscreate_space- Create new spacedelete_space- Delete a space
Users (3 tools)
list_users- List all userscreate_user- Create new userdelete_user- Delete a user
Groups (2 tools)
list_groups- List all groupsjoin_group- Add user to groupleave_group- Remove user from group
Import/Export (4 tools)
import_document- Import HTML, Markdown, or Word files (creates new documents)export_pdf- Export document as PDFexport_html- Export document as HTMLexport_docx- Export document as DOCX
Note: Document creation is only possible via import_document
Search (1 tool)
search- Full-text search across documents, spaces, and attachments
Quick Start
Installation
npm install -g documize-mcp-server
Configuration
-
Get your Documize credentials:
- Domain (usually empty for self-hosted instances)
- Password
-
Encode credentials:
# For self-hosted (domain is empty) echo -n ":email:password" | base64 # For multi-tenant (with domain) echo -n "domain:email:password" | base64 -
Configure for Claude Desktop:
Edit
~/Library/Application Support/Claude/claude_desktop_config.json:{ "mcpServers": { "documize": { "command": "documize-mcp-server", "env": { "DOCUMIZE_API_URL": "https://your-instance.com", "DOCUMIZE_API_CREDENTIALS": "your-base64-credentials" } } } } -
Restart Claude Desktop
VS Code GitHub Copilot
-
Install the server:
npm install -g documize-mcp-server -
Configure
.vscode/mcp.jsonin your workspace:{ "mcpServers": { "documize": { "command": "documize-mcp-server", "env": { "DOCUMIZE_API_URL": "https://your-instance.com", "DOCUMIZE_API_CREDENTIALS": "your-base64-credentials" } } } } -
Reload VS Code
Usage Examples
See QUICKSTART.md for detailed examples and docs/API-REFERENCE.md for complete API documentation.
Search Documents
Search for documents about "project requirements"
Import Document (Create)
Import this HTML file into the Engineering space to create a new document:
<h1>Meeting Notes</h1><p>Discussion about project requirements...</p>
Manage Pages
Add a new section to document abc123 with title "Introduction"
Import Document
Import the markdown file README.md into the Documentation space
Export Document
Export document abc123 as PDF
Development
Prerequisites
- Node.js 18+
- npm or yarn
- A Documize instance with API access
Setup
git clone https://github.com/artfulhacker/documize-mcp-server.git
cd documize-mcp-server
npm install
Build
npm run build
Testing
Run the full test suite with coverage:
npm test # Run all tests once
npm run test:watch # Run tests in watch mode
npm run test:ui # Run tests with interactive UI
npm run test:coverage # Run with coverage report
Test Coverage: 92.68% (68 tests across 7 test suites)
Integration Testing
Run integration tests against a live Documize instance:
npm run integration-test
Note: Integration tests require valid credentials in .env file.
Test with MCP Inspector
npm run inspector
API Documentation
- Complete API Reference - All 24 tools documented
- Documize API Docs
- MCP Specification
- TypeScript SDK
Project Status
Version: 1.1.0
Status: Production Ready
Test Coverage: 92.68% (68 unit tests + integration tests)
Tools: 24 MCP tools covering complete Documize API
Features: Auto-retry logic, comprehensive error handling, full TypeScript support
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Security
See SECURITY.md for security considerations and best practices.
License
MIT License - see LICENSE for details.
Links
- Repository: https://github.com/artfulhacker/documize-mcp-server
- Issues: https://github.com/artfulhacker/documize-mcp-server/issues
- NPM: https://www.npmjs.com/package/documize-mcp-server
- Changelog: CHANGELOG.md
Acknowledgments
Built with the Model Context Protocol by Anthropic.
Made by @artfulhacker
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.