Outline MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Outline MCP or direct API to search wiki pages, summarize docs, create knowledge base articles, and update team documentation through natural language.

Outline logoOutline
Api Key

Outline is a team knowledge base and wiki for creating, organizing, and sharing documentation. It helps teams keep decisions, guides, and project knowledge easy to find.

101 Tools

Try Outline now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Outline
Try asking
TOOLS

Supported Tools

Every Outline action and event your agent gets out of the box.

Activate User

Tool to activate a previously suspended user in Outline.

Add Group to Collection

Tool to add a group to a collection in Outline.

Add Document User

Tool to add a user membership to a document.

Add Group to Document

Tool to give all members in a group access to a document.

Add User to Group

Tool to add a user to a group.

Add User to Collection

Tool to add a user to a collection with specified permissions.

Archive Document

Tool to archive a document in Outline.

Create Attachment

Tool to create an attachment in Outline.

Create Collection

Tool to create a new collection in Outline.

Create Comment

Tool to create a comment on an Outline document.

Create Document

Tool to create a new document in Outline.

Create Group

Tool to create a new group in Outline.

Create OAuth Client

Tool to create a new OAuth client in Outline.

Create Share

Tool to create a public share link for an Outline document.

Create Star

Tool to create a star for a document or collection in Outline.

Create Template

Tool to create a new template in Outline.

Create View

Tool to create a view for a document.

Delete Attachment

Tool to delete an attachment from Outline.

Delete Collection

Tool to delete a collection and all of its documents from Outline.

Delete Comment

Tool to delete a comment in Outline.

Delete Document

Tool to delete a document in Outline.

Delete File Operation

Tool to delete a file operation and its associated files from Outline.

Delete Group

Tool to delete a group from Outline.

Delete OAuth Authentication

Tool to delete an OAuth authentication in Outline.

Delete OAuth Client

Tool to delete an OAuth client from Outline.

Delete Star

Tool to delete a star from a document in Outline.

Delete Template

Tool to delete a template in Outline.

Delete User

Tool to delete a user in Outline.

Duplicate Document

Tool to duplicate an Outline document.

Duplicate Template

Tool to duplicate an Outline template.

Empty Documents Trash

Tool to permanently delete all documents in the trash.

Export All Collections

Tool to export all collections and their documents in bulk.

Export Collection

Tool to export a collection in markdown, JSON, or HTML format.

Export Document

Tool to export a document from Outline in Markdown, HTML, or PDF format.

Get Attachment Redirect URL

Tool to retrieve an attachment redirect URL from Outline.

Get authentication config

Tool to retrieve authentication configuration options for an Outline workspace.

Get Collection Info

Tool to retrieve a collection by its unique identifier.

Get Collection Documents

Tool to retrieve a collection's document structure as a tree of navigation nodes.

Get Comment

Tool to retrieve a comment by its ID from Outline.

Get Document Info

Tool to retrieve a document from Outline by its UUID, urlId, or shareId.

Get Document Children Structure

Tool to retrieve a document's child structure.

Get File Operation Info

Tool to retrieve the details and current status of a file operation by its unique identifier.

Get Group Info

Tool to retrieve a group by its unique identifier.

Get OAuth Client Info

Tool to retrieve an OAuth client from Outline by its id or clientId.

Get Revision Info

Tool to retrieve a revision by its ID from Outline.

Get Share Info

Tool to retrieve a share object by its unique identifier or by the associated document ID.

Get Template Info

Tool to retrieve a template by its unique identifier.

Get User Info

Tool to retrieve a user by their unique identifier.

Invite Users

Tool to invite users to the Outline workspace.

List Archived Documents

List all archived documents in the Outline workspace.

List Collection Group Memberships

Tool to list all group memberships for a specific collection in Outline.

List collection memberships

Tool to list all individual user memberships for a collection.

List Collections

Tool to list all collections that the authenticated user has access to.

List Comments

Tool to retrieve all comments with optional filtering by document or collection.

List Data Attributes

Tool to list all data attributes in Outline.

List Deleted Documents

