Confluence

by cosmix

2 Not rated yet MIT
GitHub

About

Integrates with Atlassian Confluence to enable direct retrieval, searching, creation, and updating of wiki pages without switching contexts.

Details

Repository
cosmix/confluence-mcp
License
MIT

Explore

- Authenticate to Confluence using a personal API token
- Retrieve and search Confluence pages and spaces
- Create and update Confluence content
- Retrieve and add comments to pages
- Retrieve and add attachments to pages
- Clean and transform Confluence content for AI consumption
- Handle API communication, error handling, and data transformation
- Basic rate limiting to prevent API abuse

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Confluence
    Command (node, npx, python, etc.) bun
    Arguments
    • Argument 1 /absolute/path/to/confluence-mcp/dist/index.js
    Environment
    • CONFLUENCE_BASE_URL your_confluence_instance_url/wiki
    • CONFLUENCE_API_TOKEN your_api_token
    • CONFLUENCE_USER_EMAIL your_email

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Bun (v1.0.0 or higher)
- Confluence account with API access

bun install

Add this configuration to your settings file:

{
  "mcpServers": {
    "confluence": {
      "command": "bun",
      "args": ["/absolute/path/to/confluence-mcp/dist/index.js"],
      "env": {
        "CONFLUENCE_API_TOKEN": "your_api_token",
        "CONFLUENCE_BASE_URL": "your_confluence_instance_url/wiki",
        "CONFLUENCE_USER_EMAIL": "your_email"
      }
    }
  }
}

get_page

Retrieve a Confluence page by ID. Parameters: pageId (string), format (string, can be 'text' or 'markdown'), includeMarkup (boolean)

search_pages

Search for Confluence pages using CQL. Parameters: query (string), limit (integer), format (string, can be 'text' or 'markdown'), includeMarkup (boolean)

get_spaces

List all available Confluence spaces. Parameters: limit (integer)

create_page

Create a new Confluence page. Parameters: spaceKey (string), title (string), content (string, in XHTML format), parentId (optional string)

update_page

Update an existing Confluence page. Parameters: pageId (string), title (string), content (string, in XHTML format), version (integer)

get_comments

Retrieve comments for a specific Confluence page. Parameters: pageId (string), limit (integer), format (string, can be 'text' or 'markdown')

add_comment

Add a comment to a Confluence page. Parameters: pageId (string), content (string), parentId (optional string)

get_attachments

Retrieve attachments for a specific Confluence page. Parameters: pageId (string), limit (integer)

add_attachment

Add an attachment to a Confluence page. Parameters: pageId (string), filename (string), fileContentBase64 (string), comment (string)

The Confluence MCP server exposes the following tools:

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "confluence": {
            "env": {
                "CONFLUENCE_BASE_URL": "your_confluence_instance_url/wiki",
                "CONFLUENCE_API_TOKEN": "your_api_token",
                "CONFLUENCE_USER_EMAIL": "your_email"
            },
            "args": [
                "/absolute/path/to/confluence-mcp/dist/index.js"
            ],
            "command": "bun"
        }
    }
}

Linux

{
    "env": {
        "CONFLUENCE_BASE_URL": "your_confluence_instance_url/wiki",
        "CONFLUENCE_API_TOKEN": "your_api_token",
        "CONFLUENCE_USER_EMAIL": "your_email"
    },
    "args": [
        "/absolute/path/to/confluence-mcp/dist/index.js"
    ],
    "command": "bun"
}

Macos

{
    "env": {
        "CONFLUENCE_BASE_URL": "your_confluence_instance_url/wiki",
        "CONFLUENCE_API_TOKEN": "your_api_token",
        "CONFLUENCE_USER_EMAIL": "your_email"
    },
    "args": [
        "/absolute/path/to/confluence-mcp/dist/index.js"
    ],
    "command": "bun"
}

Windows

{
    "env": {
        "CONFLUENCE_BASE_URL": "your_confluence_instance_url/wiki",
        "CONFLUENCE_API_TOKEN": "your_api_token",
        "CONFLUENCE_USER_EMAIL": "your_email"
    },
    "args": [
        "/absolute/path/to/confluence-mcp/dist/index.js"
    ],
    "command": "bun"
}

A Model Context Protocol (MCP) server for Confluence, enabling AI assistants to interact with Confluence content through a standardized interface.

ℹ️ There is a separate MCP server for Jira

Features

- Authenticate to Confluence using a personal API token
- Retrieve and search Confluence pages and spaces
- Create and update Confluence content
- Retrieve and add comments to pages
- Retrieve and add attachments to pages
- Clean and transform Confluence content for AI consumption
- Handle API communication, error handling, and data transformation
- Basic rate limiting to prevent API abuse

Prerequisites

- Bun (v1.0.0 or higher)
- Confluence account with API access

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.