Skip to content
agents.store
opsknowledge-base

outline-ops

Outline knowledge-base ops plugin. Drive the full Outline REST API by curl — documents (create, search, move, archive, trash, import/export, AI answers, memberships), collections (CRUD, archive, duplicate, import, user/group permissions, export), comments & reactions, pins, subscriptions, notifications, stars, views, shares & access requests, webhook subscriptions, users & groups, attachments & file operations, revisions, templates, events (audit log), API keys, OAuth clients, and data attributes (154 operations). Also points to Outline's built-in MCP server. Authenticates with a Bearer OUTLINE_API_KEY against OUTLINE_API_URL.

v1.2.0Updated

  • outline
  • getoutline
  • knowledge-base
  • wiki
  • documentation
  • documents
  • collections
  • rest-api
  • markdown
  • shares
  • ops
  • agents-store

Install

Pick your agent for the steps.

Install on Claude Code

  1. 1.Add the marketplace

    /plugin marketplace add Agents-Store/claude-plugins
  2. 2.Install the plugin

    /plugin install outline-ops@agents-store-claude-plugins

    Type it inside Claude Code.

Claude Code install docs

What is inside

Skills (5)

  • api-reference

    This skill should be used when the user asks for "Outline API endpoints", "Outline REST API", "Outline curl examples", "Outline API documentation", the exact method/parameters for any Outline resource, or needs HTTP details for documents, collections, comments, reactions, pins, subscriptions, notifications, stars, views, shares, webhook subscriptions, access requests, auth, API keys, users, groups, attachments, file operations, revisions, templates, events, OAuth clients, or data attributes. Index into the full per-domain endpoint catalog.

  • common-operations

    This skill should be used when the user wants to do knowledge-base work in Outline — "create a document", "search Outline", "update a doc", "move a document to a collection", "create a collection", "share a document", "invite users to Outline", "star a document", "comment on a doc", or any everyday Outline operation. Provides plain-language workflows that drive the REST API and route to the exact methods.

  • examples

    This skill should be used when the user wants a worked end-to-end Outline example or walkthrough — "show me a full Outline workflow", "example of building a knowledge base in Outline", "how do I publish and share a doc via the API", "document lifecycle example", "onboard users to Outline", or wants to see several Outline API calls chained together for a real scenario.

  • setup

    This skill should be used when the user wants to "connect to Outline", "authenticate with Outline", "set up Outline access", "use my Outline API key", or before running any Outline REST API call. Establishes the API key + base URL from the environment and the global request conventions (RPC POST style, Bearer header, response envelope, limit/offset pagination, sorting, rate limits, policies).

  • troubleshoot

    This skill should be used when an Outline REST API call fails or behaves unexpectedly — "Outline returns 401 / 403 / 404 / 429 / 400", "Outline API key not working", "can't find the document", "empty data / missing results", "self-hosted Outline URL not working", "SSL error", or any Outline error response. Maps symptoms to causes and fixes.

Agents (1)

  • outline-assistant

    Use this agent when the user needs help running knowledge-base operations in Outline — creating, searching, editing, moving, archiving, or sharing documents; organizing collections; managing comments, stars, templates, and revisions; inviting and permissioning users and groups; or pulling usage reports and audit logs — by driving the Outline REST API. <example> Context: User wants to publish a document user: "Create a 'Q3 Roadmap' doc in the Product collection and publish it" assistant: "I'll use the outline-assistant agent to resolve the collection and create the published document." <commentary> Resolve the collection by name, then documents.create with publish:true — a core Outline ops flow. </commentary> </example> <example> Context: User wants to share content externally user: "Make a public link for our onboarding guide so a contractor can read it" assistant: "I'll use the outline-assistant agent to find the doc, create a share, and publish the link." <commentary> documents.search → shares.create → shares.update {published:true} — sharing without workspace membership. </commentary> </example> <example> Context: User wants an activity report user: "Which docs in the Handbook were updated this month and who's been editing them?" assistant: "I'll use the outline-assistant agent to list the collection's documents and pull the audit-log events." <commentary> documents.list (sorted) + events.list (auditLog:true) — reporting from list and audit endpoints. </commentary> </example>

