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 - Selective Editing
Confluence MCP Server v2.0 introduces selective editing capabilities for AI assistants.
A MCP (Model Context Protocol) server that enables AI assistants to interact with Confluence. Beyond basic page management, v2.0 introduces targeted editing that allows AI to make specific modifications while preserving existing content, formatting, and macros.
✨ What's New in v2.0
🎯 Targeted Editing Capabilities
v2.0 enables selective modifications instead of full page replacement:
- 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 Operations
- Confluence Storage Format Support: Understands and preserves Confluence's XML structure
- Macro Safety: Avoids breaking macros, layouts, or custom elements during edits
- Content Analysis: Identifies safe editing locations and content boundaries
- Rollback Capability: Automatic backup creation for safe editing operations
🛠️ 14 Tools Available
Standard Tools (10): Complete page, space, attachment, and comment management 🆕 Selective Editing Tools (4): Targeted editing capabilities
🚀 Selective Editing Tools
1. update_page_section
- Section Replacement
Updates specific sections under headings without affecting surrounding content.
Example: Update project status without touching meeting notes
Features:
- 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
- Find & Replace with Structure Preservation
Replaces text patterns throughout pages while preserving document structure.
Example: Update product version across documentation
Features:
- Content detection distinguishes text from XML markup
- Case sensitivity and whole-word matching options
- Replacement limits for controlled changes
- Preserves macros, links, and formatting elements
3. update_table_cell
- Table Cell 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)
- Targeted modification - only specified cell is changed
4. add_section_at_end
- Section Addition
Adds new content sections at the end of pages while preserving existing structure.
Example: Append new meeting notes without affecting existing content
Features:
- Automatic heading level detection and assignment
- Document structure preservation during insertion
- Safe positioning at document end without content disruption
- Maintains all macros, layouts, and formatting in existing content
🌐 Universal Deployment Platform
🚀 Deployment Options
Platform | Transport | Status | Tools Available |
---|---|---|---|
Claude Desktop | stdio | ✅ All 14 Tools | Local development, personal use |
Smithery.ai | HTTP | ✅ All 14 Tools | Cloud deployment, team sharing |
Docker | HTTP/stdio | ✅ All 14 Tools | Containerized deployment |
Web Clients | HTTP | ✅ All 14 Tools | Browser-based AI tools |
Cloud Platforms | HTTP | ✅ All 14 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" |
🎯 Selective Editing Tools (4)
Tool | Description | Key Capability |
---|---|---|
update_page_section | Section replacement | Updates specific headings without touching other sections |
replace_text_pattern | Pattern replacement with structure preservation | Replaces text while preserving macros and formatting |
update_table_cell | Table cell editing | Modifies individual cells without affecting table structure |
add_section_at_end | Section addition | Adds new sections at the end of pages while preserving structure |
🚀 Quick Start
📚 New to Selective Editing?
👉 Complete Step-by-Step Tutorial - Learn 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 14 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 14 tools including selective editing
💬 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: ```
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.
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
- -securityAlicense-qualityThe MCP server provides access to Clever Cloud's documentation, allowing users to query and interact with it through Model Context Protocol clients like Claude Desktop.Last updated -TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -179PythonMIT License
- -securityFlicense-qualityAn MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.Last updated -7Python