Confluence MCP Server
The Confluence MCP Server provides tools for AI assistants to interact with Confluence Cloud and manage content programmatically:
Space Management: List spaces and get details about specific spaces
Page Operations: Create, read, update, and list pages within spaces
Content Conversion: Retrieve page content converted from Confluence storage format to Markdown for easier handling
Search Capabilities: Find pages by title or using CQL queries
Label Management: Get, add, and remove page labels
Integration: Works with MCP-compatible AI assistants for automated workflows
Provides tools for interacting with Confluence Cloud, enabling management of spaces, pages, and content through features like listing spaces, creating/reading/updating pages, converting Confluence storage format to Markdown, searching content using CQL, and managing page labels.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Confluence MCP Serverlist all pages in the Engineering space"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Confluence Cloud MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with Confluence Cloud. This server enables AI assistants to manage Confluence spaces, pages, and content through a standardized interface.
Features
Space Management
List spaces
Get space details
Page Operations
Create, read, update pages
List pages in a space
Convert page content from Confluence storage format to Markdown
Search & Labels
Search content using CQL
Manage page labels
Related MCP server: Confluence MCP Server
Setup
Option 1: Using Docker (Recommended)
The easiest way to use this server is with the pre-built Docker image:
docker run --rm -i \
-e CONFLUENCE_API_TOKEN=your-api-token \
-e CONFLUENCE_EMAIL=your-email@domain.com \
-e CONFLUENCE_DOMAIN=your-domain.atlassian.net \
ghcr.io/aaronsb/confluence-cloud-mcp:latestOption 2: Building Locally
Clone the repository:
git clone https://github.com/aaronsb/confluence-cloud-mcp.git
cd confluence-cloud-mcpBuild and run using the local build script:
# Build the Docker image
./scripts/build-local.sh
# Run the server
CONFLUENCE_API_TOKEN=your-token CONFLUENCE_EMAIL=your-email ./scripts/run-local.shOption 3: Using npx (Direct from GitHub)
Run directly from GitHub without installation:
# With inline environment variables
CONFLUENCE_DOMAIN=your-domain.atlassian.net \
CONFLUENCE_EMAIL=your-email@domain.com \
CONFLUENCE_API_TOKEN=your-api-token \
npx github:aaronsb/confluence-cloud-mcp
# Or with an environment file
npx github:aaronsb/confluence-cloud-mcp --env /path/to/.envCreate a .env file with your Confluence credentials:
CONFLUENCE_DOMAIN=your-domain.atlassian.net
CONFLUENCE_EMAIL=your-email@domain.com
CONFLUENCE_API_TOKEN=your-api-tokenOption 4: From Source
Install dependencies:
npm installConfigure environment variables: Create a
.envfile with your Confluence credentials:
CONFLUENCE_DOMAIN=your-domain.atlassian.net
CONFLUENCE_EMAIL=your-email@domain.com
CONFLUENCE_API_TOKEN=your-api-tokenBuild the project:
npm run buildRun the server:
node build/index.jsUsage
The server can be integrated with MCP-compatible AI assistants by adding it to their MCP configuration:
Using Claude Code CLI:
claude mcp add confluence-cloud npx -- github:aaronsb/confluence-cloud-mcp --env /path/to/.envUsing npx in MCP configuration:
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["github:aaronsb/confluence-cloud-mcp", "--env", "/path/to/.env"],
"disabled": false,
"autoApprove": []
}
}
}Using Docker:
{
"mcpServers": {
"confluence": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/aaronsb/confluence-cloud-mcp:latest"],
"env": {
"CONFLUENCE_DOMAIN": "your-domain.atlassian.net",
"CONFLUENCE_EMAIL": "your-email@domain.com",
"CONFLUENCE_API_TOKEN": "your-api-token"
},
"disabled": false,
"autoApprove": []
}
}
}Note for AI Assistants: If you're an AI assistant like Cline trying to install this MCP server, please refer to the llms-install.md file for detailed installation instructions.
Available Tools
Space Tools
list_confluence_spaces: List all spaces in Confluenceget_confluence_space: Get details about a specific space
Page Tools
list_confluence_pages: List pages in a spaceget_confluence_page: Get a specific page with its content (now includes Markdown conversion)create_confluence_page: Create a new page in a spaceupdate_confluence_page: Update an existing page
The get_confluence_page tool now automatically converts Confluence storage format content to Markdown, making it easier to work with page content. The conversion handles:
Headers (h1-h6)
Lists (ordered and unordered)
Links
Emphasis (bold/italic)
Code blocks
Tables
Paragraphs and line breaks
Search & Label Tools
search_confluence_pages: Search Confluence content using CQLget_confluence_labels: Get labels for a pageadd_confluence_label: Add a label to a pageremove_confluence_label: Remove a label from a page
Note: All tool names follow the [verb]confluence[noun] naming convention for consistency and clarity.
Development
This project is written in TypeScript and follows the MCP SDK conventions for implementing server capabilities. The codebase is organized into:
src/client/- Confluence API client implementationsrc/handlers/- MCP tool request handlerssrc/schemas/- JSON schemas for tool inputssrc/types/- TypeScript type definitionssrc/utils/- Utility functions including content format conversion
CI/CD Pipeline
This project uses GitHub Actions for continuous integration and deployment:
Automated testing and linting on pull requests
Automatic Docker image builds on main branch commits
Multi-architecture image builds (amd64, arm64)
Container publishing to GitHub Container Registry
Local Development
For local development, use the provided scripts:
./scripts/build-local.sh: Builds the project and creates a local Docker image./scripts/run-local.sh: Runs the local Docker image with your credentials
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceA 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 updated912MIT
- Alicense-qualityDmaintenanceEnables integration with Atlassian Confluence to browse spaces, search content using CQL, and manage pages directly from MCP-compatible applications. It automatically converts Confluence storage formats into markdown for seamless interaction with AI-driven editors and tools.Last updated1072MIT
- Alicense-qualityCmaintenanceEnables GitHub Copilot to read, write, search, and manage Confluence pages, spaces, attachments, and diagrams through MCP tools.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI assistants to read Confluence Cloud pages as markdown, browse page trees, download image attachments, and diff content against local documentation.Last updatedMIT
Related MCP Connectors
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Brivvy MCP (OAuth): on-brand AI content, voice rules, templates, glossary.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aaronsb/confluence-cloud-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server