nbhansen/outline-mcp-server
If you are the rightful owner of outline-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Outline MCP Server integrates Outline Wiki with AI assistants like Claude Desktop, enabling document management and AI-driven insights.
Outline MCP Server
A Model Context Protocol (MCP) server that integrates Outline Wiki with AI assistants like Claude Desktop.
Features
- 🔍 Search documents - Find documents in your Outline knowledge base
- 📝 Create documents - Create new documents in any collection
- ✏️ Update documents - Update existing documents (with append support)
- 📁 List collections - View all accessible collections
- 📚 Resources - Access document content and search results as resources
- 💡 Prompts - Pre-configured prompts for document analysis and content creation
Setup
-
Install dependencies:
cd outline-mcp-server python -m venv .venv source .venv/bin/activate pip install -r requirements.txt
-
Configure environment: Create a
.env
file with your Outline API token:OUTLINE_TOKEN=your_api_token_here OUTLINE_BASE_URL=https://your-outline-instance.com/api
-
Test the server:
python test_server.py
Claude Desktop Integration
The server has been configured in ~/.config/claude-desktop/claude.json
.
To use it:
- Restart Claude Desktop
- The Outline tools should appear in the tools menu
- Try commands like:
- "Search for documentation about [topic]"
- "List all collections in Outline"
- "Create a new document about [topic] in [collection]"
Available Tools
search_documents
Search for documents in Outline.
query
: Search querylimit
: Maximum results (default: 10)
create_document
Create a new document.
title
: Document titlecontent
: Document content (Markdown)collection_id
: Target collection ID
update_document
Update an existing document.
doc_id
: Document IDcontent
: New contentappend
: Append to existing content (default: false)
list_collections
List all accessible collections.
Resources
outline://document/{doc_id}
- Get full document contentoutline://search/{query}
- Get search results as JSON
Prompts
analyze_document
- Analyze a document with various analysis typescreate_overview
- Create a topic overview from related documents
Development
The server consists of:
server.py
- Main MCP server implementationoutline_client.py
- Outline API clienttools.py
- Tool implementationsresources.py
- Resource handlersprompts.py
- Prompt templatestest_server.py
- Test script
Troubleshooting
- Server won't start: Check that
OUTLINE_TOKEN
is set in.env
- Connection errors: Verify
OUTLINE_BASE_URL
is correct - Claude Desktop doesn't show tools: Restart Claude Desktop after config changes