confluence-data-center-mcp-server

phuc-nt/confluence-data-center-mcp-server

3.2

If you are the rightful owner of confluence-data-center-mcp-server 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.

Confluence Data Center MCP Server enables seamless integration of AI assistants with Atlassian Confluence Data Center using Personal Access Token authentication.

Tools
11
Resources
0
Prompts
0

Confluence Data Center MCP Server

AI meets Confluence Data Center - Connect AI assistants to your Confluence Data Center instance with production-ready tools and comprehensive page management capabilities

Tools Coverage License Status

šŸš€ What is this?

Confluence Data Center MCP Server enables AI assistants like Claude, Cline, Cursor, and other MCP-compatible tools to interact seamlessly with Atlassian Confluence Data Center using Personal Access Token authentication. Create, read, update, delete pages, manage comments, and search content - all through natural language conversations with your AI assistant.

✨ Features

šŸ› ļø 11 Production-Ready Tools:

Page Management (5 tools):

  • āœ… createPage - Create new pages with rich content and hierarchical organization
  • āœ… getPageContent - Retrieve page content and metadata with comprehensive expansion
  • āœ… updatePage - Update titles and content with version control and conflict resolution
  • āœ… deletePage - Remove pages safely with recoverable soft delete options
  • āœ… getSpaces - List and explore available spaces with permissions

Search & Discovery (2 tools):

  • āœ… searchPages - Universal search with CQL support and advanced filtering
  • āœ… getPageVersions - Access complete page version history for change tracking

Comment Management (4 tools):

  • āœ… getPageComments - Retrieve page comments and replies with threading support
  • āœ… addComment - Add comments with reply threading and content validation
  • āœ… updateComment - Edit existing comments with version control
  • āœ… deleteComment - Remove comments with cascading reply deletion

šŸŽÆ Key Capabilities:

  • āœ… Production Ready - 100% success rate across all 11 tools
  • āœ… Data Center Focused - Optimized for Confluence Data Center deployments
  • āœ… AI Client Validated - Tested with Claude Desktop, Cline, and Cursor
  • āœ… Comprehensive Coverage - Full page lifecycle and collaboration features
  • āœ… Version Control - Safe concurrent editing with conflict resolution
  • āœ… Search Integration - CQL-powered search with fallback strategies
  • āœ… Personal Access Token - Secure Bearer token authentication

šŸš€ Quick Start

šŸ“¦ Install from NPM (Recommended)

npm install -g confluence-dc-mcp-server

āš™ļø Quick Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "confluence-dc": {
      "disabled": false,
      "timeout": 60,
      "type": "stdio",
      "command": "node",
      "args": ["/opt/homebrew/bin/confluence-dc-mcp-server"],
      "env": {
        "CONFLUENCE_BASE_URL": "https://your-confluence-dc.company.com",
        "CONFLUENCE_PERSONAL_ACCESS_TOKEN": "your-personal-access-token"
      }
    }
  }
}

šŸ’” Find your installation path: Use which confluence-dc-mcp-server to locate the binary

šŸ“¦ Alternative: Install from Source

For development or customization:

git clone https://github.com/phuc-nt/confluence-dc-mcp-server.git
cd confluence-dc-mcp-server
npm install
npm run build
# Use: /path/to/confluence-dc-mcp-server/dist/index.js

šŸ’” Why node+args format? This format provides universal compatibility across all MCP clients and platforms, avoiding potential executable detection issues.

šŸ’” Configuration Guide: Follow the complete setup guide in

šŸ“Š Project Status

Overall Progress: āœ… All Sprints COMPLETED - Full collaboration platform ready
Tools Operational: 11/11 tools fully functional (100% complete)
AI Client Status: āœ… Production Ready - Validated with multiple clients
Success Rate: 100% functional, 100% MCP protocol compliant

Current Tool Distribution

CategoryToolsStatusSuccess Rate
Page Management5āœ… Complete100%
Search & Discovery2āœ… Complete100%
Comment Management4āœ… Complete100%

šŸ’” Usage Examples

Create Pages with Natural Language:

Human: Create a new page called "API Documentation" in the dev space with a simple structure

AI Assistant: I'll create that page for you using the createPage tool:
ā–” Space: dev
ā–” Title: "API Documentation" 
ā–” Creating page with basic structure...

