Skip to main content

MCP server for Confluence Data Center raw storage operations

Project description

Confluence Data Center MCP

Typed Python MCP server for Confluence Data Center raw storage operations.

Requirements

  • Python 3.11+
  • uv
  • Confluence Data Center REST API access
  • Either a Confluence Personal Access Token or username/password auth

Setup

uv sync
cp .env.example .env

Set the values in .env, then run:

set -a
source .env
set +a
uv run confluence-dc-mcp

For MCP clients that pass environment variables directly, use:

{
  "mcpServers": {
    "confluence-data-center": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/mikhail/Projects/mcp-atlassian-confluence-raw-storage",
        "run",
        "confluence-dc-mcp"
      ],
      "env": {
        "CONFLUENCE_BASE_URL": "https://confluence.example.com",
        "CONFLUENCE_PAT": "replace-with-token"
      }
    }
  }
}

Environment

CONFLUENCE_BASE_URL is required and must be the root Confluence URL.

Use one authentication mode:

  • CONFLUENCE_PAT
  • CONFLUENCE_USERNAME and CONFLUENCE_PASSWORD

Optional settings:

  • CONFLUENCE_VERIFY_SSL, defaults to true
  • CONFLUENCE_TIMEOUT_SECONDS, defaults to 30

Tools

  • health_check: validates server configuration.
  • search_pages: searches content with CQL and returns page summaries.
  • get_page_storage: returns raw storage-format XHTML for a content ID.
  • get_page_storage_by_title: returns raw storage-format XHTML for a unique page title in a space.
  • update_page_storage: replaces raw storage-format XHTML and increments the Confluence version.

Development

uv run ruff check .
uv run mypy
uv run pytest
uv build

CI and Release

GitHub Actions run linting, strict type checking, tests, and package build on push and pull requests.

Publishing runs when a GitHub Release is published. The workflow uses PyPI Trusted Publishing, so configure a PyPI trusted publisher for this repository with:

  • workflow: publish.yml
  • environment: pypi
  • package name: confluence-dc-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

confluence_dc_mcp-0.1.0.tar.gz (66.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

confluence_dc_mcp-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file confluence_dc_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: confluence_dc_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 66.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for confluence_dc_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fb1b053f87091fbedbd2627f4fbc1e6c3d887a46830fe1398c4f55de7e059a5d
MD5 003b2f363399f2a0fab2b9f6957fc1ad
BLAKE2b-256 5617d42849526f37fbea19a4811c402305f697a2d30c534927634c912ac2d844

See more details on using hashes here.

Provenance

The following attestation bundles were made for confluence_dc_mcp-0.1.0.tar.gz:

Publisher: publish.yml on mishannn/confluence-dc-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file confluence_dc_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for confluence_dc_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d0cf5fde3516f7134fbdb28df2ca83947f3d5befbadf0e18330f8b5630fcf12
MD5 9dc829e39c8fd89259d4fcf2ec3fccfb
BLAKE2b-256 ebd497dcf50dd991229957746a12906c1e7eca50f31f9f58638622fba1935777

See more details on using hashes here.

Provenance

The following attestation bundles were made for confluence_dc_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on mishannn/confluence-dc-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page