Outline MCP Server

v1.11.0
io.github.Vortiago/mcp-outline Checked 16 hours ago Published 1 month ago

Connect AI assistants to Outline for document search, reading, and management

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_documents

Searches for documents using keywords or phrases across your knowledge base. IMPORTANT: The search performs full-text search across all document content and titles. Results are ranked by relevance, with exact matches and title matches typically ranked higher. The search will return snippets of content (context) where the search terms appear in the document. You can limit the search to a specific collection by providing the collection_id. PAGINATION: By default, returns up to 25 results at a time. If more…

ParameterTypeDescription
query *string
collection_id
limitinteger
offsetinteger
status_filter

list_collections

Retrieves and displays all available collections in the workspace. Use this tool when you need to: - See what collections exist in the workspace - Get collection IDs for other operations - Explore the organization of the knowledge base - Find a specific collection by name Args: limit: Maximum number of results to return offset: Number of results to skip (pagination) Returns: Formatted string containing collection names, IDs, and descriptions If the response contains as many collecti…

ParameterTypeDescription
limitinteger
offsetinteger

get_collection_structure

Retrieves the hierarchical document structure of a collection. Use this tool when you need to: - Understand how documents are organized in a collection - Find document IDs within a specific collection - See the parent-child relationships between documents - Get an overview of a collection's content structure Args: collection_id: The collection ID to examine Returns: Formatted string showing the hierarchical structure of documents

ParameterTypeDescription
collection_id *string

get_document_id_from_title

Locates a document ID by searching for its title. IMPORTANT: This tool first checks for exact title matches (case-insensitive). If none are found, it returns the best partial match instead. This is useful when you're not sure of the exact title but need to reference a document in other operations. Results are more accurate when you provide more of the actual title in your query. Use this tool when you need to: - Find a document's ID when you only know its title - Get the document ID for use in other operations…

ParameterTypeDescription
query *string
collection_id

list_recently_updated_documents

Lists documents ordered by most recent change (newest first). Answers questions like "what changed this week" without needing search keywords. Backed by Outline's search endpoint with an empty query, sorted by last-modified time. IMPORTANT: date_filter is a coarse server-side window on each document's last-modified time. It accepts only "day", "week", "month", or "year" (no arbitrary timestamps) and defaults to "week". Results are ordered newest-changed first. STATUS FILTER: By defau…

ParameterTypeDescription
collection_id
date_filter
limitinteger
offsetinteger
status_filter

read_document

Retrieves and displays document content, optionally paginated by line range. Use this tool when you need to: - Access the complete content of a specific document - Read a specific range of lines from a large document - Review document information in detail - Quote or reference document content When offset or limit are set, output includes line numbers and a metadata header showing the range. When both are 0 (default), the full document is returned in the original format for backward com…

ParameterTypeDescription
document_id *string
limitinteger
offsetinteger

export_document

Exports a document as plain markdown text. Use this tool when you need to: - Get clean markdown content without formatting - Extract document content for external use - Process document content in another application - Share document content outside Outline Args: document_id: The document ID to export Returns: Document content in markdown format without additional formatting

ParameterTypeDescription
document_id *string

get_document_toc

Returns the heading structure of a document as a table of contents with line numbers. Use this tool when you need to: - Understand the structure of a large document - Find specific sections before reading them - Navigate a document by its headings Line numbers in the output can be used with read_document(offset=...) or read_document_section(heading=...) to read specific parts. Args: document_id: The document ID Returns: Formatted table of contents with line numbers…

ParameterTypeDescription
document_id *string

read_document_section

Reads a specific section of a document identified by heading match. Uses case-insensitive substring matching against headings. Returns the section content from the matched heading up to the next heading of the same or higher level, including all nested subsections. Use this tool when you need to: - Read a specific part of a large document - Focus on one section without loading everything - Navigate by heading name instead of line numbers Args: document_id: The document ID heading…

