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.
A Model Context Protocol (MCP) server that provides tools for interacting with Outline's API, enabling AI agents to manage documents, collections, and other entities programmatically through the Outline knowledge base platform.
Outline MCP Server
β’
A Model Context Protocol (MCP) server that provides tools for interacting with Outline's API, enabling AI agents to manage documents, collections, and other entities programmatically through the Outline knowledge base platform.
Quick Installation
Claude Desktop
π outline-mcp-server
now has an extension for Claude Desktop!
You can now download a Claude Desktop extension from the releases page for quick and easy setup (just double click it).
Cursor
One click install in Cursor:
Features
-
Document Management
- β Create new documents with customizable properties
- β Get document details
- β Update existing documents
- β Delete documents
- β List documents
- β Search documents
- β Ask natural language questions about documents
- β Create templates from existing documents
- β Move documents to different collections or locations
- β Archive documents
-
Collection Management
- β Get collection details
- β List collections
- β Create and update collections
-
Comment Management
- β Create comments on documents
- β Update existing comments
- β Delete comments
-
User Management
- β List and filter users
Quick Start
Prerequisites
- Node.js (v20 or higher)
- Outline account with API access
- Outline API key with appropriate permissions
- Note: if you need to use the AI-powered ask feature, you must enable the "AI Answers" feature in your Outline Workspace settings
Running
outline-mcp-server
supports the latest streamable-http protocol, the deprecated sse protocol, and good ole fashioned stdio.
# S-HTTP/SSE servers
OUTLINE_API_KEY=... npx -y outline-mcp-server@latest
# STDIO
OUTLINE_API_KEY=... npx -y --package=outline-mcp-server@latest -c outline-mcp-server-stdio
Cursor (mcp.json)
Add the following MCP definition to your configuration:
{
"outline": {
"command": "npx",
"args": ["-y", "outline-mcp-server-stdio@latest"],
"env": {
"OUTLINE_API_KEY": "<REPLACE_ME>",
"OUTLINE_API_URL": "https://app.getoutline.com/api",
"OUTLINE_MCP_PORT": "6060"
}
}
}
Env vars
OUTLINE_API_KEY
(required): your API key for outline, duhOUTLINE_API_URL
(optional): Alternative URL for your outline API (if using an alt domain/self-hosting)OUTLINE_MCP_PORT
(optional): Specify the port on which the server will run (default: 6060)
Usage
Once installed, you can use the MCP server with AI assistants that support the Model Context Protocol, such as Claude via Cursor.
Example queries your AI assistant can now handle:
- "List all the documents in my Outline workspace"
- "Create a new document in the 'Product' collection"
- "Find all documents related to a specific topic"
- "Ask a natural language question about your documents"
- "Create a template from an existing document"
- "Update the content of a document"
- "Add a comment to a document"
Development
# Clone this repository
git clone https://github.com/mmmeff/outline-mcp.git
cd outline-mcp
# Install dependencies
npm install
Create a .env
file with your Outline API key:
OUTLINE_API_KEY=your_outline_api_key_here
# Optional -------
# OUTLINE_API_URL=https://your-outline-instance.com/api # defaults to https://app.getoutline.com/api
# OUTLINE_MCP_PORT=9001
# Builds/watches the project alongside running @modelcontextprotocol/inspector
npm run dev
Contributing
This project uses semantic-release for automated versioning and package publishing. Please follow the Conventional Commits specification for your commit messages to ensure proper versioning.
See for detailed guidelines on how to contribute to this project.
Release Process
Releases are fully automated using semantic-release and GitHub Actions. When commits are pushed to the master
branch, the following happens:
- The CI pipeline runs tests and builds the package
- semantic-release analyzes commit messages to determine the next version number
- A new version is automatically published to npm
- A GitHub release is created with auto-generated release notes
- The CHANGELOG.md file is updated
No manual version bumping or release creation is needed.
License
MIT