Md2confluence MCP Server
MCP server to upload Markdown to Confluence. Auto-converts Mermaid diagrams, code blocks, images, and tables.
Md2confluence Mcp scores 39 (Limited), licensed MIT and written in JavaScript. It installs as a local process. It declares 6 tools. Filed under Knowledge. GitHub shows 15 stars. Package registries report about 18 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
39 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
80/100 for listing completeness. Lost points: 3 of 6 tools barely described, short summary, no docs link.
How quality is graded
Where the 39 comes from
0 + 5 + 4 + 10 + 10 + 10 = 39. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "gyeom-md2confluence-mcp": { "command": "npx", "args": [ "-y", "md2confluence-mcp@0.1.10" ] } }}
Environment variables
This server does not declare environment variables.
Tools6Tool docs quality grade D
All capabilitiesCreate a new page under an existing page
list_spacestoolList available spaces
search_pagestoolSearch for pages
sync_filetoolSync a local file to an existing page
update_pagetoolUpdate an existing page
upload_pagetoolCreate a new Confluence page from Markdown
About
md2confluence-mcp
Markdown to Confluence converter — MCP server that uploads Markdown files to Atlassian Confluence with auto-converted Mermaid diagrams, code blocks, and images.
Demo

Uploading showcase.md to Confluence with images and Mermaid diagrams
Features
- ✅ Mermaid diagrams → PNG (auto-converted via kroki.io)
- ✅ Code blocks → Confluence Code macro
- ✅ Images → Attachments (auto-uploaded)
- ✅ Tables, links, formatting → Preserved
Installation
Claude Code
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": "your@email.com",
"CONFLUENCE_TOKEN": "YOUR_API_TOKEN"
}
}
}
}
Project-specific
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": "your@email.com",
"CONFLUENCE_TOKEN": "YOUR_API_TOKEN"
}
}
}
}
Get API Token
- Go to https://id.atlassian.com/manage/api-tokens
- Click "Create API token"
- Copy the token to
CONFLUENCE_TOKEN
Usage
Once configured, Claude Code can use these tools automatically.
Prompt Examples
Upload to your personal space
"Upload README.md to my personal Confluence space"
"Upload this document to my Confluence space"
Upload to a specific space (with URL)
"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 an existing page
"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 child page (sub-page)
"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"
List and search
"Show me available Confluence spaces"
"Find Confluence pages about authentication in the EN space"
Space Key Format
| 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
Tools
| 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 |
How It Works
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"]
- Parse - Extract content, remove front matter
- Render - Convert Mermaid diagrams to PNG via kroki.io
- Convert - Transform Markdown to Confluence storage format
- Upload - Create/update page via Confluence REST API
- Attach - Upload images as page attachments
Environment Variables
| Variable | Required | Description |
|---|---|---|
CONFLUENCE_URL | ✅ | e.g., https://your-domain.atlassian.net/wiki |
CONFLUENCE_EMAIL | ✅ | Your Atlassian account email |
CONFLUENCE_TOKEN | ✅ | API token |
Development
# 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
License
MIT
Credits
- kroki.io - Diagram rendering API
- Model Context Protocol - MCP SDK
- Confluence REST API
Frequently asked questions
What is Md2confluence MCP Server?
MCP server to upload Markdown to Confluence. Auto-converts Mermaid diagrams, code blocks, images, and tables.
How do I install Md2confluence MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Md2confluence MCP Server runs locally from the npm package md2confluence-mcp with the command npx -y md2confluence-mcp@0.1.10.
Is Md2confluence MCP Server free and open source?
Yes. Md2confluence MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Md2confluence MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Md2confluence MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Md2confluence MCP Server provide?
Md2confluence MCP Server provides 6 tools, including create_child_page, list_spaces, search_pages, and sync_file. See the full tool list for descriptions and parameters.
How is Md2confluence MCP Server's trust score calculated?
Md2confluence MCP Server scores 39 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.