README

Drive the full Outline REST API from Claude Code. Outline is an open-source, self-hostable team knowledge base / wiki; this plugin teaches Claude every operation its API exposes — no MCP server required, just curl and a Bearer API key. (Outline also ships a built-in MCP server in every workspace; it is optional and complementary.)

Built from the official API reference: https://www.getoutline.com/developers (OpenAPI 3.0 spec bundled in skills/api-reference/references/outline-openapi.yml — 153 operations across 26 resource groups; snapshot of outline/openapi spec3.yml at commit fbc3545a1c, 2026-11-27, matching Outline server v1.13.0).

What it covers

Every documented resource group:

  • Documents — create/import, read, update (append/prepend/replace/patch, optimistic concurrency via lastRevision), search (full-text & title) and list with structured filters, move, archive/restore, trash & empty-trash, duplicate, templatize, unpublish, export (markdown/HTML/PDF/TextBundle/zip), insights, drafts, recently-viewed, AI answers, and per-document user/group memberships
  • Collections — CRUD, archive/restore, reorder, duplicate, import, document tree, user & group memberships, export / export-all
  • Comments & reactions — create (inc. inline anchored & threaded replies), read, update (markdown text or editor data), delete, list, resolve/unresolve, emoji reactions
  • Pins, subscriptions & notifications — pin documents to a collection or home screen, subscribe to documents/collections, read and clear notifications, choose notification types
  • Stars & Views — star/unstar documents & collections, reorder, list view counts
  • Sharing, access & webhooks — public share links (create/update/revoke/list), access requests (create/approve/dismiss), auth info & config, workspace webhook subscriptions (admin)
  • Users & groups — invite/resend, list/filter, update, change role, suspend/activate, delete; group CRUD, group roles and membership management; documents shared with the current user or their groups
  • Attachments & file operations — create upload, create from a URL, list, redirect-to-file, delete; import/export job status, list, redirect, delete
  • Revisions — list, retrieve, name, delete and export historical document snapshots
  • Templates — CRUD (draft/published), restore, duplicate (reusable document starting points)
  • Events — the workspace audit trail / activity stream
  • API keys & OAuth — personal API key listing (keys are created and revoked in the UI), OAuth client CRUD + secret rotation, and user OAuth authentication management
  • Data attributes — custom document metadata fields (Business / Enterprise)

Skills

SkillAuto-loads?Purpose
setupyesRead OUTLINE_API_KEY + OUTLINE_API_URL, verify with auth.info, and learn the global conventions (RPC POST style, Bearer header, response envelope, limit/offset pagination, sorting, rate limits, policies)
common-operationsyesPlain-language playbooks for everyday work — create/find/update documents, organize collections, share, manage people & permissions, run reports
api-referenceon requestFull endpoint catalog (153 operations), split across 8 domain files under references/, plus the raw OpenAPI spec
troubleshootyesSymptom → cause → fix for 401/403/404/429/400, empty .data, title-vs-UUID mistakes, self-hosted URL/SSL issues
examplesyesEnd-to-end scenarios: publish a knowledge base, document lifecycle, search & report, onboard users & permissions

Plus the outline-assistant agent — a plain-language knowledge-base assistant that orchestrates these operations.

Prerequisites

