Used for text chunking in the smart features implementation to process and embed wiki documents for semantic search and retrieval.
Used for AI-powered smart features including text embeddings (text-embedding-3-small) for vector search and GPT-4o-mini for RAG-based Q&A, document summarization, tag suggestions, and diagram generation.
Enables LLMs to interact with Outline wiki through structured API calls, providing document management, search, collections, comments, and AI-powered features including RAG-based Q&A, summarization, and semantic document discovery.
Outline Wiki MCP Server
A Model Context Protocol (MCP) server that enables LLMs to interact with Outline wiki through structured API calls. This server provides document management, search, collections, comments, and AI-powered smart features including RAG-based Q&A.
Supported Clients
Client | Tools | Resources | Prompts |
✅ | ✅ | ✅ | |
✅ | ✅ | ✅ | |
✅ | ✅ | ✅ | |
✅ | - | ✅ | |
✅ | - | - | |
✅ | - | - |
Getting Started
Requirements
Node.js 18.0.0 or higher
Outline instance with API access
(Optional) OpenAI API key for smart features
Getting Your Outline API Token
Log in to your Outline instance
Go to Settings → API
Click Create API Key
Copy the generated token (starts with
ol_api_)
Installation
Add to your Claude Desktop configuration:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Run the following command:
Or add to ~/.claude.json (global) or .mcp.json (project-local):
Note: The
~/.claude/settings.jsonfile is ignored for MCP servers. Use~/.claude.jsonor.mcp.jsoninstead.
Add to your VS Code settings (.vscode/mcp.json):
Add to Cursor MCP settings (~/.cursor/mcp.json):
Add to Windsurf MCP settings (~/.codeium/windsurf/mcp_config.json):
ChatGPT supports MCP through its desktop app. Add the server in Settings → MCP Servers with:
Command:
npxArguments:
-y outline-mcp-serverEnvironment variables as shown above
Configuration
Environment Variables
Variable | Description | Required | Default |
| Your Outline instance URL | Yes |
|
| Your Outline API token | Yes | - |
| Enable read-only mode | No |
|
| Disable delete operations | No |
|
| API retry attempts | No |
|
| Retry delay (ms) | No |
|
| Enable AI features | No |
|
| OpenAI API key | No* | - |
* Required when ENABLE_SMART_FEATURES=true
Smart Features Configuration
To enable AI-powered features (RAG Q&A, summarization, etc.), add these to your config:
Tools
Search & Discovery
Tool | Description |
| Search documents by keyword with pagination |
| Find document ID by title |
| Get all collections |
| Get document hierarchy in a collection |
| Get recently modified documents |
Document Operations
Tool | Description |
| Get full document content by ID |
| Export document in Markdown |
| Create a new document |
| Update document (supports append) |
| Move document to another location |
Document Lifecycle
Tool | Description |
| Archive a document |
| Restore archived document |
| Delete document (soft/permanent) |
| Restore from trash |
| List archived documents |
| List trashed documents |
Comments & Collaboration
Tool | Description |
| Add comment (supports replies) |
| Get document comments |
| Get specific comment |
| Find linking documents |
Collection Management
Tool | Description |
| Create collection |
| Update collection |
| Delete collection |
| Export collection |
| Export all collections |
Batch Operations
Tool | Description |
| Create multiple documents |
| Update multiple documents |
| Move multiple documents |
| Archive multiple documents |
| Delete multiple documents |
Smart Features (AI-Powered)
Requires ENABLE_SMART_FEATURES=true and OPENAI_API_KEY.
Tool | Description |
| Check status and indexed count |
| Sync docs to vector database |
| RAG-based Q&A on wiki content |
| Generate AI summary |
| AI-suggested tags |
| Find semantically related docs |
| Generate Mermaid diagrams |
Smart Features Usage
Technology Stack
Component | Technology |
Vector Database | LanceDB (embedded) |
Embeddings | OpenAI text-embedding-3-small |
LLM | GPT-4o-mini |
Text Chunking | LangChain |
Safety Features
Read-Only Mode
Restricts to read operations only: search, get, export, list operations, and all smart features.
Disable Delete
Blocks: delete_document, delete_collection, batch_delete_documents
Development
License
MIT License - see LICENSE for details.