ParameterTypeDescription
document_id *string
heading *string

search_document_content

Searches within a document for lines containing a text snippet (grep-style), returning matches with line numbers and surrounding context. Use this tool when you need to: - Locate specific text in a large document without reading it in full - Find the exact text and line number to build edit_document old_string values or read_document offsets Matching is case-insensitive per line. Line numbers are 0-based and valid as read_document offsets. Args: document_id: The document ID to…

ParameterTypeDescription
document_id *string
query *string
context_linesinteger

get_attachment_url

Resolve an attachment ID to a downloadable URL. Calls attachments.redirect and returns the final URL after the redirect. Allows clients/agents to fetch the file themselves. Use this tool when you need to: - Get a direct URL to download an attachment - Share or reference an attachment URL - Let another system fetch the file Args: attachment_id: The attachment UUID Returns: The redirect URL (signed download URL)

ParameterTypeDescription
attachment_id *string

fetch_attachment

Fetch attachment content and return it as base64. Calls attachments.redirect, follows the redirect, and returns the raw file content encoded as base64. Useful for images and files that agents can process. Use this tool when you need to: - Read PDF content from Outline documents - Process embedded images - Analyze files referenced in documents - Enable AI tools to work with all document content Args: attachment_id: The attachment UUID Returns: Multi-line string in this format (bl…

ParameterTypeDescription
attachment_id *string

list_document_attachments

List attachment IDs referenced in a document. Parses document content for attachment references (e.g. /api/attachments.redirect?id=<uuid>) and returns a list of attachment IDs with context snippets. Use this tool when you need to: - Discover attachments within a document - Find attachment IDs for use with get_attachment_url or fetch_attachment - Audit what files a document references Args: document_id: The document ID to scan Returns: Formatted list of attachment IDs and conte…

ParameterTypeDescription
document_id *string

list_document_comments

Retrieves comments on a specific document with pagination support. IMPORTANT: By default, this returns up to 25 comments at a time. If there are more than 25 comments on the document, you'll need to make multiple calls with different offset values to get all comments. The response will indicate if there are more comments available. Use this tool when you need to: - Review feedback and discussions on a document - See all comments from different users - Find specific comments or questions - Track collabora…

ParameterTypeDescription
document_id *string
include_anchor_textboolean
limitinteger
offsetinteger

get_comment

Retrieves a specific comment by its ID. Use this tool when you need to: - View details of a specific comment - Reference or quote a particular comment - Check comment content and metadata - Find a comment mentioned elsewhere Args: comment_id: The comment ID to retrieve include_anchor_text: Whether to include the document text that the comment refers to Returns: Formatted string with the comment content and metadata

ParameterTypeDescription
comment_id *string
include_anchor_textboolean

export_collection

Exports all documents in a collection to a downloadable file. IMPORTANT: This tool starts an asynchronous export operation which may take time to complete. The function returns information about the operation, including its status. When the operation is complete, the file can be downloaded or accessed via Outline's UI. The export preserves the document hierarchy and includes all document content and structure in the specified format. Use this tool when you need to: - Create a backup of collection content…

ParameterTypeDescription
collection_id *string
formatstring

export_all_collections

Exports the entire workspace content to a downloadable file. IMPORTANT: This tool starts an asynchronous export operation which may take time to complete, especially for large workspaces. The function returns information about the operation, including its status. When the operation is complete, the file can be downloaded or accessed via Outline's UI. The export includes all collections, documents, and their hierarchies in the specified format. Use this tool when you need to: - Create a complete backup of all wor…

ParameterTypeDescription
formatstring

create_collection

Creates a new collection for organizing documents. Use this tool when you need to: - Create a new section or category for documents - Set up a workspace for a new project or team - Organize content by department or topic - Establish a separate space for related documents Args: name: Name for the collection description: Optional description of the collection's purpose color: Optional hex color code for visual identificatio…

ParameterTypeDescription
name *string
color
descriptionstring

update_collection

Modifies an existing collection's properties. Use this tool when you need to: - Rename a collection - Update a collection's description - Change a collection's color coding - Refresh collection metadata Args: collection_id: The collection ID to update name: Optional new name for the collection description: Optional new description color: Optional new hex color code (e.g. #FF0000) Returns: Result message confirming up…

ParameterTypeDescription
collection_id *string
color
description
name

delete_collection

Permanently removes a collection and all its documents. Use this tool when you need to: - Remove an entire section of content - Delete obsolete project collections - Remove collections that are no longer needed - Clean up workspace organization WARNING: This action cannot be undone and will delete all documents within the collection. Args: collection_id: The collection ID to delete Returns: Result message confirming deletion

ParameterTypeDescription
collection_id *string

ask_ai_about_documents

Queries document content using natural language questions. Use this tool when you need to: - Find specific information across multiple documents - Get direct answers to questions about document content - Extract insights from your knowledge base - Answer questions like "What is our vacation policy?" - Answer "How do we onboard new clients?" and similar queries Args: question: The natural language question to ask collection_id: Optional collection to limit the search to document_id: Optional d…

ParameterTypeDescription
question *string
collection_id
document_id

create_document

Creates a new document in a specified collection. Use this tool when you need to: - Add new content to a knowledge base - Create documentation, guides, or notes - Add a child document to an existing parent - Start a new document thread or topic - Create a reusable template document Note: For Mermaid diagrams, use ```mermaidjs (not ```mermaid) as the code fence language identifier for proper rendering. Args: title: The document title collection_id: The collection ID to create in…

