# outline-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/ynishi/outline-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/outline-mcp

## Description
Tree-structured knowledge base as an MCP server

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/ynishi/outline-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
cargo install --path crates/outline-mcp
```

2. Configure:

```sh
outline-mcp migrate          # create / update the schema; run once per upgrade
```

3. Start the server:

```sh
outline-mcp                  # stdio
```

## Documentation

## What outline-mcp does

outline-mcp stores persistent knowledge as books containing hierarchical sections and content nodes. Each node can have a title, body, type, properties, status, and position in the tree. Nodes marked with `inject=true` are added to the selected book's session context, while draft and archived content is excluded from automatic injection.

The server supports multiple books and lets an agent select one before working with its table of contents. Numbered TOC locations such as `2-3`, UUIDs, and UUID prefixes can identify nodes. A separate lookup can find which book contains a node without selecting a book first.

## How it works

Books are stored in a PostgreSQL database that you operate. Install the Rust binary, set `OUTLINE_MCP_DATABASE_URL`, run the migration command, and start the server over stdio. The database migration must be applied before the server will accept normal requests, and startup checks the database configuration and connection.

For shared use, `--mcp-http` exposes the same MCP tools through streamable HTTP at `/mcp`. Writes use one database transaction and a per-book version check, allowing multiple server processes or devices to work against the same database. Non-loopback HTTP binding requires `OUTLINE_MCP_HTTP_TOKEN`; clients send it as a bearer token.

HTTP mode also serves a read-only browser interface at `/ui/`. It provides book navigation, TOCs, rendered nodes, properties, links, pending revision diffs, history, and text search. The interface does not write data, run scripts, or load resources from other hosts.

## Setup and configuration

Install from the repository with Cargo:

```bash
cargo install --path crates/outline-mcp
```

Configure the database and initialize its schema:

```bash
export OUTLINE_MCP_DATABASE_URL=postgres://user:pass@host:5432/outline
outline-mcp migrate
outline-mcp
```

The `--database-url` option overrides the environment variable for any subcommand. HTTP mode listens on loopback port 8486 by default; `--bind` changes the address and port. Service templates are available for systemd and launchd deployments, and deployment runbooks cover Fly.io hosting, data migration, and multi-device smoke testing.

## Tools and capabilities

- Create, update, move, remove, and batch-edit nodes, with dry-run support for moves and removals.
- Browse and filter TOCs by properties, depth, archive state, and result limit.
- Query nodes by text, properties, status, type, or verification date.
- Export sections as Markdown checklists and books as JSON; import books with optional fresh IDs.
- Create, list, restore, and delete full-book snapshots.
- Inspect node history with before-and-after diffs, and run structural book checks and statistics.
- Add, remove, and inspect typed links; verify nodes and track verification dates.
- Propose, inspect, approve, reject, and list pending revisions.
- Generate routing tables from nodes with a `routing` property.
- Update or permanently delete books, with force and dry-run safeguards where applicable.

## Limitations and notes

The database is self-hosted: there is no hosted instance or bundled database. Deleting a book removes its nodes, history, and snapshots and cannot be undone. Archived nodes remain readable but are hidden from ordinary TOC and query results, and are not injected into context unless explicitly requested by the relevant operation.

HTTP authentication is required when binding beyond loopback. With no token, the browser view is restricted to localhost-style Host values. TLS is expected to be handled by a reverse proxy. Logs use stderr so stdout remains available for the stdio MCP protocol.

_Full upstream README: https://allmcps.com/mcp/outline-mcp/readme_

