Skip to main content

MCP Server for Outline Wiki — Knowledge Base access for Cascade (ADR-145)

Project description

outline-mcp

MCP Server for Outline Wiki — Knowledge Base access for Cascade.

Overview

Provides 9 tools for the Windsurf/Cascade AI assistant to interact with Outline Wiki (knowledge.iil.pet):

Tool Description
search_knowledge Fulltext search across all collections
get_document Get full Markdown content of a document
create_runbook Create a new Runbook (Troubleshooting, Step-by-Step)
create_concept Create a new Architecture Concept
create_lesson Create a new Lesson Learned
update_document Update an existing document
delete_document Delete a document (moves to trash)
list_recent List recently updated documents
list_collections List all collections with IDs

Architecture (ADR-145)

  • HTTP Client: httpx.AsyncClient (no third-party Outline SDK)
  • Lifespan: @asynccontextmanager manages client lifecycle (ADR-044)
  • Retry: tenacity with exponential backoff (3 attempts)
  • Config: pydantic-settings with OUTLINE_MCP_ env prefix
  • Error Handling: Sanitized JSON responses, no stack traces to client

Setup

# Install
pip install -e ".[dev]"

# Environment
export OUTLINE_MCP_OUTLINE_API_TOKEN="ol_api_..."
export OUTLINE_MCP_OUTLINE_URL="https://knowledge.iil.pet"  # default

# Run
python -m outline_mcp

Windsurf Registration

Add to .windsurf/mcp.json:

{
  "outline-knowledge": {
    "command": "python",
    "args": ["-m", "outline_mcp"],
    "env": {
      "OUTLINE_MCP_OUTLINE_API_TOKEN": "ol_api_..."
    }
  }
}

References

  • ADR-145: Knowledge Management — Cascade ↔ Outline
  • ADR-143: Knowledge-Hub — Outline Wiki
  • ADR-044: MCP Server Lifecycle Hooks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iil_outline_mcp-0.2.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iil_outline_mcp-0.2.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file iil_outline_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: iil_outline_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for iil_outline_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fbd4ade1abf594acf7a5977d5a774334cbdd72d2ffe1e12028706a1d9f2091f5
MD5 171300b66d616d0cff1dc122db100dff
BLAKE2b-256 6db8371b32d30856450d1415be08f7047a6fa8b6d0bedea0ea632003ce63c2bc

See more details on using hashes here.

File details

Details for the file iil_outline_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iil_outline_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c646733a3eb0046cffbf53b116eeb8279a220b9f9e79f613b30bcdd8b8a5e894
MD5 d506d592d703c95020314035d1ccb4c3
BLAKE2b-256 de2471ccb6380f11960750b859bda8226c884ddc7e382d0114e72f7d3f1d9af1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page