MCP server for the Outline knowledge base and document management tool.
A Model Context Protocol (MCP) server for Outline that enables reading and writing documents through the Outline API.
npm install
npm run build
Before using the server, you need to set up your Outline API credentials:
Get your Outline API token:
Set environment variables:
export OUTLINE_BASE_URL="https://your-outline-instance.com"
export OUTLINE_API_KEY="your-api-token-here"
Start the MCP server:
npm start
The server communicates via stdio and is compatible with any MCP client.
outline_get_document
id
(string, required)outline_search_documents
query
(string, required), limit
(number, optional, default: 25)outline_list_documents
collectionId
(string, optional), limit
(number, optional, default: 25)outline_create_document
title
(string, required)text
(string, required) - Markdown contentcollectionId
(string, optional)parentDocumentId
(string, optional)publish
(boolean, optional, default: false)outline_update_document
id
(string, required)title
(string, optional)text
(string, optional) - Markdown contentpublish
(boolean, optional)outline_delete_document
id
(string, required)outline_list_collections
outline_get_collection
id
(string, required)Here are some example tool calls:
{
"name": "outline_search_documents",
"arguments": {
"query": "project documentation",
"limit": 10
}
}
{
"name": "outline_create_document",
"arguments": {
"title": "New Project Plan",
"text": "# Project Overview\n\nThis document outlines...",
"collectionId": "collection-id-here",
"publish": true
}
}
{
"name": "outline_update_document",
"arguments": {
"id": "document-id-here",
"title": "Updated Project Plan",
"text": "# Updated Project Overview\n\nThis document has been updated..."
}
}
src/
├── index.ts # Main MCP server implementation
├── outline-client.ts # Outline API client
npm run build
- Compile TypeScript to JavaScriptnpm run dev
- Build and run the servernpm run watch
- Watch for changes and rebuildnpm start
- Run the compiled servernpm run build
The compiled JavaScript will be output to the dist/
directory.
To use this server with an MCP client, you'll need to configure it to run this server. The exact configuration depends on your client, but generally you'll need to:
node /path/to/outline-mcp-server/dist/index.js
For clients like Claude that use a JSON configuration file, you can add the following to your mcp-servers.json
:
{
"mcpServers": {
"outline": {
"command": "node",
"args": ["/path/to/your/projects/outline-mcp-server/dist/index.js"],
"env": {
"OUTLINE_API_KEY": "your-secret-api-token",
"OUTLINE_BASE_URL": "https://your-outline-instance.com"
}
}
}
}
Make sure to replace the args
path with the absolute path to the index.js
file in your project, and fill in your actual credentials in the env
block.
For clients like Cursor, you can typically set environment variables directly within the client's settings or by launching the client from a terminal where you have already exported the variables.
export OUTLINE_BASE_URL="https://your-outline-instance.com"
export OUTLINE_API_KEY="your-secret-api-token"
# Then launch Cursor from this terminal
/path/to/Cursor.app/Contents/MacOS/Cursor
Be aware that Outline may have API rate limits. The server doesn't implement rate limiting internally, so you may need to handle this at the client level if you're making many requests.
The server includes comprehensive error handling and will return descriptive error messages for common issues like:
MIT License - see LICENSE file for details.
Contributions are welcome! Please feel free to submit issues and pull requests.
Turn your Make scenarios into callable tools for AI assistants.
A Todo and Task Manager server for creating, updating, and managing tasks, using a SQLite database.
Simple unofficial MCP server to track time via Toggl API
Dynamic and reflective problem-solving through thought sequences
Schedule meetings in Microsoft Outlook using the Microsoft Graph API.
Miro MCP server, exposing all functionalities available in official Miro SDK.
Interact with the accounting data in your business using our official MCP server
Connect with 10,000+ tools across HRIS, ATS, CRM, Accounting, Calendar, Meeting, Ticketing, and more categories.
Generate high-quality text-to-speech and text-to-voice outputs using the DAISYS platform.
A comprehensive travel planning server for flight search, accommodation booking, currency exchange, and weather forecasting.