Outline MCP (outline-mcp)
Use the outline-mcp (Vortiago/mcp-outline) tools and outline:// resources as the primary interface for searching, reading, creating, editing, and organizing documents and collections in Outline.
Core Workflows
- Browse & resolve IDs first: Document titles are not unique. Start with
list_collections,get_collection_structure,get_document_id_from_title, orsearch_documents. Checkget_document_backlinksbefore moving or deleting docs. - Read large documents incrementally:
- Call
get_document_toc(returns headings with 0-based line numbers). - Call
read_document_section(heading=...)orsearch_document_content(query=...)to jump straight to relevant sections or matching lines. - Page raw content with
read_document(offset, limit)using those line numbers. Reserve full unpagedread_documentcalls for small documents.
- Call
- Edit with
edit_documentby default: Supply sequentialedits({old_string, new_string}) where eachold_stringmatches uniquely (applied all-or-nothing). Reserveupdate_documentfor full replacements, title/icon/template updates, orappend=True. - Stage multi-pass rewrites: Accumulate edits in server memory with
edit_document(document_id, edits=[...], save=False), then flush in one Outline write usingsave=True(oredits=[], save=True). - Batch multi-document changes: Use
batch_create_documents,batch_update_documents,batch_move_documents,batch_archive_documents, andbatch_delete_documentsinstead of single-doc loops.
Read references/tools-reference.md for all 38 tools and 5 outline:// resource templates.
Gotchas
- Mermaid diagrams use
mermaidjs, notmermaid: Code blocks in Outline Markdown must use```mermaidjsfences—plain```mermaidrenders as raw source code. - Search excludes drafts & archived docs by default:
search_documentsandlist_recently_updated_documentsonly return"published"docs unless you passstatus_filter=["draft", "published", "archived"]. - Staged edits are in-memory only: Unflushed
edit_document(..., save=False)changes vanish on server restart. Note that read tools show staged content (with an unsaved-changes notice), whileexport_documentreturns only the last persisted version. - Deletions vs Trash:
delete_document()moves a doc to Trash (recoverable viarestore_document/list_trash);permanent=Trueis irreversible. - Role/flag-filtered tool lists:
OUTLINE_READ_ONLY,OUTLINE_DISABLE_DELETE,OUTLINE_DISABLE_AI_TOOLS,OUTLINE_DISABLE_RECENT_DOCUMENTS, andOUTLINE_DYNAMIC_TOOL_LISTcan hide subsets of tools—work with the active tool list cleanly.
Connection Setup
Read references/setup-and-config.md when deploying mcp-outline (stdio, sse, or streamable-http), configuring x-outline-api-key headers, or setting self-hosted TLS and permission flags.


