Confluence MCP Server (v1.3.0) is a Model Context Protocol server enabling AI agents to search, read, create, update, and upload attachments to Atlassian Confluence (Cloud, Server, Data Center). It provides 15+ tools including CQL search, page sections, anchor-based updates, and preview-confirm two-phase modification to reduce token usage and prevent conflicts. Unique features include section-level updates, Anchor macro support, and automatic version increment. Cloud uses Basic auth, Server supports Bearer or Basic. Requires Node 18+ and a Confluence instance.
npm install confluence-mcp-serverVerified import paths — ran on the pinned version, not inferred.
Initialize and start the Confluence MCP server with environment variables for authentication.
Upgrade Node.js to 18 or later.
Use preview-confirm pattern: confluence_preview_page_section_update followed by confluence_update_page_section_confirmed.
Set CONF_USERNAME to your email and CONF_TOKEN to your Confluence API token.
Configure CONF_AUTH_MODE=basic if using username/password for Confluence Server.
Use preview step to avoid unnecessary writes; batch updates when possible.
Set CONF_MODE to 'cloud' or 'server' in your MCP client config or environment.
Use import confluenceMCP from 'confluence-mcp-server' and call confluenceMCP({...}).start()Use confluence_upload_attachment with local file path or base64; the MCP server handles encoding.
No dependency data recorded yet.