outline
MCP server from Diferjfj/outline-mcp-server
claude mcp add --transport stdio diferjfj-outline-mcp-server cargo run \ --env MCP_HOST="listen address (default: 127.0.0.1)" \ --env MCP_PORT="port to expose MCP endpoint (default: 3084)"
How to use
This MCP server provides an Outline knowledge base integration built on the rmcp Rust MCP SDK. It authenticates each request by extracting human_user_id from the Authorization header and uses a global in-memory map to store per-user settings, specifically outline_url and outline_api_key. The server exposes tools that let you set or clear an author's Outline credentials, verify API access, and perform Outline document operations such as listing collections, searching, retrieving info, exporting documents as Markdown, and creating or updating documents. Before using any tool (except outline_set_auth or outline_clear_auth), the server will check that the current user has been configured with an outline_url and outline_api_key; if not configured, it will prompt to provide these details. Use the outline_auth_info tool to validate the API key with Outline's auth endpoint, and then proceed with other document operations.
How to install
Prerequisites:
- Rust toolchain (rustup, cargo)
- Internet access to fetch dependencies
-
Clone the repository: git clone <repository-url> cd <repository-folder>
-
Set up environment variables (optional defaults shown): export MCP_HOST=127.0.0.1 export MCP_PORT=3084
-
Build and run the server: cargo run
-
Verify the server is running:
- Open http://127.0.0.1:3084/
- Health check: http://127.0.0.1:3084/health
- MCP endpoint: http://127.0.0.1:3084/mcp
-
Use the MCP client tools exposed by the server to configure and interact with Outline data.
Additional notes
Tips:
- The server stores per-user configuration in an in-memory Map. For production, consider replacing it with a persistent store (database) to preserve settings across restarts.
- Use outline_set_auth to save outline_url and outline_api_key for the current human_user_id. You can later clear it with outline_clear_auth.
- Outline API compatibility relies on outline_auth_info to validate the API key before performing document operations.
- Be mindful of rate limits and authentication scopes when interacting with Outline APIs (collecting, exporting, and updating documents).
- If you encounter a missing configuration prompt, ensure that the Authorization header correctly yields a valid human_user_id as intended by get_auth_context.
Related MCP Servers
goose
an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
cunzhi
告别AI提前终止烦恼,助力AI更加持久
probe
AI-friendly semantic code search engine for large codebases. Combines ripgrep speed with tree-sitter AST parsing. Powers AI coding assistants with precise, context-aware code understanding.
mcp-center
A centralized platform for managing and connecting MCP servers. MCP Center provides a high-performance proxy service that enables seamless communication between MCP clients and multiple MCP servers.
backlog -rust
MCP server for Backlog, project management service.
perplexity-web-api
🔍 Perplexity AI MCP without API key