Tiptap Collaboration MCP Server
This MCP server lets you manage Tiptap collaborative documents and interact with the collaboration and conversion services.
Manage documents: create, retrieve, list, update (replace/append), delete, duplicate, and bulk-import documents.
Get statistics: server-wide and per-document stats (connections, versions, IPs, etc.).
Search documents: semantic search (only if enabled on the server).
Convert markdown ↔ Tiptap JSON: via the Tiptap Conversion API (requires CONVERT_TOKEN and appId).
Additional utilities: encrypt a document, check collaboration service health.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tiptap Collaboration MCP Server create a new document named 'Project Meeting Notes'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tiptap Collaboration MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with Tiptap Collaboration services.
Tools Available
Statistics
get-server-statistics
Get server-wide usage statistics.
Parameters: None
Returns: Total documents, connections, concurrent users, and the collaboration server's version — useful for confirming which server you are talking to
get-document-statistics
Get real-time statistics for a specific document.
Parameters:
id(string): Document ID
Returns: Document size, version count, current connections, connected IPs
Note: The server's statistics endpoint returns zeroes for nonexistent documents, so the tool first checks existence with a
HEADrequest (available since server 3.91.0). On older servers the check is skipped and a missing document reports zeroes.
Document Management
create-document
Create a new collaborative document.
Parameters:
name(string): Name of the documentcontent(object, optional): Initial content in Tiptap JSON format; defaults to{"type": "doc", "content": [{"type": "paragraph"}]}
Returns: Creation confirmation (the server answers 204 with no body)
get-document
Retrieve a collaborative document.
Parameters:
id(string): ID of the document to retrieve
Returns: The document's Tiptap JSON content
list-documents
List all available collaborative documents.
Parameters: None
Returns: Array of documents (name, size, timestamps)
update-document
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: Update confirmation (the server answers 204; the document is not echoed back)
delete-document
Delete a collaborative document.
Parameters:
id(string): ID of the document to delete
Returns: Deletion confirmation
Advanced Document Operations
duplicate-document
Duplicate an existing collaborative document (fetches the source as JSON and creates the target from it; versions are not copied).
Parameters:
sourceId(string): ID of the source document to duplicatetargetId(string): ID for the new duplicated document
Returns: Duplication confirmation
search-documents
Search documents using semantic search.
Parameters:
query(string): Search querylimit(number, optional): Maximum results, 1-100 (default: 10)
Returns: Matching documents with relevance scores
Note: Semantic search is a Tiptap Cloud restricted-beta feature. Self-hosted collaboration servers do not implement it; there the tool returns an explicit "not enabled on this server" error.
Markdown Conversion
These two tools call the Tiptap Conversion service (https://api.tiptap.dev by default), not the collaboration server. They require CONVERT_TOKEN (a Tiptap Cloud Convert JWT); without it they return setup guidance instead of making a request.
import-markdown
Convert Markdown content to Tiptap JSON format.
Parameters:
content(string): Markdown content to convertappId(string, optional): Tiptap Convert App IDformat(string, optional): Accepted for backwards compatibility; the v2 Conversion API has no format switch
Returns: Converted Tiptap JSON content (plus the service's conversion logs)
export-markdown
Convert Tiptap JSON content to Markdown format.
Parameters:
content(object): Tiptap JSON content to convertappId(string, optional): Tiptap Convert App IDformat(string, optional): Accepted for backwards compatibility; the v2 Conversion API has no format switch
Returns: Converted Markdown content
Related MCP server: Yuque MCP Server
Installation
git clone <repository-url>
cd tiptap-collaboration-mcp
npm install
npm run buildConfiguration
Configuration is passed as command-line arguments only (a .env file is not read).
Argument | Required | Description |
| Yes | Base URL of your Tiptap collaboration server; the server exits without it. A trailing slash is fine. |
| Recommended | The collaboration server's API secret, sent as-is in the |
| Optional | Tiptap Cloud Convert JWT for |
| Optional | Conversion service base URL (default: |
node /path/to/build/index.js BASE_URL <url> API_TOKEN <token> [CONVERT_TOKEN <jwt>] [CONVERT_URL <url>]Host Usage
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"
]
}Development
npm run dev -- BASE_URL <url> API_TOKEN <token> # run from source (tsx)
npm run inspect -- BASE_URL <url> API_TOKEN <token> # MCP Inspector
npm run typecheck # type-check src + tests
npm run format # prettier
npm test # unit tests (mocked fetch)
npm run test:live # integration tests against a real serverThe live suite is skipped unless pointed at a server:
TIPTAP_TEST_BASE_URL=http://localhost:8080 \
TIPTAP_TEST_API_TOKEN=<your API secret> \
npm run test:liveSet TIPTAP_TEST_CONVERT_TOKEN as well to exercise the conversion tools for real; without it they are asserted to return their setup guidance. The suite creates uniquely named mcp-live-* documents and deletes them afterwards.
Limitations
Semantic search (
search-documents) only works against Tiptap Cloud servers with the restricted-beta Semantic Search feature enabled — it is not part of the self-hosted collaboration server image.Markdown conversion requires a Tiptap Cloud Convert JWT (
CONVERT_TOKEN); the conversion service is separate from the collaboration server.Error messages include the HTTP status and the server's
X-Correlation-Id(e.g.[HTTP 404, correlation-id …]) so failures can be matched against collaboration server logs.
Resources
License
This project is licensed under the MIT License - see the LICENSE file for details.
Available Tools
14 toolsbatch_import_documentsC
Import multiple documents in bulk using a predefined JSON structure
Inputs: documents (required).
create_documentC
Create a new collaborative document
Inputs: name (required), content.
delete_documentC
Delete a collaborative document
Inputs: id (required).
duplicate_documentC
Duplicate a collaborative document
Inputs: sourceId (required), targetId (required).
encrypt_documentC
Encrypt a collaborative document using Base64 encryption
Inputs: content (required), id (required).
export_markdownB
Convert Tiptap JSON content to Markdown format using the Tiptap Conversion API
Inputs: appId (required), content (required), format.
get_collaboration_healthB
Get the health status of the Tiptap collaboration service
Inputs: no named parameters.
get_documentC
Get information about a collaborative document
Inputs: id (required).
get_document_statisticsC
Get real-time statistics for a specific document including current connections and connected IPs
Inputs: id (required).
get_server_statisticsB
Get server-wide statistics including total documents, connections, and usage metrics
Inputs: no named parameters.
import_markdownB
Convert Markdown content to Tiptap JSON format using the Tiptap Conversion API
Inputs: appId (required), content (required), format.
list_documentsC
List all collaboratiion documents
Inputs: no named parameters.
search_documentsA
Search documents using semantic search (requires Tiptap Semantic Search to be enabled)
Inputs: query (required), limit.
update_documentC
Update a collaborative document with new content
Inputs: content (required), id (required), mode.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool has a clearly distinct purpose targeting specific document operations, health/statistics monitoring, or format conversion. There is no overlap between tools like create_document, duplicate_document, encrypt_document, and export_markdown, making misselection unlikely.
All tools follow a consistent verb_noun naming pattern (e.g., create_document, get_document_statistics, import_markdown). The naming is uniform throughout with no deviations in style or convention.
With 14 tools, the server provides comprehensive coverage for document collaboration, including CRUD operations, bulk actions, health checks, statistics, and format conversions. Each tool serves a clear purpose without bloat.
The tool set offers complete lifecycle coverage for collaborative documents, including creation, retrieval, updating, duplication, encryption, deletion, listing, searching, and bulk import. It also includes health monitoring, statistics, and format conversion utilities, leaving no obvious gaps.
Maintenance
Related MCP Connectors
Read, create and update canonical AI-readable documents in your Data Rooms.
Share HTML/Markdown documents via URL instantly. Create, edit, delete docs from any AI tool.
Ingest, manage, and retrieve documents for RAG-powered AI applications
Search, read, and automate TextMine documents, records, workflows, integrations, and agent tasks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive content management through Markdown processing, HTML rendering, intelligent fuzzy search, and document analysis. Supports frontmatter parsing, tag-based filtering, table of contents generation, and directory statistics for efficient content organization and discovery.4MIT
- AlicenseBqualityDmaintenanceEnables interaction with Yuque (语雀) knowledge base platform through their API. Supports document management, search, and repository operations including creating, reading, updating, and deleting documents in multiple formats.93MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to directly read, write, and manage Feishu documents, spreadsheets, and multi-dimensional tables. It supports automated documentation tasks and rich text management, including Mermaid diagrams and image uploads.182MIT
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive interaction with Google Docs, featuring specialized support for document tabs, nested structures, and markdown conversion. It enables users to list, read, create, and perform complex batch updates on documents using Google service accounts.21 PyPI4MIT