TypeScript-based MCP server offering tools to search, read and update Confluence pages via CQL and REST.
https://github.com/KS-GEN-AI/confluence-mcp-serverStop switching between Claude and Confluence. This MCP server puts your entire Confluence workspace directly into your AI conversation, letting you search, read, and update documentation without ever leaving your chat interface.
You're deep in a Claude conversation about system architecture, and you need to reference that API documentation buried somewhere in Confluence. So you pause, open a browser tab, navigate to Confluence, search through multiple spaces, find the page, copy the relevant sections, switch back to Claude, and paste. Your flow is broken, your context is scattered, and you've just spent 3 minutes on what should take 3 seconds.
With this MCP server running, your Confluence workspace becomes part of Claude's working memory. Need that API spec? Ask Claude to find it. Want to update deployment instructions based on your conversation? Claude handles it directly. Your documentation and your AI workflow finally work as one seamless process.
CQL-Powered Search: Run precise Confluence Query Language searches directly through Claude. Find pages by title, content, space, labels, or creation date - all with the full power of CQL syntax.
Direct Content Access: Fetch complete page content, including formatting and structure. No more manual copying and pasting of documentation snippets.
Live Updates: Modify Confluence pages directly from your Claude conversation. Update deployment guides, API documentation, or troubleshooting steps based on your discussion.
API Documentation Updates: You're discussing a new endpoint design with Claude. Instead of manually updating multiple Confluence pages, Claude can search for related API docs and update them with the new specifications in real-time.
You: "Update our user authentication API docs to include the new OAuth2 flow we just designed"
Claude: [Searches Confluence for auth API pages, retrieves current content, updates with new OAuth2 details]
Troubleshooting Knowledge Capture: Mid-debugging session, you solve a tricky production issue. Claude can immediately update your runbook pages with the new troubleshooting steps.
Architecture Review Prep: Need to gather all documentation related to a specific microservice? Claude can search across multiple Confluence spaces and compile everything into a comprehensive overview.
Unlike generic Confluence API wrappers, this MCP server is built specifically for AI workflows. It handles Confluence's quirky REST API responses, manages authentication seamlessly, and structures data in formats that Claude can immediately work with.
The CQL integration means you can run complex searches like:
space = "DevOps" AND type = "page" AND label = "production"creator = currentUser() AND created >= "2024-01-01"ancestor = "API Documentation" AND text ~ "authentication"Install via Smithery:
npx -y @smithery/cli install @KS-GEN-AI/confluence-mcp-server --client claude
Configure with your Confluence instance:
{
"mcpServers": {
"confluence": {
"command": "node",
"args": ["/path/to/build/index.js"],
"env": {
"CONFLUENCE_URL": "https://yourcompany.atlassian.net/wiki",
"CONFLUENCE_API_MAIL": "[email protected]",
"CONFLUENCE_API_KEY": "your-api-token"
}
}
}
}
Generate your API token at id.atlassian.com/manage-profile/security/api-tokens and you're ready to go.
Documentation maintenance is one of those tasks that everyone knows is important but nobody wants to interrupt their flow to handle. This server removes that friction entirely. Your documentation becomes a living part of your development conversation rather than a separate chore you'll "get to later."
The result? Documentation that actually stays current, troubleshooting knowledge that gets captured in real-time, and architecture discussions that immediately update your official docs. Your team's collective knowledge stays in sync with your actual work instead of becoming stale the moment after you write it.
Ready to stop treating documentation as a context switch? Your Confluence workspace is waiting to become part of your AI toolkit.