ParameterTypeDescription
collection_id *string
title *string
icon
parent_document_id
publishboolean
template
textstring

update_document

Modifies an existing document's title or content. IMPORTANT: This tool replaces the document content rather than just adding to it. For partial edits (changing specific text), prefer the edit_document tool instead. Use this tool when you need to: - Replace the entire document content - Change a document's title - Append new content to an existing document - Convert a document to or from a template Note: For Mermaid diagrams, use ```mermaidjs (not ```mermaid) as the code fence language id…

ParameterTypeDescription
document_id *string
appendboolean
icon
template
text
title

add_comment

Adds a comment to a document or replies to an existing comment. Use this tool when you need to: - Provide feedback on document content - Ask questions about specific information - Reply to another user's comment - Collaborate with others on document development Args: document_id: The document to comment on text: The comment text (supports markdown) parent_comment_id: Optional parent comment ID (for replies) Returns: Result message with the new comment ID…

ParameterTypeDescription
document_id *string
text *string
parent_comment_id

edit_document

Edits a document using string-match replacement. Each edit finds a unique old_string in the document and replaces it with new_string. Edits are applied server-side — you never need to hold the full document in context. IMPORTANT: Batch all edits for a document into a single call when possible to minimize API calls. Each old_string must uniquely match one location in the document. Include surrounding context if needed to disambiguate. Edits are applied sequentially, so later edits can target te…

ParameterTypeDescription
document_id *string
edits *array
saveboolean

archive_document

Archives a document to remove it from active use while preserving it. IMPORTANT: Archived documents are removed from collections but remain searchable in the system. They won't appear in normal collection views but can still be found through search or the archive list. Use this tool when you need to: - Remove outdated or inactive documents from view - Clean up collections while preserving document history - Preserve documents that are no longer relevant - Temporarily hide documents without deleting them Args:…

ParameterTypeDescription
document_id *string

unarchive_document

Restores a previously archived document to active status. Use this tool when you need to: - Restore archived documents to active use - Access or reference previously archived content - Make archived content visible in collections again - Update and reuse archived documents Args: document_id: The document ID to unarchive Returns: Result message confirming restoration

ParameterTypeDescription
document_id *string

delete_document

