outline-mcp-server
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.txtConfigure environment: Create a
.envfile with your Outline API token:OUTLINE_TOKEN=your_api_token_here OUTLINE_BASE_URL=https://your-outline-instance.com/apiTest 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_TOKENis set in.envConnection errors: Verify
OUTLINE_BASE_URLis correctClaude Desktop doesn't show tools: Restart Claude Desktop after config changes
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nbhansen/outline-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server