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
Run with uvx
After the package is published, it can be run without cloning the repository:
CONFLUENCE_BASE_URL="https://confluence.example.com" \
CONFLUENCE_PAT="replace-with-token" \
uvx confluence-dc-mcp
Or with username/password authentication:
CONFLUENCE_BASE_URL="https://confluence.example.com" \
CONFLUENCE_USERNAME="alice" \
CONFLUENCE_PASSWORD="replace-with-password" \
uvx confluence-dc-mcp
For an MCP client using uvx with a Personal Access Token:
{
"mcpServers": {
"confluence-data-center": {
"command": "uvx",
"args": ["confluence-dc-mcp"],
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.example.com",
"CONFLUENCE_PAT": "replace-with-token"
}
}
}
}
For an MCP client using uvx with username/password authentication:
{
"mcpServers": {
"confluence-data-center": {
"command": "uvx",
"args": ["confluence-dc-mcp"],
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.example.com",
"CONFLUENCE_USERNAME": "alice",
"CONFLUENCE_PASSWORD": "replace-with-password"
}
}
}
}
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_PATCONFLUENCE_USERNAMEandCONFLUENCE_PASSWORD
Optional settings:
CONFLUENCE_VERIFY_SSL, defaults totrueCONFLUENCE_TIMEOUT_SECONDS, defaults to30
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file confluence_dc_mcp-0.2.3.tar.gz.
File metadata
- Download URL: confluence_dc_mcp-0.2.3.tar.gz
- Upload date:
- Size: 67.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed97098ff6c4c3449c62082138df6118f5d020fe3f0da7766ccbf63aa6ced2ff
|
|
| MD5 |
d41b3b433d812841773848d8ea6f990c
|
|
| BLAKE2b-256 |
d51020cb51803f42b3c81d0841d53d8ea5d7ffdac8029470251eaa8e6b762589
|
Provenance
The following attestation bundles were made for confluence_dc_mcp-0.2.3.tar.gz:
Publisher:
publish.yml on mishannn/confluence-dc-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
confluence_dc_mcp-0.2.3.tar.gz -
Subject digest:
ed97098ff6c4c3449c62082138df6118f5d020fe3f0da7766ccbf63aa6ced2ff - Sigstore transparency entry: 1827320129
- Sigstore integration time:
-
Permalink:
mishannn/confluence-dc-mcp@9882ff9ccb64fc5b7d28fb2dc090cae311d748eb -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/mishannn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9882ff9ccb64fc5b7d28fb2dc090cae311d748eb -
Trigger Event:
release
-
Statement type:
File details
Details for the file confluence_dc_mcp-0.2.3-py3-none-any.whl.
File metadata
- Download URL: confluence_dc_mcp-0.2.3-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f0fc562ed233d2682d4aaf17494ff0cd9a9b031caa71a58fb3921b17678bf03
|
|
| MD5 |
e316d9de4ada570016dd225aaf5af737
|
|
| BLAKE2b-256 |
d32eb5faf9f2d62e31cd67c9125215ce98d3e91b46cb49f31a721c3696d2cd57
|
Provenance
The following attestation bundles were made for confluence_dc_mcp-0.2.3-py3-none-any.whl:
Publisher:
publish.yml on mishannn/confluence-dc-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
confluence_dc_mcp-0.2.3-py3-none-any.whl -
Subject digest:
3f0fc562ed233d2682d4aaf17494ff0cd9a9b031caa71a58fb3921b17678bf03 - Sigstore transparency entry: 1827320173
- Sigstore integration time:
-
Permalink:
mishannn/confluence-dc-mcp@9882ff9ccb64fc5b7d28fb2dc090cae311d748eb -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/mishannn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9882ff9ccb64fc5b7d28fb2dc090cae311d748eb -
Trigger Event:
release
-
Statement type: