
Atlassian Confluence Integration
Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP interface.
Installation
Installing for Claude Desktop
Option 1: One-Command Installation
npx mcpbar install aashari/mcp-server-atlassian-confluence -c claude
This command will automatically install and configure the Atlassian Confluence Integration MCP server for your selected client.
Option 2: Manual Configuration
View JSON configuration
{
"mcpServers": {
"Atlassian Confluence Integration": {
"command": "npx",
"args": [
"-y",
"@aashari/mcp-server-atlassian-confluence"
]
}
}
}
Copy and paste this configuration into your MCP client's configuration file to manually set up this server.
Common MCP clients
claude
- Claude Desktopcursor
- Cursor Code Editorcline
- Cline (VS Code)windsurf
- Windsurf Editorwitsy
- Witsy AI Assistant
Atlassian Confluence MCP Server
This project provides a Model Context Protocol (MCP) server that acts as a bridge between AI assistants (like Anthropic's Claude, Cursor AI, or other MCP-compatible clients) and your Atlassian Confluence instance. It allows AI to securely access and interact with your Confluence spaces and pages in real time.
Overview
What is MCP?
Model Context Protocol (MCP) is an open standard that allows AI systems to securely and contextually connect with external tools and data sources.
This server implements MCP specifically for Confluence Cloud, bridging your Confluence data with AI assistants.
Why Use This Server?
-
Minimal Input, Maximum Output Philosophy: Simple identifiers like
spaceKey
andpageId
are all you need. Each tool returns comprehensive details without requiring extra flags. -
Complete Knowledge Base Access: Provide your AI assistant with full visibility into your documentation, wikis, and knowledge base content in real time.
-
Rich Content Formatting: All page content is automatically converted from Atlassian Document Format to Markdown with proper headings, tables, lists, and other formatting elements.
-
Secure Local Authentication: Credentials are never stored in the server. The server runs locally, so your tokens never leave your machine and you can request only the permissions you need.
-
Intuitive Markdown Responses: All responses use well-structured Markdown for readability with consistent formatting and navigational links.
Getting Started
Prerequisites
- Node.js (>=18.x): Download
- Atlassian Account with access to Confluence Cloud
Step 1: Get Your Atlassian API Token
- Go to your Atlassian API token management page: https://id.atlassian.com/manage-profile/security/api-tokens
- Click Create API token.
- Give it a descriptive Label (e.g.,
mcp-confluence-access
). - Click Create.
- Copy the generated API token immediately. You won't be able to see it again.
Step 2: Configure Credentials
Method A: MCP Config File (Recommended)
Create or edit ~/.mcp/configs.json
:
{
"confluence": {
"environments": {
"ATLASSIAN_SITE_NAME": "<YOUR_SITE_NAME>",
"ATLASSIAN_USER_EMAIL": "<YOUR_ATLASSIAN_EMAIL>",
"ATLASSIAN_API_TOKEN": "<YOUR_COPIED_API_TOKEN>"
}
}
}
<YOUR_SITE_NAME>
: Your Confluence site name (e.g.,mycompany
formycompany.atlassian.net
).<YOUR_ATLASSIAN_EMAIL>
: Your Atlassian account email.<YOUR_COPIED_API_TOKEN>
: The API token from Step 1.
Note: For backward compatibility, the server will also recognize configurations under the full package name (@aashari/mcp-server-atlassian-confluence
), the unscoped package name (mcp-server-atlassian-confluence
), or the atlassian-confluence
format if the recommended confluence
key is not found. However, using the short confluence
key is preferred for new configurations.
Method B: Environment Variables
Pass credentials directly when running the server:
ATLASSIAN_SITE_NAME="<YOUR_SITE_NAME>" \
ATLASSIAN_USER_EMAIL="<YOUR_EMAIL>" \
ATLASSIAN_API_TOKEN="<YOUR_API_TOKEN>" \
npx -y @aashari/mcp-server-atlassian-confluence
Step 3: Connect Your AI Assistant
Configure your MCP-compatible client to launch this server.
Claude / Cursor Configuration:
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "@aashari/mcp-server-atlassian-confluence"]
}
}
}
This configuration launches the server automatically at runtime.
Tools
This section covers the MCP tools available when using this server with an AI assistant. Note that MCP tools use snake_case
for tool names and camelCase
for parameters.
conf_ls_spaces
List available Confluence spaces with optional filtering.
{}
or:
{ "type": "global", "status": "current" }
"Show me all Confluence spaces."
conf_get_space
Get full details for a specific space, including homepage information.
{ "spaceKey": "DEV" }
"Tell me about the DEV space in Confluence."
conf_ls_pages
List pages within one or more spaces with optional filtering.
{ "spaceId": ["123456"] }
or:
{ "status": ["current"], "query": "Project Plan" }
"Show me current pages in space 123456."
conf_get_page
Get full content and metadata for a specific page.
{ "pageId": "12345678" }
"Get the content of Confluence page 12345678."
conf_search
Search Confluence content using CQL (Confluence Query Language).
{ "cql": "text ~ 'project plan'" }
or:
{ "cql": "space = DEV AND label = api AND created >= '2023-01-01'" }
"Search Confluence for pages about project plans."
Command-Line Interface (CLI)
The CLI uses kebab-case for commands (e.g., ls-spaces
) and options (e.g., --space-key
).
Quick Use with npx
npx -y @aashari/mcp-server-atlassian-confluence ls-spaces --type global
npx -y @aashari/mcp-server-atlassian-confluence get-page --page-id 12345678
npx -y @aashari/mcp-server-atlassian-confluence ls-pages --space-id 98765
npx -y @aashari/mcp-server-atlassian-confluence search --cql "text ~ 'release notes'"
Install Globally
npm install -g @aashari/mcp-server-atlassian-confluence
Then run directly:
mcp-atlassian-confluence ls-spaces
mcp-atlassian-confluence get-page --page-id 12345678
Discover More CLI Options
Use --help
to see flags and usage for all available commands:
mcp-atlassian-confluence --help
Or get detailed help for a specific command:
mcp-atlassian-confluence ls-spaces --help
mcp-atlassian-confluence get-space --help
mcp-atlassian-confluence ls-pages --help
mcp-atlassian-confluence get-page --help
mcp-atlassian-confluence search --help
License
Stars
4Forks
6Last commit
8 hours agoRepository age
1 month
Auto-fetched from GitHub .
MCP servers similar to Atlassian Confluence Integration:

Stars
Forks
Last commit

Stars
Forks
Last commit

Stars
Forks
Last commit