Add it to Claude Code
claude mcp add -e "CONFLUENCE_HOST_URL=${CONFLUENCE_HOST_URL}" -e "CONFLUENCE_USER_EMAIL=${CONFLUENCE_USER_EMAIL}" -e "CONFLUENCE_API_TOKEN=${CONFLUENCE_API_TOKEN}" confluence-mcp-df4c -- bunx -y @dsazz/mcp-confluence@latestCONFLUENCE_HOST_URLCONFLUENCE_USER_EMAILCONFLUENCE_API_TOKENMake your agent remember this setup
confluence-mcp-df4c's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Browse Confluence spaces and navigate page hierarchies
- Search content using text queries or advanced CQL
- Automatic conversion of Confluence storage format to readable markdown
- Full CRUD operations for managing Confluence pages
- Domain-based architecture for organized content discovery
Tools 1
confluence_searchSearch pages using text queries or advanced CQL (Confluence Query Language)Environment Variables
CONFLUENCE_HOST_URLrequiredThe base URL of your Atlassian Confluence instanceCONFLUENCE_USER_EMAILrequiredThe email address associated with your Atlassian accountCONFLUENCE_API_TOKENrequiredThe API token generated from your Atlassian security settingsTry it
Original README from Dsazz/mcp-confluence
🌐 Confluence MCP Server
<b>A powerful Model Context Protocol (MCP) server that brings Atlassian Confluence integration directly to any editor or application that supports MCP</b>
✨ Features
🚀 New in v0.3.0 - Optimized Architecture
- 9 Strategic MCP Tools - Optimized from 8 tools with enhanced workflow capabilities
- Domain-Based Architecture - Clean separation into 3 domains: Spaces, Pages, and Search
- Enhanced Navigation - New tools for space lookup, page hierarchy, and content discovery
- Improved Performance - 1871 tests passing with optimized build process
📚 **Access Confluence Directly From Your Editor**
- Browse your Confluence spaces without leaving your IDE
- Get detailed page information with formatted content
- Navigate page hierarchies with child page discovery
- Create, update, and manage Confluence content directly
🔍 **Powerful Search Capabilities**
- Search pages using text queries or advanced CQL (Confluence Query Language)
- Support for space filtering, content type filtering, and result ordering
- Rich markdown formatting with page previews and direct links
- Renamed
confluence_search_pagestoconfluence_searchfor simplicity
📝 **Smart Content Processing**
- Automatic conversion of Confluence's storage format to readable markdown
- Support for formatted text, tables, macros, and attachments
- Full CRUD operations for page management
- Strategic workflow tools for better user experience
🚀 Quick Start
Installation
The easiest way to use this MCP server is to install it directly via npm/bunx. No local setup required!
For Claude Desktop
Add this configuration to your Claude Desktop MCP settings:
{
"mcpServers": {
"Confluence Tools": {
"command": "bunx",
"args": ["-y", "@dsazz/mcp-confluence@latest"],
"env": {
"CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
"CONFLUENCE_USER_EMAIL": "[email protected]",
"CONFLUENCE_API_TOKEN": "your-confluence-api-token"
}
}
}
}
For Cursor IDE
Add this configuration to your Cursor IDE MCP settings:
{
"mcpServers": {
"Confluence Tools": {
"command": "bunx",
"args": ["-y", "@dsazz/mcp-confluence@latest"],
"env": {
"CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
"CONFLUENCE_USER_EMAIL": "[email protected]",
"CONFLUENCE_API_TOKEN": "your-confluence-api-token"
}
}
}
}
For Any MCP Client
Use this configuration pattern for any MCP-compatible client:
{
"mcpServers": {
"Confluence Tools": {
"command": "bunx",
"args": ["-y", "@dsazz/mcp-confluence@latest"],
"env": {
"CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
"CONFLUENCE_USER_EMAIL": "[email protected]",
"CONFLUENCE_API_TOKEN": "your-confluence-api-token"
}
}
}
}
🔑 Getting Your Confluence API Token
- Go to Atlassian API Tokens
- Click "Create API token"
- Give it a name (e.g., "MCP Confluence")
- Copy the token and use it in your configuration
- Important: Use the token exactly as provided (no quotes needed in the env section)
Alternative: Using npx instead of bunx
If you prefer npx over bunx, you can also use:
{
"mcpServers": {
"Confluence Tools": {
"command": "npx",
"args": ["-y", "@dsazz/mcp-confluence@latest"],
"env": {
"CONFLUENCE_HOST_URL": "https://your-domain.atlassian.net",
"CONFLUENCE_USER_EMAIL": "[email protected]",
"CONFLUENCE_API_TOKEN": "your-confluence-api-token"
}
}
}
}
Testing Your Setup
After adding the configuration:
- Restart your MCP client (Claude Desktop, Cursor, etc.)
- Try this command to test the connection:
Show me my Confluence spaces.
That's it! You're ready to use Confluence directly from your MCP client.
🛠️ Development Setup
<details> <summary>Click here if you want to develop or customize this MCP server</summary>Development Installation
For development or customization:
# Clone the repo