Set these environment variables (shell, or this repo's .env):

VariableRequiredExampleNotes
OUTLINE_API_URLyeshttps://app.getoutline.com/apiAPI base including /api. Self-hosted: https://wiki.example.com/api.
OUTLINE_API_KEYyesol_api_••••Personal API key, created under Settings → API & Access (key creation needs a signed-in browser session, so there is no API-key way to mint one). Always starts with ol_api_. Treat it like a password.

In this repo, add the two vars to .env.example, store real values in Infisical, and run ./scripts/setup.sh dev .env .claude/settings.local.json to pull them locally.

Quick start

Ask Claude in plain language, e.g.:

  • "Search Outline for our onboarding docs and show me the top 5"
  • "Create a 'Handbook' collection and add a 'Welcome' document under it, then publish"
  • "Share the Welcome doc publicly and give me the link"
  • "Invite alice@example.com and bob@example.com as members and add them to the Handbook collection"
  • "Give me a report of the most-viewed documents this month"

Authentication

# Every call is a POST to ${OUTLINE_API_URL}/<method> with a Bearer key.
curl -s -X POST "${OUTLINE_API_URL%/}/auth.info" \
  -H "Authorization: Bearer ${OUTLINE_API_KEY}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" | jq '.data'

Built-in Outline MCP server

Outline workspaces — cloud and self-hosted — have an MCP server built in, announced 2026-02-18 (announcement, setup guide). This plugin does not ship or require it; it is a complement for interactive use.

  • Availability: the built-in MCP server arrived in Outline v1.6.0 (2026-03-15), so a self-hosted instance needs v1.6.0 or newer. It shipped disabled by default for existing workspaces — an admin has to switch it on (below). API-key header authentication was added in v1.6.1.
  • Transport & URL: Streamable HTTP only. The URL is the workspace origin plus /mcp — https://<yoursubdomain>.getoutline.com/mcp on cloud, https://<your-outline-domain>/mcp when self-hosted. It is not OUTLINE_API_URL (that one ends in /api).
  • Enable it: an admin can toggle MCP under Settings → Workspace → AI; if clients cannot connect, check that it has not been disabled. The same page has a field for extra guidance shown to MCP clients.
  • Authentication: OAuth by default — the client opens a sign-in window. API-key auth is also supported with the header Authorization: Bearer <your-api-key>.
  • Claude Code (OAuth):
    claude mcp add --transport http outline https://<yoursubdomain>.getoutline.com/mcp
    # then run /mcp inside Claude Code and follow the sign-in flow
    
  • Claude Code (API key, in a project .mcp.json — the key stays in the environment):
    {
      "mcpServers": {
        "outline": {
          "type": "http",
          "url": "https://<your-outline-domain>/mcp",
          "headers": { "Authorization": "Bearer ${OUTLINE_API_KEY}" }
        }
      }
    }
    
  • Tool names: because you connect the server yourself, its tools appear under the name you chose — mcp__outline__<tool> for a server called outline. List them with /mcp; the exact set depends on your server version and grows with releases (e.g. search/fetch, create/update/move/delete for documents and collections, document restore, template listing, comments, and attachment upload via create_attachment).
  • STDIO-only clients can bridge with npx -y mcp-remote https://<yoursubdomain>.getoutline.com/mcp.
  • REST or MCP? Use the MCP server for interactive search/read/edit with OAuth sign-in and no static key. Use this plugin's REST skills for scripting, admin (users, groups, API keys, webhooks, OAuth clients), bulk and file operations (import/export, attachments) and anything the MCP tool list does not cover.

Notes

  • No MCP dependency. This is a pure REST knowledge plugin so it can cover all operations. Besides Outline's built-in MCP server (above), community Outline MCP servers exist (Python Vortiago/mcp-outline, npm outline-mcp-server, Rust nizovtsevnv/outline-mcp-rs) and use the same OUTLINE_API_KEY/OUTLINE_API_URL variables — they expose a convenient subset (search/read/create/edit) and are optional, not required.
  • RPC style. Outline's API is not REST-by-noun — every endpoint is a POST to ${OUTLINE_API_URL}/<method> (e.g. documents.info), with parameters in a JSON body. There are no path parameters.
  • Bearer key, no login flow. Unlike session-based APIs, Outline authenticates with a static ol_api_… key on every call. A 401 means the key is missing, wrong, or revoked.
  • Policies, not roles, gate writes. Most responses include a policies array describing what the current key may do to each object. A 403 is a real boundary — respect it rather than routing around it.

License

Part of the AGENTS.STORE Claude Code plugin marketplace.