# MCP Confluence Dc

> MCP Confluence Dc is a free MCP server for knowledge and memory. Confluence Data Center and Server pages, search and attachments for AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/tekthar/atlassian-data-center-mcp
- **MCP Registry name:** io.github.tekthar/mcp-confluence-dc
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [productivity](https://ai-powered.com/categories/productivity), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

```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.

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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.

### Kiro (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/mcp-confluence-dc
