Provides programmatic access to Atlassian's Confluence platform for managing spaces, pages, and documentation content via API token-based authentication.
Enables management of Confluence spaces and pages, including retrieval of content, execution of CQL (Confluence Query Language) searches, and space navigation.
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 Serversearch for the project roadmap in the TEAM 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 MCP Server
A FastMCP-based server that provides seamless integration with Confluence's REST API, enabling programmatic access to Confluence spaces, pages, and content search functionality.
Key Features
Space Management: List and filter Confluence spaces
Page Operations: Retrieve and manage page content
Search Functionality: Execute CQL (Confluence Query Language) searches
Space Navigation: List all pages within specific spaces
Authentication: Secure API token-based access
System Requirements
Python 3.8+
pip (Python package manager)
Active Confluence instance with API access
Valid Confluence API token
Installation
Installing via Smithery
To install confluence-mcp-server for Claude Desktop automatically via Smithery:
Manual Installation
Clone the Repository
git clone https://github.com/MahithChigurupati/Confluence-MCP-Server.git cd Confluence-MCP-ServerSet Up Virtual Environment (Recommended)
python -m venv venv source venv/bin/activate # On macOS/Linux # or .\venv\Scripts\activate # On WindowsInstall Dependencies
pip install -r requirements.txt
Configuration
Create Environment File
cp .env.example .envConfigure Environment Variables
CONFLUENCE_BASE_URL=https://your-instance.atlassian.net/wiki/rest/api USERNAME=your.email@company.com API_TOKEN=your-api-token-hereObtain Confluence API Token
Visit Atlassian API Tokens
Click "Create API Token"
Enter a meaningful label (e.g., "MCP Server Access")
Copy the generated token immediately (it won't be shown again)
Usage Guide
Starting the Server
Available API Methods
1. List Spaces
2. Get Page Content
3. Search Content
4. List Pages in Space
Integration with MCP Clients
Claude Desktop Configuration
Location: ~/.claude/claude_desktop_config.json (macOS/Linux) or %USERPROFILE%\.claude\config.json (Windows)
Cursor Configuration
use which python to find python path
use pwd inside cloned repository to get the path. Don't forget to add confluence.py in the end.
Location: ~/.cursor/mcp.json (macOS/Linux) or %USERPROFILE%\.cursor\config.json (Windows)
Error Handling
Common error codes and their meanings:
401: Invalid API token or credentials403: Insufficient permissions404: Resource not found429: Rate limit exceeded
Troubleshooting
Connection Issues
Verify CONFLUENCE_BASE_URL format
Check network connectivity
Confirm API token validity
Authentication Errors
Ensure USERNAME matches Atlassian account email
Verify API_TOKEN is correctly copied
Check for special characters in .env file
Permission Errors
Confirm user has required Confluence permissions
Verify space and page access rights
Support
For issues and feature requests, please create an issue in the repository's issue tracker.
License
MIT License. See LICENSE file for full terms.