Enables document management, search, collections, comments, and collaboration features within Outline wiki instances. Includes optional AI-powered capabilities like RAG-based Q&A, semantic search, document summarization, tag suggestions, and diagram generation.
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.
Why This Server?
Most Outline MCP servers provide basic API wrappers. This one adds optional Smart Features:
Feature | What it does |
| Ask questions in natural language, get answers based on your wiki content (RAG) |
| Find semantically similar documents, not just keyword matches |
| Generate summaries of long documents |
| Get tag suggestions based on content analysis |
When you might need this:
Your team's wiki has grown large and search isn't enough
You want to query your documentation conversationally
You need semantic search across your knowledge base
When basic MCP is sufficient:
You only need CRUD operations on documents
You don't want to set up OpenAI API
Your wiki is small and well-organized
Smart features require ENABLE_SMART_FEATURES=true and an OpenAI API key. Without these, the server works as a standard Outline MCP.
Example Usage
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-smart-mcpEnvironment 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.