A Model Context Protocol (MCP) server that provides tools for interacting with Tiptap Collaboration services.
Check the health status of the Tiptap collaboration service.
- Parameters: None
- Returns: Health status information (DB, Redis, License status)
Get server-wide usage statistics.
- Parameters: None
- Returns: Total documents, connections, concurrent users, version info
Get real-time statistics for a specific document.
- Parameters:
id
(string): Document ID
- Returns: Current connections, connected IPs, document activity
Create a new collaborative document.
- Parameters:
name
(string): Name of the documentcontent
(object, optional): Initial content for the document in Tiptap JSON format
- Returns: Created document information
Retrieve information about a specific collaborative document.
- Parameters:
id
(string): ID of the document to retrieve
- Returns: Document information and content
List all available collaborative documents.
- Parameters: None
- Returns: Array of all documents in the system
Update a collaborative document with new content.
- Parameters:
id
(string): Document IDcontent
(object): Document content in Tiptap JSON formatmode
(string, optional): Update mode - "replace" or "append" (default: "replace")
- Returns: Updated document information
Delete a collaborative document.
- Parameters:
id
(string): ID of the document to delete
- Returns: Deletion confirmation
Duplicate an existing collaborative document.
- Parameters:
sourceId
(string): ID of the source document to duplicatetargetId
(string): ID for the new duplicated document
- Returns: Duplicated document information
Encrypt a collaborative document using Base64 encryption.
- Parameters:
id
(string): Document IDcontent
(object): Document content in Tiptap JSON format to encrypt
- Returns: Encryption confirmation
Search documents using semantic search (requires Tiptap Semantic Search).
- Parameters:
query
(string): Search querylimit
(number, optional): Maximum results to return (default: 10)
- Returns: Array of matching documents with relevance scores
Convert Markdown content to Tiptap JSON format.
- Parameters:
appId
(string): Your Tiptap App ID for the conversion servicecontent
(string): Markdown content to convertformat
(string, optional): "md" or "gfm" (GitHub Flavored Markdown, default: "md")
- Returns: Converted Tiptap JSON content
Convert Tiptap JSON content to Markdown format.
- Parameters:
appId
(string): Your Tiptap App ID for the conversion servicecontent
(object): Tiptap JSON content to convertformat
(string, optional): "md" or "gfm" (GitHub Flavored Markdown, default: "md")
- Returns: Converted Markdown content
Import multiple documents in bulk using a predefined JSON structure.
- Parameters:
documents
(array): Array of document arrays, where each inner array represents versions of a single document
- Returns: Import results for all documents
git clone <repository-url>
cd tiptap-collaboration-mcp
npm install
npm run build
The server requires both a BASE_URL and API_TOKEN to connect to your Tiptap collaboration service.
The base URL of your Tiptap collaboration service. This parameter is required and the server will exit if not provided.
API token for authentication with the Tiptap collaboration service. While not strictly required, most operations will fail without proper authentication.
node /path/to/build/index.js BASE_URL <url> API_TOKEN <token>
Add this server to your Claude, Windsurf, or any other host with the relevant syntax. An example:
"tiptap-collaboration": {
"command": "node",
"args": [
"/path/to/tiptap-collaboration-mcp/build/index.js",
"BASE_URL",
"http://localhost:8080",
"API_TOKEN",
"your-actual-api-token"
]
}
This project is licensed under the MIT License - see the LICENSE file for details.