← Back to Confluence MCP Server
Install Confluence MCP Server
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add -e "CONFLUENCE_URL=${CONFLUENCE_URL}" confluence-mcp-d27a -- npx -y @smithery/cli@latest run @enjoyzl/mcp-server-confluence-ts --config "{\"confluenceUrl\":\"your-confluence-url\",\"confluenceUsername\":\"your-username\",\"confluencePassword\":\"your-password\"}"Required:
CONFLUENCE_URL+ 3 optionalEnvironment Variables
Set these before running Confluence MCP Server.
VariableDescriptionRequired
CONFLUENCE_URLThe base URL of your Confluence instanceYesCONFLUENCE_ACCESS_TOKENAccess token for authenticationNoCONFLUENCE_USERNAMEUsername for basic authenticationNoCONFLUENCE_PASSWORDPassword for basic authenticationNoAvailable Tools (8)
Once configured, Confluence MCP Server gives your AI agent access to:
getSpaceRetrieves information about a specific Confluence space.spaceKeygetPageByPrettyUrlRetrieves a page by its title within a specific space.spaceKeytitlemanagePagesUnified tool to create, update, delete, or retrieve page content.actionspaceKeytitlecontentparentIdrepresentationmanageCommentsUnified tool to create, update, delete, or reply to standard and inline comments.actionpageIdcommentIdcontentgetPageCommentsRetrieves all comments for a specific page with pagination support.pageIdgetCommentRetrieves details for a specific comment.commentIdsearchContentPerforms full-text search using CQL syntax.cqlsearchCommentsSearches within comment content, optionally scoped to a space.queryspaceKeyTry It Out
After setup, try these prompts with your AI agent:
→Search for all pages in the DEV space that mention 'API documentation' using CQL.
→Create a new page in the DEV space titled 'Project Roadmap' with the provided Markdown content.
→Get all comments for the page with ID 123456789 and summarize the feedback.
→Update the page 'API Development Guide' to include the latest changes from my local file.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
CONFLUENCE_URL— The base URL of your Confluence instance
Alternative installation methods
Local Node.js
node dist/index.jsKeep this setup from going cold
Save the docs, env vars, and workflow around Confluence MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.