Tool to list all deleted documents in the workspace that the current user has access to.

List Document Group Memberships

Tool to list a document's group memberships.

List document memberships

Tool to list users with direct membership to a document.

List Documents

Tool to list all documents in your Outline workspace.

List Document Users

Tool to list all users with access to a document.

List Draft Documents

Tool to list all draft documents belonging to the current user.

List Events

Tool to list all events from the audit trail.

List File Operations

Tool to list all file operations for the workspace.

List Group Memberships

Tool to list all members of a specific group in Outline.

List Groups

Tool to list all groups in the workspace.

List OAuth Authentications

Tool to list all OAuth authentications for the current user.

List OAuth Clients

Tool to list all OAuth clients accessible to the authenticated user.

List Recently Viewed Documents

Tool to list all recently viewed documents by the current user.

List Revisions

Tool to list all revisions for a specific document.

List Shares

Tool to list all share links in the workspace.

List Stars

Tool to list all starred documents and collections for the authenticated user.

List Templates

Tool to list all templates available to the current user.

List Users

Tool to list all users in the workspace.

List Views

Tool to list all users that have viewed a specific document and the overall view count.

Move Document

Tool to move a document to a new location or collection in Outline.

Redirect File Operation

Tool to retrieve a file from Outline by file operation ID.

Remove Collection Group

Tool to remove a group from a collection, revoking access for all group members.

Remove Collection User

Tool to remove a user from a collection.

Remove Document User

Tool to remove a user membership from a document.

Remove Group from Document

Tool to remove a group from a document, revoking access for all group members.

Remove Group User

Tool to remove a user from a group.

Restore Document

Tool to restore a document in Outline.

Restore Template

Tool to restore a previously deleted template in Outline.

Retrieve Auth Info

Tool to retrieve authentication details for the current API key.

Revoke Share

Tool to revoke a share in Outline, making the share link inactive so it can no longer be used to access the document.

Rotate OAuth Client Secret

Tool to rotate the secret for an OAuth client in Outline.

Search Documents

Tool to search all documents in your Outline workspace using keywords.

Search Document Titles

Tool to search document titles in Outline workspace using keywords.

Suspend User

Tool to suspend a user in Outline.

Create Template from Document

Tool to create a template from an existing Outline document.

Unpublish Document

Tool to unpublish a document in Outline.

Update Collection

Tool to update an existing collection's properties in Outline.

Update Comment

Tool to update a comment in Outline.

Update Document

Tool to update a document in Outline.

Update Group

Tool to update an existing group's name in Outline.

Update OAuth Client

Tool to update an existing OAuth client in Outline.

Update Share

Tool to update a share in Outline.

Update Star

Tool to update a star's position in the Outline sidebar.

Update Template

Tool to update an existing template in Outline.

Update User

Tool to update a user's name, avatar, or language preference in Outline.

Update User Role

Tool to change a user's role in Outline workspace.

SETUP GUIDE

Connect Outline MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Outline
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Find outdated API documentation pages in Outline'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect Outline API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Outline Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Search Outline for onboarding documents and summarize the latest page'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Outline actions with your Agent

Why Use Composio?

AI Native Outline Integration

  • Supports both Outline MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable document search, page creation, and wiki updates
  • Rich coverage for reading, writing, and querying your Outline knowledge base

Managed Auth

  • Store Outline API keys securely instead of hard-coding them in agent code
  • Use auth_configs.create() and connected_accounts.link() to manage user-level Outline access
  • Central place to manage, scope, and revoke Outline credentials across environments

Agent Optimized Design

  • Tools are shaped so agents can search docs, fetch pages, and make updates without brittle custom glue code
  • Comprehensive execution logs so you always know what Outline action ran, when, and on whose behalf
  • Works smoothly with Tool Router sessions and mcp.create() based MCP workflows

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Outline
  • Scoped, least privilege access to knowledge base resources
  • Full audit trail of agent actions to support documentation review and compliance
FAQ

Frequently asked questions

Yes, Outline requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Outline.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Outline tool your agent needs.Free to start.

Start building