confluence-markdown
Provides tools for bidirectional Markdown-to-Confluence sync, allowing download and upload of pages, page trees, and attachments with version conflict detection.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@confluence-markdowndownload space DEV to local markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Confluence Markdown
Bidirectional Markdown-to-Confluence sync. Download pages as Markdown, publish and update them back with images and mermaid diagrams.
Features
Download spaces, pages and page trees as Markdown with images
Publish new Confluence pages from local Markdown files
Update existing pages with version conflict detection
Publish directory trees as page hierarchies
Mermaid diagrams rendered to PNG and uploaded as attachments
Local image upload as page attachments
Dry-run by default for all write operations
Multi-org support (override Confluence URL per request)
YAML frontmatter for page tracking (ID, version, space)
Full-width page layout applied automatically
Homepage support (update space homepage from a markdown file)
Related MCP server: MCP Atlassian Node Server
Setup
Clone this repo
Install dependencies:
pip install -e .Create a
.envfile in the project root:
CONFLUENCE_URL=https://your-site.atlassian.net
CONFLUENCE_EMAIL=you@example.com
CONFLUENCE_API_TOKEN=your-api-tokenGenerate tokens at id.atlassian.com. Token must be unscoped.
Project Config
Each project that publishes to Confluence needs a confluence.json:
{
"space_key": "ECM",
"confluence_url": "https://rebura.atlassian.net",
"docs_dir": "Design Documents",
"parent_page_id": "1915061323"
}Usage
Sync a project (dry-run)
python -c "import sys; sys.path.insert(0, r'<path-to-this-repo>'); from confluence_markdown_mcp import sync_project; print(sync_project(r'<path-to-confluence.json>'))"Sync a project (execute)
python -c "import sys; sys.path.insert(0, r'<path-to-this-repo>'); from confluence_markdown_mcp import sync_project; print(sync_project(r'<path-to-confluence.json>', confirm=True))"Update a single page
python -c "import sys; sys.path.insert(0, r'<path-to-this-repo>'); from confluence_markdown_mcp import update_page; print(update_page(r'<path-to-file.md>', confirm=True))"Publish a single new page
python -c "import sys; sys.path.insert(0, r'<path-to-this-repo>'); from confluence_markdown_mcp import publish_page; print(publish_page(r'<path-to-file.md>', confirm=True))"Kiro Integration
A steering file is included at .kiro/steering/confluence-sync.md. Reference it with #confluence-sync in Kiro chat to enable conversational sync (e.g. "upload to confluence").
Frontmatter
Files track their Confluence state via YAML frontmatter:
---
title: "Page Title"
confluence_page_id: "123456"
confluence_space_key: "ECM"
confluence_version: 3
confluence_homepage: true
---confluence_homepage: true- updates the space's existing homepage content instead of creating a new pageFiles without
confluence_page_idare created as new pagesFiles with
confluence_page_idare updated in place
Mermaid Diagrams
Mermaid code blocks are automatically rendered to PNG (2x scale, white background) and uploaded as page attachments. The source mermaid stays in your local files.
Requires mmdc (Mermaid CLI): npm install -g @mermaid-js/mermaid-cli
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that converts Markdown content to Notion API-compatible formats, suitable for content management and development integration.Last updated11Apache 2.0
- Alicense-qualityDmaintenanceProduction-ready MCP server for Atlassian Jira and Confluence, providing tools for issue management, page retrieval, and content operations.Last updated541MIT
- AlicenseAqualityCmaintenanceMCP server for Confluence Cloud/Server/Data Center, enabling page search, CQL queries, page CRUD, attachment upload, and user identity lookup.Last updated235104MIT
- AlicenseAqualityCmaintenanceAn MCP server for reading and writing Confluence pages in native Atlassian Document Format (ADF), enabling precise edits at the document node level without loss of formatting.Last updated43MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dan-Rebura/confluence-markdown'
If you have feedback or need assistance with the MCP directory API, please join our Discord server