My company uses Cloud Jira, but has a locally hosted Confluence. I have successfully connected to Jira through the mcp connection using Claude Code, but iI get 404s for all the Confluence pages because it is expecting Cloud Confluence. How can I set up Claude Code to access both?
Error 404 occurs because the connection ("Claude Code") is expecting Cloud Confluence and cannot find the pages on your local instance.
The solution boils down to three main steps:
Accessibility and Networking:
Ensure your local Confluence is publicly accessible via URL and that the necessary ports are open in your firewall.
Often, a secure tunnel or reverse proxy is needed to connect the Cloud environment to your local server.
Base URL Configuration:
It is crucial to configure "Claude Code" or the integration layer to use the correct public Base URL of your local Confluence (and not the Cloud Confluence URL).
Authentication:
Verify that the connection is using the appropriate authentication method for the Confluence Server/Data Center (such as Personal Access Tokens - PATs or user credentials) to prevent login failures from masquerading as a 404 error.
Alternative recommendation: If "Claude Code" is too difficult to configure, consider using standard Application Links or third-party applications from the Atlassian Marketplace specifically designed to connect Cloud (Jira) and Server/Data Center (Confluence) instances.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.