Outline Server
БесплатноНе проверенEnables AI agents to manage documents and collections in Outline wiki through natural language commands.
Описание
Enables AI agents to manage documents and collections in Outline wiki through natural language commands.
README
Overview
This is a Model Context Protocol (MCP) server implementation that integrates with Outline. The server provides tools for AI agents (mostly Cursor) to interact with Outline's API, enabling document and collection management operations.
Features
- Search documents by query terms
- Create, retrieve, update, and delete documents
- List documents within collections
- Move documents between collections
- Manage collections (create, update, delete, list)
Installation
Prerequisites
- Node.js (v16 or later)
- npm or yarn
- Outline API key
Setup
- Clone the repository:
git clone https://github.com/fellowapp/mcp-outline.git
cd mcp-outline
- Install dependencies:
npm install
Create a
.envfile based on the.env.templatefileGet you Outline API token from your personal settings.
Connect to your MCP client (like Cursor) NOTE: if you are connecting to Cursor, you technically don't need to do the whole
.envfile setup, but it can be usefull for local testing.For connecting to Cursor, add this server to either your global or local project MCP settings with this:
"mcp-outline": {
"command": "node",
"args": [
"<FULL_PATH_OF_CLONED_OUTLINE_MCP_REPO>/src/index.js"
],
"env": {
"API_URL": "https://dev.fellow.wiki/api",
"API_KEY": "<OUTLINE_API_KEY>"
}
}
Architecture
This project implements the Model Context Protocol (MCP) standard for tool-based interactions. The architecture consists of:
src/
├── index.js # Main server entry point
├── outline.js # Outline API client configuration
├── tools/
│ ├── handlers.js # Centralized tool handlers mapping
│ ├── toolSchemas.js # Centralized tool schemas
│ ├── document/ # Document-related tools
│ │ ├── index.js # Export all document tools
│ │ ├── create.js # Create document tool
│ │ ├── delete.js # Delete document tool
│ │ ├── get.js # Get document tool
│ │ ├── list.js # List documents tool
│ │ ├── move.js # Move document tool
│ │ ├── search.js # Search documents tool
│ │ └── update.js # Update document tool
The server handles incoming requests through a stdio transport layer and routes them to the appropriate tool handler based on the requested tool name.
Development
Adding New Tools
To add a new tool:
- Create a new file in the appropriate directory (e.g.,
src/tools/document/my-tool.js) - Follow this template:
import { ErrorCode, McpError } from "@modelcontextprotocol/sdk/types.js";
import { outlineClient } from "../../outline.js";
const toolSchema = {
name: "my_tool_name",
description: "Description of what this tool does",
inputSchema: {
type: "object",
properties: {
// Define your parameters here
param1: {
type: "string",
description: "Description of param1",
},
},
required: ["param1"],
},
};
async function myToolHandler({ param1 }) {
try {
// Implement your tool logic here
const response = await outlineClient.post("/endpoint.name", {
params: {
param1,
},
});
return response.data.data;
} catch (error) {
console.error(error);
throw new McpError(ErrorCode.InvalidRequest, error.message);
}
}
export { toolSchema, myToolHandler as handler };
- Add your tool to the appropriate
index.jsfile
Credits
This project uses:
- Model Context Protocol TypeScript SDK
- Outline API
- Axios for HTTP requests
This README was (mostly) generated using Cursor.
Установка Outline Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lekt9/mcp-outlineFAQ
Outline Server MCP бесплатный?
Да, Outline Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Outline Server?
Нет, Outline Server работает без API-ключей и переменных окружения.
Outline Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Outline Server в Claude Desktop, Claude Code или Cursor?
Открой Outline Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Outline Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
