Skip to content
MCP server

MCP Confluence Dc

Confluence Data Center and Server pages, search and attachments for AI agents

Runs locally

MCP Confluence Dc is a free MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
CLI, Self-hosted
Runs
Locally
Version
0.48.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-confluence-dc --env CONFLUENCE_API_TOKEN='<CONFLUENCE_API_TOKEN>' -- npx -y mcp-confluence-dc

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp-confluence-dc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-confluence-dc"
      ],
      "env": {
        "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-confluence-dc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-confluence-dc"
      ],
      "env": {
        "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-confluence-dc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-confluence-dc"
      ],
      "env": {
        "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp-confluence-dc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-confluence-dc"
      ],
      "env": {
        "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp-confluence-dc --env CONFLUENCE_API_TOKEN='<CONFLUENCE_API_TOKEN>' -- npx -y mcp-confluence-dc

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-confluence-dc]
command = "npx"
args = ["-y", "mcp-confluence-dc"]
env = { CONFLUENCE_API_TOKEN = "<CONFLUENCE_API_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-confluence-dc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-confluence-dc"
      ],
      "env": {
        "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e CONFLUENCE_API_TOKEN='<CONFLUENCE_API_TOKEN>' mcp-confluence-dc npx -- -y mcp-confluence-dc

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp-confluence-dc": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-confluence-dc"
          ],
          "env": {
            "CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ATLASSIAN_DC_MCP_CONFIG_FILEAbsolute path to a shared dotenv-style config file. When set, values are read from this file before direct environment variable overrides are applied.
  • CONFLUENCE_HOSTConfluence host domain (e.g. your-instance.atlassian.net). Required unless provided through ATLASSIAN_DC_MCP_CONFIG_FILE or CONFLUENCE_API_BASE_PATH.
  • CONFLUENCE_API_BASE_PATHConfluence API base path (alternative to CONFLUENCE_HOST). Required unless provided through ATLASSIAN_DC_MCP_CONFIG_FILE or CONFLUENCE_HOST.
  • CONFLUENCE_API_TOKENConfluence Personal Access Token or API token. Required unless provided through ATLASSIAN_DC_MCP_CONFIG_FILE.
  • CONFLUENCE_APPSWhich Confluence apps to offer tools for. Unset or "auto" checks whether draw.io and Gliffy are installed; a list such as "drawio,gliffy" offers those; "off" offers none.

About MCP Confluence Dc

Atlassian's own hosted MCP server targets Atlassian Cloud, so this community package fills the gap for Confluence instances you run yourself. The README states it is not affiliated with or endorsed by Atlassian. Because it runs locally through npx, it reaches a wiki behind a firewall or VPN the way your browser would, and your personal access token never goes to a third-party service.

The agent can search with CQL, read, create and update pages, walk page trees, view version history and diffs, manage labels and comments, handle restrictions, and work with attachments. The README counts 26 tools in 11 toolsets, with the everyday ones listed and the rest reachable through a search, so the tool list stays short. A code sandbox lets an agent combine many reads into one answer, and scripts can only read.

Guardrails include read-only mode, an exact tool allowlist, attachment folders you name and an optional audit log of tool calls. Beta support exists for draw.io diagrams, read-only. Setup is one command and the token goes in the OS keychain. Node.js 22.22.2 or later is required.

What it does

CQL search
Searches Confluence content with the query language.
Page create and update
Reads, creates and edits pages and page trees.
Version history and diffs
Shows earlier versions of a page and what changed.
Labels, comments, restrictions
Manages page metadata and access restrictions.
Attachment handling
Works with attachments inside folders you allow.
draw.io beta
Reads draw.io diagrams, read-only and not yet run against a live instance.

Good for

  • Answer questions from an internal wiki on a private network
  • Draft or update documentation pages from an agent
  • Review what changed between page versions
  • Audit page restrictions in a space

Pricing

Free

Community project; no hosted service to pay for

More servers for the same service

MCP Confluence Dc FAQ

Does MCP Confluence Dc support Confluence Cloud?

No. It is for Confluence Data Center and Server.

Where is my token stored?

In your OS keychain, or a file only your user can read.

Can MCP Confluence Dc be made read-only?

Yes, with the READ_ONLY_MODE setting or an exact tool allowlist.

Which variables does MCP Confluence Dc use?

CONFLUENCE_HOST or CONFLUENCE_API_BASE_PATH, CONFLUENCE_API_TOKEN and an optional shared config file.

Is MCP Confluence Dc free?

Yes. MCP Confluence Dc is free to use.

How do I add MCP Confluence Dc to Claude Code?

Run this command in your terminal: claude mcp add mcp-confluence-dc --env CONFLUENCE_API_TOKEN='<CONFLUENCE_API_TOKEN>' -- npx -y mcp-confluence-dc

What are the best alternatives to MCP Confluence Dc?

The closest alternatives to MCP Confluence Dc are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers