sdLaksh/atlassian-custom-mcp
If you are the rightful owner of atlassian-custom-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Enhanced Confluence MCP Server is a specialized server designed for Atlassian Confluence, offering advanced features like complete asset downloads, smart collaborative editing, and perfect Markdown export capabilities.
Enhanced Confluence MCP Server
A Model Context Protocol (MCP) server for Atlassian Confluence with complete asset download capabilities, smart collaborative editing, and perfect Markdown export with embedded images.
✨ Key Features
- 📎 Complete Asset Download: Download all images, documents, and attachments with proper embedding
- 🔧 Smart Collaborative Editing: Patch-based updates with conflict detection
- 📄 Perfect Markdown Export: Clean Markdown files with embedded images
- 🌳 Hierarchical Downloads: Export entire page trees and spaces
- 🛡️ Safe Operations: Read-only by default, intelligent conflict prevention
- 🔍 Advanced Search: Query pages using Confluence Query Language (CQL)
🚀 Quick Setup
1. Install Dependencies
npm install
2. Configure Environment
Copy .env.template to .env and fill in your details:
cp .env.template .env
Edit .env:
CONFLUENCE_URL=https://your-instance.atlassian.net/
ATLASSIAN_USERNAME=your-email@company.com
ATLASSIAN_API_TOKEN=your-api-token-here
3. Add to VS Code Settings
Add to ~/Library/Application Support/Code/User/settings.json:
{
"mcp": {
"servers": {
"atlassian-custom-mcp": {
"command": "node",
"args": ["/path/to/your/atlassian-custom-mcp/mcp-server-stdio.js"],
"cwd": "/path/to/your/atlassian-custom-mcp"
}
}
}
}
4. Restart VS Code & Test
@copilot Download page tree with all child pages and attachments from confluence page 123456789 to confluence_content folder. Create Markdown files with embedded images referencing attachments/ folder.
🎯 Perfect Prompts for Complete Export
For Documentation Export:
@copilot Download page tree with all child pages and attachments from confluence page [PAGE_ID] to confluence_content folder. Create Markdown files with embedded images referencing attachments/ folder. Make it a complete self-contained export.
For Single Page with Assets:
@copilot Download confluence page [PAGE_ID] with all attachments and save as Markdown with embedded images to confluence_content folder
🔑 Get Your API Token
- Visit: https://id.atlassian.com/manage-profile/security/api-tokens
- Create new token with label "VS Code Confluence MCP"
- Copy token immediately (shown only once)
- Add to
.envfile - Keep secure - never commit to version control
🧪 Verify Installation
npm test
Safe test with mocked API calls - no real Confluence requests.
📚 Complete Documentation
➡️ - Complete usage guide with all features and prompts
➡️ - Perfect asset download and export strategies
➡️ - Real-world examples and workflows
➡️ - Safe collaborative editing strategies
💡 What Makes This Special
🖼️ Perfect Image Embedding
- Downloads actual binary image data (not just metadata)
- Converts Confluence image markup to proper Markdown syntax
- Creates
references - Self-contained documentation that works offline
🌳 Intelligent Content Discovery
- Finds complete page hierarchies automatically
- Searches for child pages and related content
- Handles both folder structures and space-wide exports
- Avoids duplicates and manages large spaces gracefully
📄 Clean Markdown Output
- Converts Confluence storage format to readable Markdown
- Preserves formatting (headings, bold, italic, code)
- Includes complete metadata (page IDs, versions, dates)
- Creates navigable file structure with meaningful names
🔒 Zero Risk Operations
- READ-ONLY: Never modifies your Confluence instance
- Smart conflict detection for collaborative editing
- Comprehensive input validation and XSS protection
- Extensive testing with mocked API calls
✨ Ready! See the usage guide for all features and examples.