loading…
Search for a command to run...
loading…
Upload Markdown to Confluence with auto-converted Mermaid diagrams, code blocks, images, and tables. Supports creating, updating, and syncing pages.
Upload Markdown to Confluence with auto-converted Mermaid diagrams, code blocks, images, and tables. Supports creating, updating, and syncing pages.
Markdown to Confluence converter — MCP server that uploads Markdown files to Atlassian Confluence with auto-converted Mermaid diagrams, code blocks, and images.

Uploading showcase.md to Confluence with images and Mermaid diagrams
Add to your Claude Code settings (~/.claude/settings.json):
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "md2confluence-mcp"],
"env": {
"CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki",
"CONFLUENCE_EMAIL": "[email protected]",
"CONFLUENCE_TOKEN": "YOUR_API_TOKEN"
}
}
}
}
Add to your project's .mcp.json:
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "md2confluence-mcp"],
"env": {
"CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki",
"CONFLUENCE_EMAIL": "[email protected]",
"CONFLUENCE_TOKEN": "YOUR_API_TOKEN"
}
}
}
}
CONFLUENCE_TOKENOnce configured, Claude Code can use these tools automatically.
"Upload README.md to my personal Confluence space"
"Upload this document to my Confluence space"
"Upload docs/SETUP.md to Confluence here: https://company.atlassian.net/wiki/spaces/TEAM/overview"
"Create a new page in https://company.atlassian.net/wiki/spaces/~712020170fdaa4716743419285f156aa587665/overview with this content"
"Update this Confluence page with the latest content: https://company.atlassian.net/wiki/spaces/TEAM/pages/123456/My+Page"
"Sync docs/API.md to https://company.atlassian.net/wiki/spaces/EN/pages/789012/API+Reference"
"Create a new page under https://company.atlassian.net/wiki/spaces/TEAM/pages/123456/Parent+Page"
"Add a sub-page to this page: https://company.atlassian.net/wiki/spaces/EN/pages/789012/Guide"
"Show me available Confluence spaces"
"Find Confluence pages about authentication in the EN space"
| Type | Format | Example |
|---|---|---|
| Global space | Short key | TEAM, EN, PROD |
| Personal space | ~ + ID |
~712020170fdaa4716743419285f156aa587665 |
Tip: You can extract the space key from a Confluence URL:
https://company.atlassian.net/wiki/spaces/TEAM/overview
^^^^ space key
https://company.atlassian.net/wiki/spaces/~712020.../overview
^^^^^^^^^^ personal space key
| Tool | Description |
|---|---|
upload_page |
Create a new Confluence page from Markdown |
update_page |
Update an existing page |
create_child_page |
Create a new page under an existing page |
sync_file |
Sync a local file to an existing page |
list_spaces |
List available spaces |
search_pages |
Search for pages |
flowchart LR
A["Markdown"] --> B["Parse"]
B --> C["Mermaid → kroki.io → PNG"]
C --> D["Convert to Confluence HTML"]
D --> E["Upload via REST API"]
E --> F["Attach images"]
| Variable | Required | Description |
|---|---|---|
CONFLUENCE_URL |
✅ | e.g., https://your-domain.atlassian.net/wiki |
CONFLUENCE_EMAIL |
✅ | Your Atlassian account email |
CONFLUENCE_TOKEN |
✅ | API token |
# Clone
git clone https://github.com/Gyeom/md2confluence-mcp.git
cd md2confluence-mcp
# Install dependencies
npm install
# Build
npm run build
# Test locally
CONFLUENCE_URL=... CONFLUENCE_EMAIL=... CONFLUENCE_TOKEN=... npm start
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"md2confluence-mcp": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.