Provides complete page management, advanced search with CQL, space management, attachment handling, and comment system capabilities for Confluence Cloud, allowing AI assistants to create, read, update, delete pages, explore spaces, manage attachments, and access page comments.
Supports containerized deployment with Docker for both HTTP and stdio transport modes, enabling consistent deployment across different environments.
Supports container-based deployment to Heroku for cloud hosting of the MCP server.
Supports direct deployment from GitHub to Railway platform for cloud hosting of the MCP server.
Confluence MCP Server v2.0 🚀 Revolutionary Selective Editing
🎉 INTRODUCING v2.0: Industry's First XML-Aware Selective Editing System for AI Assistants
A revolutionary MCP (Model Context Protocol) server that transforms how AI assistants interact with Confluence. Beyond basic page management, v2.0 introduces surgical precision editing that allows AI to make targeted modifications while preserving all existing content, formatting, and macros.
✨ What Makes v2.0 Revolutionary
🎯 Surgical Precision Editing
Unlike traditional "replace entire page" approaches, v2.0 enables:
- Section Updates: Modify specific sections under headings without touching other content
- Pattern Replacement: Find and replace text while preserving XML structure and macros
- Table Cell Editing: Update individual table cells without affecting table structure
- Structure Preservation: Maintains all formatting, layouts, macros, and custom elements
🧠 XML-Aware Intelligence
- Confluence Storage Format Expert: Understands and preserves Confluence's complex XML structure
- Macro Safety: Never breaks macros, layouts, or custom elements during edits
- Content Analysis: Intelligently identifies safe editing locations and content boundaries
- Rollback Capability: Automatic backup creation for safe editing operations
🛠️ 13 Powerful Tools
Standard Tools (10): Complete page, space, attachment, and comment management 🆕 Selective Editing Tools (3): Revolutionary precision editing capabilities
🚀 Revolutionary Selective Editing Tools
1. update_page_section
- Surgical Section Replacement
Updates specific sections under headings without affecting surrounding content.
Example: Update project status without touching meeting notes
Features:
- Intelligent heading detection (H1-H6) with hierarchy support
- Flexible matching: case-sensitive, exact match, or fuzzy search
- Nested heading support for complex document structures
- Preserves all macros, layouts, and formatting outside target section
2. replace_text_pattern
- XML-Aware Find & Replace
Replaces text patterns throughout pages while preserving document structure.
Example: Update product version across documentation
Features:
- Smart content detection distinguishes text from XML markup
- Case sensitivity and whole-word matching options
- Replacement limits for controlled changes
- Never breaks macros, links, or formatting elements
3. update_table_cell
- Precision Table Editing
Updates specific table cells while maintaining table structure and formatting.
Example: Update project metrics in status tables
Features:
- Zero-based indexing for precise cell targeting
- Rich HTML content support within cells
- Table structure preservation (borders, styling, headers)
- Surgical precision - only target cell is modified
🌐 Universal Deployment Platform
🚀 Deployment Options
Platform | Transport | Status | Tools Available |
---|---|---|---|
Claude Desktop | stdio | ✅ All 13 Tools | Local development, personal use |
Smithery.ai | HTTP | ✅ All 13 Tools | Cloud deployment, team sharing |
Docker | HTTP/stdio | ✅ All 13 Tools | Containerized deployment |
Web Clients | HTTP | ✅ All 13 Tools | Browser-based AI tools |
Cloud Platforms | HTTP | ✅ All 13 Tools | Railway, Heroku, AWS, etc. |
🛠️ Complete Tool Suite
📄 Standard Confluence Tools (10)
Tool | Description | Example Usage |
---|---|---|
get_confluence_page | Retrieve page content | "Show me the content of page ID 123456" |
create_confluence_page | Create new pages | "Create a meeting notes page in the PROJ space" |
update_confluence_page | Modify entire pages | "Replace all content in page 123456" |
delete_confluence_page | Remove pages | "Delete the outdated page 123456" |
search_confluence_pages | Search with CQL | "Find all pages in PROJ space modified this week" |
get_confluence_spaces | List available spaces | "What spaces do I have access to?" |
get_page_attachments | View page attachments | "Show attachments on page 123456" |
add_page_attachment | Upload files | "Upload this document to page 123456" |
delete_page_attachment | Remove files | "Delete the old attachment from page 123456" |
get_page_comments | Read page comments | "Show me comments on page 123456" |
🎯 Revolutionary Selective Editing Tools (3)
Tool | Description | Revolutionary Capability |
---|---|---|
update_page_section | Surgical section replacement | Updates specific headings without touching other sections |
replace_text_pattern | XML-aware pattern replacement | Replaces text while preserving macros and formatting |
update_table_cell | Precision table cell editing | Modifies individual cells without affecting table structure |
🚀 Quick Start
📚 New to Selective Editing?
👉 Complete Step-by-Step Tutorial - Learn revolutionary selective editing with hands-on examples!
Option 1: Claude Desktop (stdio transport)
- Install Dependencies:
- Configure Claude Desktop:
- Restart Claude Desktop and look for the 🔨 hammer icon showing 13 tools
Option 2: HTTP Server
- Install Dependencies:
- Set Environment Variables:
- Start HTTP Server:
- Test the Server:
Option 3: Docker Deployment
- Build Container:
- Run Container:
Option 4: Smithery.ai Deployment
- Upload Files: Upload
smithery.yaml
and server code to Smithery.ai - Configure Credentials: Set Confluence URL, username, and API token
- Deploy: Smithery.ai automatically provides all 13 tools including selective editing
💬 Revolutionary AI Assistant Workflows
🎯 Selective Editing Examples
📚 Need Step-by-Step Guidance? 👉 Complete Selective Editing Tutorial - Hands-on guide with examples, workflows, and troubleshooting
Update Project Status Without Disrupting Meeting Notes:
Fix Typos Across Documentation:
Update Metrics in Status Dashboard:
📄 Traditional Page Management:
🔧 Advanced Configuration
v2.0 Selective Editing Features
The selective editing system provides several advanced options:
Content Analysis Engine
- Heading Hierarchy Detection: Automatically identifies H1-H6 structure
- Section Boundary Analysis: Precisely identifies content boundaries
- Macro Detection: Recognizes and preserves Confluence macros
- Table Structure Analysis: Understands complex table layouts
Safety Features
- Backup Creation: Automatic content backup before modifications
- Rollback Capability: Restore original content if needed
- Validation Engine: Ensures modifications won't break page structure
- Error Recovery: Graceful handling of complex XML scenarios
Environment Variables
.env File Support
🔒 Security & Authentication
- API Tokens: Secure token-based authentication with Confluence
- HTTPS Only: All API requests use encrypted connections
- Permission Inheritance: Server inherits your Confluence user permissions
- No Data Storage: Direct API passthrough, no local data retention
- Selective Editing Security: Automatic backup creation prevents data loss
🧪 Testing & Validation
Run Complete Test Suite
Health Checks
🔄 Migration from v1.x
100% Backward Compatible - all existing tools continue working unchanged.
What's New in v2.0:
- ✅ 3 Revolutionary Selective Editing Tools:
update_page_section
,replace_text_pattern
,update_table_cell
- ✅ XML-Aware Content Analysis: Deep understanding of Confluence storage format
- ✅ Structure Preservation: Maintains all formatting, macros, and layouts
- ✅ Backup & Rollback: Automatic content backup for safe editing
- ✅ Enhanced HTTP Servers: All servers now include selective editing capabilities
- ✅ 217 Comprehensive Tests: Extensive test coverage for all functionality
Upgrading from v1.x:
- No changes needed for existing configurations
- New tools automatically available in all deployments
- Enhanced capabilities without breaking changes
- Performance improvements with lazy loading architecture
🐛 Troubleshooting
v2.0 Selective Editing Issues
- Tool not found: Verify deployment includes updated server files
- Section not found: Check heading text and level parameters
- XML parsing errors: Selective editing includes fallback mechanisms
- Backup not created: Check page permissions and storage space
General Issues
- Authentication fails: Verify API token and Confluence URL
- Tools not showing: Ensure all 13 tools are registered (check tool count)
- Performance issues: Selective editing uses lazy loading for optimal performance
📦 Production Deployment
Cloud Platforms with v2.0
All cloud platforms now support the complete selective editing suite:
Smithery.ai (Recommended):
- Automatic configuration management
- All 13 tools available immediately
- Optimized for fast tool discovery
- Revolutionary selective editing ready
Railway/Heroku/AWS:
- Use updated
Dockerfile.smithery
for v2.0 capabilities - Set environment variables in platform configuration
- Health check endpoint shows tool count for verification
🎯 v2.0 Use Cases
Content Management Revolution
- Living Documentation: Update specific sections as projects evolve
- Version Management: Update version numbers across multiple pages instantly
- Status Dashboards: Update metrics without affecting layout or other data
- Collaborative Editing: Make targeted edits without disrupting team workflows
Enterprise Scenarios
- API Documentation: Update endpoints while preserving examples and troubleshooting
- Project Tracking: Update status reports while maintaining historical context
- Knowledge Base: Fix typos and update information while preserving formatting
- Compliance Documentation: Update policies while maintaining approval workflows
🤝 Development
v2.0 Architecture
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🚀 Experience the Future of Confluence AI Integration
Choose Your Adventure:
- 🎯 Precision Editing: Use selective editing tools for surgical modifications
- 📄 Complete Management: Use standard tools for full page operations
- 🌐 Universal Access: Deploy anywhere with HTTP transport
- 🖥️ Local Development: Use Claude Desktop for immediate access
Transform your Confluence workflow with revolutionary AI-assisted editing! 🎉
Ready to Get Started?
- Developers: Try selective editing in Claude Desktop
- Teams: Deploy on Smithery.ai for instant access
- Enterprise: Use Docker deployment for production environments
Welcome to the future of AI-assisted content management! ✨
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A universal, production-ready MCP server that provides AI assistants like Claude with direct access to Confluence Cloud functionality for creating, reading, updating, and managing content through multiple transport protocols.
- ✨ What Makes v2.0 Revolutionary
- 🚀 Revolutionary Selective Editing Tools
- 🌐 Universal Deployment Platform
- 🛠️ Complete Tool Suite
- 🚀 Quick Start
- 💬 Revolutionary AI Assistant Workflows
- 🔧 Advanced Configuration
- 🔒 Security & Authentication
- 🧪 Testing & Validation
- 🔄 Migration from v1.x
- 🐛 Troubleshooting
- 📦 Production Deployment
- 🎯 v2.0 Use Cases
- 🤝 Development
- 📄 License
- 🚀 Experience the Future of Confluence AI Integration
Related MCP Servers
- AsecurityFlicenseAqualityEnables AI assistants to interact with Confluence Cloud for managing spaces, pages, and content via the Model Context Protocol (MCP).Last updated -1113TypeScript
- -securityFlicense-qualityAn MCP server that enables AI agents to interact with Atlassian products (Confluence and Jira) for content management, issue tracking, and project management through a standardized interface.Last updated -2TypeScript
- AsecurityFlicenseAqualityAn MCP server implementation that enables AI assistants to interact with and manage Sakura Cloud infrastructure, including servers, disks, networks, and containerized applications.Last updated -462JavaScript
- AsecurityAlicenseAqualityAn MCP server implementation that allows AI assistants to access, search, and interact with Dev.to content, including fetching articles, retrieving user information, and publishing new content.Last updated -1053PythonMIT License