Transform how you access and interact with your team's knowledge by connecting Claude, Cursor AI, and other AI assistants directly to your Confluence spaces, pages, and documentation. Get instant answers from your knowledge base, search across all your spaces, and streamline your documentation workflow.
β
Ask AI about your documentation: "What's our API authentication process?"
β
Search across all spaces: "Find all pages about security best practices"
β
Get instant answers: "Show me the latest release notes from the Product space"
β
Access team knowledge: "What are our HR policies for remote work?"
β
Review page comments: "Show me the discussion on the architecture document"
β
Find specific content: "Search for pages with 'onboarding' in the title"
- Developers who need quick access to technical documentation and API guides
- Product Managers searching for requirements, specs, and project updates
- HR Teams accessing policy documents and employee resources quickly
- Support Teams finding troubleshooting guides and knowledge base articles
- Anyone who wants to interact with Confluence using natural language
Get up and running in 2 minutes:
Generate a Confluence API Token:
- Go to Atlassian API Tokens
- Click Create API token
- Give it a name like "AI Assistant"
- Copy the generated token immediately (you won't see it again!)
# Set your credentials
export ATLASSIAN_SITE_NAME="your-company" # for your-company.atlassian.net
export ATLASSIAN_USER_EMAIL="[email protected]"
export ATLASSIAN_API_TOKEN="your_copied_token"
# List your Confluence spaces
npx -y @aashari/mcp-server-atlassian-confluence ls-spaces
# Get details about a specific space
npx -y @aashari/mcp-server-atlassian-confluence get-space --space-key DEV
# Search for pages
npx -y @aashari/mcp-server-atlassian-confluence search --query "API documentation"
Add this to your Claude configuration file (~/.claude/claude_desktop_config.json
):
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "@aashari/mcp-server-atlassian-confluence"],
"env": {
"ATLASSIAN_SITE_NAME": "your-company",
"ATLASSIAN_USER_EMAIL": "[email protected]",
"ATLASSIAN_API_TOKEN": "your_api_token"
}
}
}
}
Restart Claude Desktop, and you'll see "π confluence" in the status bar.
Most AI assistants support MCP. Install the server globally:
npm install -g @aashari/mcp-server-atlassian-confluence
Then configure your AI assistant to use the MCP server with STDIO transport.
Create ~/.mcp/configs.json
for system-wide configuration:
{
"confluence": {
"environments": {
"ATLASSIAN_SITE_NAME": "your-company",
"ATLASSIAN_USER_EMAIL": "[email protected]",
"ATLASSIAN_API_TOKEN": "your_api_token"
}
}
}
Alternative config keys: The system also accepts "atlassian-confluence"
, "@aashari/mcp-server-atlassian-confluence"
, or "mcp-server-atlassian-confluence"
instead of "confluence"
.
Ask your AI assistant:
- "List all the spaces in our Confluence"
- "Show me details about the Engineering space"
- "What pages are in our Product space?"
- "Find the latest pages in the Marketing space"
Ask your AI assistant:
- "Search for pages about API authentication"
- "Find all documentation with 'security' in the title"
- "Show me pages labeled with 'getting-started'"
- "Search for content in the DEV space about deployment"
Ask your AI assistant:
- "Get the content of the API Authentication Guide page"
- "Show me the onboarding checklist document"
- "What's in our security policies page?"
- "Display the latest release notes"
Ask your AI assistant:
- "Show me comments on the architecture design document"
- "What feedback was left on the new feature proposal?"
- "Display discussion on the API changes page"
Ask your AI assistant:
- "Find all pages created by John in the last month"
- "Show me archived pages in the Product space"
- "Search for pages with both 'API' and 'tutorial' labels"
- "Find documentation updated in the last week"
-
Check your API Token permissions:
- Go to Atlassian API Tokens
- Make sure your token is still active and has the right permissions
-
Verify your site name:
# Test your credentials work npx -y @aashari/mcp-server-atlassian-confluence ls-spaces
-
Check your site name format:
- If your Confluence URL is
https://mycompany.atlassian.net
- Your site name should be just
mycompany
- If your Confluence URL is
-
Check space key spelling:
# List your spaces to see the correct keys npx -y @aashari/mcp-server-atlassian-confluence ls-spaces
-
Verify access permissions:
- Make sure you have access to the space in your browser
- Some spaces may be restricted to certain users
-
Try broader search terms:
- Use single keywords instead of full phrases
- Try different variations of your search terms
-
Check space permissions:
- You can only search content you have permission to view
- Ask your admin if you should have access to specific spaces
- Restart Claude Desktop after updating the config file
- Check the status bar for the "π confluence" indicator
- Verify config file location:
- macOS:
~/.claude/claude_desktop_config.json
- Windows:
%APPDATA%\\Claude\\claude_desktop_config.json
- macOS:
If you're still having issues:
- Run a simple test command to verify everything works
- Check the GitHub Issues for similar problems
- Create a new issue with your error message and setup details
Your Atlassian account needs:
- Read access to the Confluence spaces you want to search
- API token with appropriate permissions (automatically granted when you create one)
Currently, this tool only supports Confluence Cloud. Confluence Server support may be added in future versions.
Your site name is the first part of your Confluence URL:
- URL:
https://mycompany.atlassian.net
β Site name:mycompany
- URL:
https://acme-corp.atlassian.net
β Site name:acme-corp
Any AI assistant that supports the Model Context Protocol (MCP):
- Claude Desktop (most popular)
- Cursor AI
- Continue.dev
- Many others
Yes! This tool:
- Runs entirely on your local machine
- Uses your own Confluence credentials
- Never sends your data to third parties
- Only accesses what you give it permission to access
Yes! When you don't specify a space, searches will look across all spaces you have access to.
Need help? Here's how to get assistance:
- Check the troubleshooting section above - most common issues are covered there
- Visit our GitHub repository for documentation and examples: github.com/aashari/mcp-server-atlassian-confluence
- Report issues at GitHub Issues
- Start a discussion for feature requests or general questions
Made with β€οΈ for teams who want to bring AI into their knowledge management workflow.