āœ… Created page DEV-123: "API Documentation"
šŸ”— View at: https://your-confluence-dc.company.com/pages/123456

Version History & Content Comparison:

Human: Show me the version history of page 123456 and compare current content with version 3

AI Assistant: I'll get the version history and compare content for you:
ā–” Using getPageVersions to get complete history...
ā–” Found 8 versions from 2024-01-15 to 2024-08-27
ā–” Using getPageContent for current version and version 3...
ā–” Comparing content differences...

āœ… Version comparison complete:
šŸ“Š Version 8 (current): 1,245 characters, last edited by John Doe
šŸ“Š Version 3: 892 characters, edited 6 months ago by Jane Smith  
šŸ” Key changes: Added security section, updated API examples

Smart Content Search:

Human: Find all pages about user authentication from the last month

AI Assistant: I'll search for authentication-related content using searchPages:
ā–” Using CQL: "text~authentication AND created >= -30d"
ā–” Searching across all accessible spaces...

Found 8 relevant pages:
• AUTH-101: "User Authentication Flow" (updated 3 days ago)
• SEC-045: "OAuth Implementation Guide" (created last week)
• [Additional results with context and links...]

Comment Collaboration:

Human: Add a comment to page DEV-123 asking the team to review the security section

AI Assistant: I'll add your review request comment:
ā–” Target: DEV-123 "API Documentation"
ā–” Adding comment with review request...

āœ… Comment added successfully!
šŸ’¬ "Hi team, please review the security section for completeness and accuracy"
šŸ”— View page with new comment

Version Management:

Human: Check the version history of page DEV-123 and update it to version 5

AI Assistant: I'll check the version history first:
ā–” Using getPageVersions for DEV-123...
ā–” Current version: 4 (last updated 2 hours ago)
ā–” Ready to update to version 5...

Version History:
• v4: Updated by John Doe (2 hours ago) - "Added security examples"
• v3: Updated by Jane Smith (1 day ago) - "Initial API docs"

Ready to update - what changes would you like to make?

šŸ› ļø Architecture

API Integration

  • Confluence REST API v1 - Universal API for all operations with Data Center compatibility
  • Single Client Architecture - Optimized for Data Center deployments
  • CQL Search Support - Advanced query capabilities
  • Bearer Authentication - Personal Access Token secure access
  • SSL Certificate Support - Handles self-signed certificates for enterprise deployments

MCP Protocol Compliance

  • Tool-Only Architecture - Focused on action capabilities
  • Structured Responses - Consistent JSON output format
  • Error Handling - Comprehensive error reporting and recovery
  • Parameter Validation - Input safety and validation
  • Version Management - Optimistic locking for concurrent access

šŸ› ļø Tech Stack

  • TypeScript - Type-safe development with strict mode
  • Node.js - Runtime environment (16.x+)
  • MCP Protocol - Model Context Protocol for AI integration
  • Confluence APIs - Native Confluence Data Center REST API v1
  • Axios - HTTP client with interceptors and SSL handling

šŸ’¼ Production Use Cases

  • Documentation Management - Automated page creation and updates
  • Content Migration - Batch operations and content transfer
  • Team Collaboration - Comment management and review workflows
  • Search & Discovery - Intelligent content finding and organization
  • Version Control - Safe concurrent editing and change tracking
  • Enterprise Integration - Data Center deployment support with SSL handling

šŸ¤– AI Client Compatibility

Tested and validated with:

  • āœ… Claude Desktop - Full feature compatibility
  • āœ… Cline - Complete workflow integration
  • āœ… Cursor - Native MCP protocol support
  • āœ… Other MCP Clients - Standard MCP protocol compliance

šŸ¢ Data Center Features

  • Self-Hosted Support - Works with on-premise Confluence Data Center installations
  • SSL Certificate Handling - Support for self-signed certificates
  • Custom Base URLs - Flexible configuration for various deployment scenarios
  • Personal Access Token - Secure authentication method for Data Center
  • Enterprise Security - Designed for enterprise security requirements

šŸ“„ License

MIT License - see for details.


šŸŽ‰ Connect your AI assistant to Confluence Data Center with production-ready tools and comprehensive collaboration features!