Confluence MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "CONFLUENCE_HOST_URL=${CONFLUENCE_HOST_URL}" -e "CONFLUENCE_USER_EMAIL=${CONFLUENCE_USER_EMAIL}" -e "CONFLUENCE_API_TOKEN=${CONFLUENCE_API_TOKEN}" confluence-mcp-df4c -- bunx -y @dsazz/mcp-confluence@latest
Required:CONFLUENCE_HOST_URLCONFLUENCE_USER_EMAILCONFLUENCE_API_TOKEN
README.md

Integrate Atlassian Confluence directly into your MCP-compatible applications

🌐 Confluence MCP Server

A powerful Model Context Protocol (MCP) server that brings Atlassian Confluence integration directly to any editor or application that supports MCP


✨ Features

🚀 New in v0.3.0 - Optimized Architecture

  • 9 Strategic MCP Tools - Optimized from 8 tools with enhanced workflow capabilities
  • Domain-Based Architecture - Clean separation into 3 domains: Spaces, Pages, and Search
  • Enhanced Navigation - New tools for space lookup, page hierarchy, and content discovery
  • Improved Performance - 1871 tests passing with optimized build process

📚 **Access Confluence Directly From Your Editor**

  • Browse your Confluence spaces without leaving your IDE
  • Get detailed page information with formatted content
  • Navigate page hierarchies with child page discovery
  • Create, update, and manage Confluence content directly

🔍 **Powerful Search Capabilities**

  • Search pages using text queries or advanced CQL (Confluence Query Language)
  • Support for space filtering, content type filtering, and result ordering
  • Rich markdown formatting with page previews and direct links
  • Renamed confluence_search_pages to confluence_search for simplicity

📝 **Smart Content Processing**

  • Automatic conversion of Confluence's storage format to readable markdown
  • Support for formatted text, tables, macros, and attachments
  • Full CRUD operations for page management
  • Strategic workflow tools for better user experience

🚀 Quick Start

Installation

The easiest way to use this MCP server is to install it directly via npm/bunx. No local setup required!

For Claude Desktop

Add this configuration to your Claude Desktop MCP settings:

{
  "mcpServers": {
    "Confluence Tools": {
      "command": "bunx",
      "args": ["-y", "@dsazz/mcp-confluence@latest"],
      "env": {
        "CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
        "CONFLUENCE_USER_EMAIL": "your-email@example.com",
        "CONFLUENCE_API_TOKEN": "your-confluence-api-token"
      }
    }
  }
}
For Cursor IDE

Add this configuration to your Cursor IDE MCP settings:

{
  "mcpServers": {
    "Confluence Tools": {
      "command": "bunx",
      "args": ["-y", "@dsazz/mcp-confluence@latest"],
      "env": {
        "CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
        "CONFLUENCE_USER_EMAIL": "your-email@example.com",
        "CONFLUENCE_API_TOKEN": "your-confluence-api-token"
      }
    }
  }
}
For Any MCP Client

Use this configuration pattern for any MCP-compatible client:

{
  "mcpServers": {
    "Confluence Tools": {
      "command": "bunx",
      "args": ["-y", "@dsazz/mcp-confluence@latest"],
      "env": {
        "CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
        "CONFLUENCE_USER_EMAIL": "your-email@example.com",
        "CONFLUENCE_API_TOKEN": "your-confluence-api-token"
      }
    }
  }
}

🔑 Getting Your Confluence API Token

  1. Go to Atlassian API Tokens
  2. Click "Create API token"
  3. Give it a name (e.g., "MCP Confluence")
  4. Copy the token and use it in your configuration
  5. Important: Use the token exactly as provided (no quotes needed in the env section)

Alternative: Using npx instead of bunx

If you prefer npx over bunx, you can also use:

{
  "mcpServers": {
    "Confluence Tools": {
      "command": "npx",
      "args": ["-y", "@dsazz/mcp-confluence@latest"],
      "env": {
        "CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
        "CONFLUENCE_USER_EMAIL": "your-email@example.com",
        "CONFLUENCE_API_TOKEN": "your-confluence-api-token"
      }
    }
  }
}

Testing Your Setup

After adding the configuration:

  1. Restart your MCP client (Claude Desktop, Cursor, etc.)
  2. Try this command to test the connection:
    Show me my Confluence spaces.
    

That's it! You're ready to use Confluence directly from your MCP client.


🛠️ Development Setup

Click here if you want to develop or customize this MCP server

Development Installation

For development or customization:

# Clone the repo

Tools (1)

confluence_searchSearch pages using text queries or advanced CQL (Confluence Query Language)

Environment Variables

CONFLUENCE_HOST_URLrequiredThe base URL of your Atlassian Confluence instance
CONFLUENCE_USER_EMAILrequiredThe email address associated with your Atlassian account
CONFLUENCE_API_TOKENrequiredThe API token generated from your Atlassian security settings

Configuration

claude_desktop_config.json
{"mcpServers": {"Confluence Tools": {"command": "bunx", "args": ["-y", "@dsazz/mcp-confluence@latest"], "env": {"CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net", "CONFLUENCE_USER_EMAIL": "your-email@example.com", "CONFLUENCE_API_TOKEN": "your-confluence-api-token"}}}}

Try it

Show me my Confluence spaces.
Search for recent pages in the Engineering space about the new API architecture.
Find all pages created by me in the last week using CQL.
Get the content of the page titled 'Project Roadmap' and summarize it.

Frequently Asked Questions

What are the key features of Confluence MCP Server?

Browse Confluence spaces and navigate page hierarchies. Search content using text queries or advanced CQL. Automatic conversion of Confluence storage format to readable markdown. Full CRUD operations for managing Confluence pages. Domain-based architecture for organized content discovery.

What can I use Confluence MCP Server for?

Quickly finding technical documentation without leaving the IDE. Summarizing long Confluence pages into concise markdown notes. Updating project status pages directly from a coding environment. Discovering related documentation across different Confluence spaces.

How do I install Confluence MCP Server?

Install Confluence MCP Server by running: bunx -y @dsazz/mcp-confluence@latest

What MCP clients work with Confluence MCP Server?

Confluence MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Confluence MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare