The Confluence MCP Server provides secure, AI-driven access to Atlassian Confluence through its REST API, enabling comprehensive content and space management operations:
Content Management
Search for content using text queries, titles, or space keys with customizable limits and formats
Retrieve, create, update, and move Confluence pages
Get child pages of a specific parent page
Space Management
List all accessible Confluence spaces with pagination
Retrieve detailed space information by ID or key
Get all pages within a specific space
Security & Integration
Secure access using Atlassian API tokens
Respect Confluence permissions and configurable space restrictions
Designed for integration with AI tools via Model Context Protocol
Provides secure access to Atlassian Confluence through its REST API, enabling search across spaces, retrieving, creating, updating, and deleting pages, listing spaces, and getting content from specific spaces.
Confluence MCP Server
A Model Context Protocol (MCP) server that provides secure access to Atlassian Confluence through its REST API.
Using with Claude Code
To use this MCP server with Claude Code, add it to your MCP configuration file:
Option 1: Using claude mcp add-json (recommended)
The easiest way to add this server is using the claude mcp add-json
command:
When prompted, paste the following JSON configuration:
Option 2: Manual configuration
Alternatively, you can manually edit your MCP configuration file (~/.config/claude-code/mcp_servers_config.json
):
Option 3: Using tsx for development
For development or if you prefer running TypeScript directly:
Configuration Notes
- Replace the environment variables with your actual Confluence credentials
- The
ALLOWED_SPACES
should be a comma-separated list of space keys you want to allow access to - Restart Claude Code after updating the configuration
- Make sure you have built the project first with
npm run build
if using Option 1
Once configured, you can use commands like:
- "Search for API documentation in Confluence"
- "Create a new page in the DEV space"
- "Show me all pages in the PROJ space"
Quick Start
- Install dependencies:
- Configure environment:
- Build and run:Or for development:
Configuration
Create a .env
file with your Confluence credentials:
Getting an API Token
- Go to Atlassian Account Settings
- Click "Create API token"
- Give it a descriptive label
- Copy the generated token (save it securely!)
Available Tools
- search_confluence - Search content across allowed spaces
- get_page - Retrieve a specific page by ID
- create_page - Create a new page
- update_page - Update an existing page
- delete_page - Delete a page
- list_spaces - List accessible spaces
- get_space_content - Get pages from a specific space
Security Features
- API Token Authentication - Secure access using Atlassian API tokens
- Space Restrictions - Configurable allowed spaces list
- Permission Validation - Respects Confluence permissions
- Request Validation - Input validation and sanitization
Development
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A Model Context Protocol server that provides secure access to Atlassian Confluence, allowing users to search, create, update, and manage Confluence pages and spaces through natural language commands.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI assistants like Claude to access and search Atlassian Confluence content, allowing integration with your organization's knowledge base.Last updated -728724
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.Last updated -98MIT License
- -securityAlicense-qualityModel Context Protocol server for integrating with Atlassian products (Confluence and Jira) that supports both Atlassian Cloud and Server/Data Center deployments.Last updated -1MIT License
- -securityFlicense-qualityA Model Context Protocol server for accessing Confluence API using Personal Access Tokens, enabling users to retrieve space lists, view pages, create new pages, and update existing content.Last updated -1