Skip to main content
Glama

@reyhanfahlevi/outline-mcp

MCP server for the Outline API, authenticated with an API token.

Setup

  1. In Outline: Settings → API & Apps → Create API key. Copy it (ol_api_...).

  2. Run via npx:

// Claude Desktop / Cursor / Trae — mcpServers config
{
  "mcpServers": {
    "outline": {
      "command": "npx",
      "args": ["-y", "@reyhanfahlevi/outline-mcp"],
      "env": {
        "OUTLINE_API_KEY": "ol_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Self-hosted Outline? Point OUTLINE_API_URL at your instance (default https://app.getoutline.com/api):

"env": {
  "OUTLINE_API_KEY": "ol_api_...",
  "OUTLINE_API_URL": "https://outline.example.com/api"
}

Related MCP server: mcp-outline

Tools

Tool

Type

Purpose

outline_call

any

Call any Outline RPC method directly (method, params)

outline_search

read

Full-text document search

outline_get_document

read

Fetch one document with its Markdown

outline_list_documents

read

List documents

outline_list_collections

read

List collections

outline_list_collection_documents

read

Document tree of a collection

outline_list_users

read

List users

outline_list_comments

read

Comments on a document

outline_create_document

write

Create a document (draft by default)

outline_update_document

write

Update title / body

outline_delete_document

destructive

Trash a document, or permanently delete it (permanent requires confirm = document title)

outline_move_document

write

Move a document

outline_create_collection

write

Create a collection

outline_create_comment

write

Comment on a document

Anything not listed is available through outline_call, e.g. {"method": "documents.export", "params": {"id": "..."}}. Full method list: https://www.getoutline.com/developers.

Destructive methods (*.delete, *.destroy, *.revoke, *.suspend, *.demote) are refused by outline_call, so it cannot be used to bypass the guards on the dedicated tools. Permanent document deletion goes through outline_delete_document, which requires confirm to match the document title.

Development

npm install
npm run build      # tsc -> dist/
npm run dev        # run from source (tsx)
OUTLINE_API_KEY=ol_api_... node dist/index.js   # run built server on stdio

Publish

npm login
npm publish --access public

Then npx -y @reyhanfahlevi/outline-mcp works anywhere.

License

MIT

Available Tools

14 tools
outline_callCall any Outline API methodA
Read-onlyIdempotent

Call any Outline RPC method directly (POST https://app.getoutline.com/api/:method). Use for endpoints without a dedicated tool. Common methods: documents.info, documents.list, documents.search, documents.create, documents.update, documents.delete, documents.move, documents.archive, documents.unpublish, documents.export, collections.list, collections.info, collections.create, collections.update, collections.delete, collections.add_document, comments.list, comments.create, users.list, users.info, users.invite, attachments.create, shares.list, stars.list, pins.list, templates.list, revisions.list, events.list, auth.info. Args: method (string, e.g. "documents.info"), params (object, method-specific payload). Returns: the method's data payload (with pagination when present).

Inputs: method (required), params.

outline_create_collectionCreate a collectionB

Create a collection. Args: name (required), description (optional Markdown), private (default false), color (optional hex like "#4E5D78"). Returns: the created collection.

Inputs: name (required), color, private, description.

outline_create_commentCreate a commentC

Add a comment to a document. Args: documentId (required), text (Markdown), parentCommentId (optional, to reply).

Inputs: text (required), documentId (required), parentCommentId.

outline_create_documentCreate a documentB

Create a document. Args: title (required), text (Markdown, optional), collectionId, parentDocumentId, publish (default false — drafts are only visible to you). Returns: the created document.

Inputs: title (required), text, publish, collectionId, +1 more.

outline_delete_documentDelete a documentA
DestructiveIdempotent

Delete a document. Args: id (required), permanent (default false — moves to trash when false).

Inputs: id (required), permanent.

outline_get_documentGet a documentA
Read-onlyIdempotent

Fetch a document by id, including its Markdown text. Args: id (string).

Inputs: id (required).

outline_list_collection_documentsList documents in a collectionB
Read-onlyIdempotent

List the document tree of a collection. Args: id (collection id), limit, offset.

Inputs: id (required), limit, offset.

outline_list_collectionsList collectionsB
Read-onlyIdempotent

List all collections in the workspace. Args: limit, offset.

Inputs: limit, offset.

outline_list_commentsList commentsC
Read-onlyIdempotent

List comments on a document. Args: documentId (string), limit, offset.

Inputs: documentId (required), limit, offset.

outline_list_documentsList documentsC
Read-onlyIdempotent

List documents, optionally within a collection or under a parent. Args: collectionId, parentDocumentId, limit, offset.

Inputs: limit, offset, collectionId, parentDocumentId.

outline_list_usersList usersC
Read-onlyIdempotent

List workspace users, optionally filtered. Args: query (optional), limit, offset.

Inputs: limit, query, offset.

outline_move_documentMove a documentC

Move a document to another collection and/or parent. Args: id (required), collectionId, parentDocumentId.

Inputs: id (required), collectionId, parentDocumentId.

outline_update_documentUpdate a documentB

Update a document's title and/or body. Args: id (required), title (optional), text (optional, replaces the body). Returns: the updated document.

Inputs: id (required), text, title.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 14 tools

    Disambiguation4/5

    Most tools target a clear resource+action, but outline_call is a catch-all RPC escape hatch that overlaps with every dedicated tool, and outline_list_documents vs outline_list_collection_documents have subtly different scopes that could cause misselection. Descriptions clarify intent reasonably well.

    Naming Consistency4/5

    Nearly all tools follow a consistent outline_verb_noun pattern (create/update/delete/list/get/move). outline_call breaks the verb_noun shape and outline_list_collection_documents is noun-heavy, but the scheme remains readable and predictable.

    Tool Count5/5

    14 tools sit comfortably in the well-scoped 3-15 range for a document/workspace platform, with each dedicated tool covering a distinct common operation.

    Completeness4/5

    Documents get full lifecycle coverage (create/get/update/delete/move/list/search) plus collections, comments, and users. Minor gaps exist (no collection update/delete or comment update/delete as dedicated tools, no archive/unpublish), but outline_call provides a fallback for these.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients such as Claude Desktop, Claude Code, and Cursor to search, read, create, update, organize, and archive documents in an Outline wiki, including collections and document trees. It runs locally over stdio with API-token authentication and can optionally allow reversible deletions.
      9
      23 npm
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to search, read, create, edit, and archive documents in Outline, manage collections and threaded comments, find backlinks, and access content directly through MCP resources. Includes automatic rate-limit handling and configurable read-only or delete-disabled access controls.
      -