Moves a document to trash or permanently deletes it. IMPORTANT: When permanent=False (the default), documents are moved to trash and retained for 30 days before being permanently deleted. During this period, they can be restored using the restore_document tool. Setting permanent=True bypasses the trash and immediately deletes the document without any recovery option. Use this tool when you need to: - Remove unwanted or unnecessary documents - Delete obsolete content…

ParameterTypeDescription
document_id *string
permanentboolean

restore_document

Recovers a document from the trash back to active status. Use this tool when you need to: - Retrieve accidentally deleted documents - Restore documents from trash to active use - Recover documents deleted within the last 30 days - Access content that was previously trashed Args: document_id: The document ID to restore Returns: Result message confirming restoration

ParameterTypeDescription
document_id *string

list_archived_documents

Displays all documents that have been archived. Use this tool when you need to: - Find specific archived documents - Review what documents have been archived - Identify documents for possible unarchiving - Check archive status of workspace content Returns: Formatted string containing list of archived documents

list_trash

Displays all documents currently in the trash. Use this tool when you need to: - Find deleted documents that can be restored - Review what documents are pending permanent deletion - Identify documents to restore from trash - Verify if specific documents were deleted Returns: Formatted string containing list of documents in trash

move_document

Relocates a document to a different collection or parent document. IMPORTANT: When moving a document that has child documents (nested documents), all child documents will move along with it, maintaining their hierarchical structure. You must specify either collection_id or parent_document_id (or both). Use this tool when you need to: - Reorganize your document hierarchy - Move a document to a more relevant collection - Change a document's parent document - Restructure content organization Args:…

ParameterTypeDescription
document_id *string
collection_id
parent_document_id

batch_archive_documents

Archives multiple documents in a single batch operation. This tool processes each document sequentially, continuing even if individual operations fail. Rate limiting is handled automatically by the Outline client. IMPORTANT: Archived documents are removed from collections but remain searchable. They won't appear in normal collection views but can still be found through search or the archive list. Use this tool when you need to: - Archive multiple outdated documents at once - Clean up collections in bulk…

ParameterTypeDescription
document_ids *array

batch_move_documents

Moves multiple documents to a different collection or parent. This tool processes each document sequentially, continuing even if individual operations fail. Rate limiting is handled automatically. IMPORTANT: When moving documents that have child documents, all children will move along with them, maintaining hierarchical structure. You must specify either collection_id or parent_document_id (or both). Use this tool when you need to: - Reorganize multiple documents at once - Move documents between collections in…

ParameterTypeDescription
document_ids *array
collection_id
parent_document_id

batch_delete_documents

Deletes multiple documents, moving them to trash or permanently. This tool processes each document sequentially, continuing even if individual operations fail. Rate limiting is handled automatically. IMPORTANT: When permanent=False (the default), documents are moved to trash and retained for 30 days. Setting permanent=True bypasses trash and immediately deletes documents without recovery option. Use this tool when you need to: - Remove multiple unwanted documents at once - Clean up workspace in bulk - Permanent…

ParameterTypeDescription
document_ids *array
permanentboolean

batch_update_documents

Updates multiple documents with different changes. This tool processes each update sequentially, continuing even if individual operations fail. Rate limiting is handled automatically. Use this tool when you need to: - Update multiple documents with different changes - Batch edit document titles or content - Append content to multiple documents Note: For Mermaid diagrams, use ```mermaidjs (not ```mermaid) as the code fence language identifier for proper rendering. Recommended batch size: 10-50 d…

ParameterTypeDescription
updates *array

batch_create_documents

Creates multiple documents in a single batch operation. This tool processes each creation sequentially, continuing even if individual operations fail. Rate limiting is handled automatically. Use this tool when you need to: - Create multiple documents at once - Bulk import content into collections - Set up document structures efficiently Note: For Mermaid diagrams, use ```mermaidjs (not ```mermaid) as the code fence language identifier for proper rendering. Recommended batch size: 10-50…

ParameterTypeDescription
documents *array