Confluence MCP Setup: Connect OAuth and Protect Page Writes
Use Atlassian’s official remote v2 MCP server at https://mcp.atlassian.com/v2/mcp, authorize only the intended Confluence site, then verify search and page reads within one space. Before any create or update action runs, inspect its target, content, parent, and structural effect so page writes remain deliberate.

Use Atlassian’s official remote v2 MCP server at https://mcp.atlassian.com/v2/mcp, authorize only the intended Confluence site, then verify search and page reads within one space. Before any create or update action runs, inspect its target, content, parent, and structural effect so page writes remain deliberate.
Table of contents
- Which Confluence MCP path should you use?
- How do you connect the Atlassian v2 endpoint?
- How do you select the correct site and space?
- How do you verify search and page reads?
- How do you protect page creation, updates, and structure?
- How do you fix site, domain, permission, and stale-client failures?
- FAQ
Which Confluence MCP path should you use?
Use Atlassian’s official remote v2 server, authorize the intended site with OAuth 2.1, validate reads in one space, and require confirmation before page writes. Confluence uses the same official endpoint as Jira: https://mcp.atlassian.com/v2/mcp.
This path keeps access aligned with the user who authorizes it. Actions respect that user’s existing Confluence permissions, so the connection does not create a separate permission model. The Atlassian MCP Server documentation describes the remote server and its current connection model.
The v2 server discovers tools on demand. You do not need to make every tool available at the beginning of a session unless your gateway requires the entire paginated tool list up front. In that case, tools=all is the intended option.
For a practical starting point, use MCPtrove’s Atlassian Rovo MCP Server directory entry to orient yourself to the server before configuring a client.
How do you connect the Atlassian v2 endpoint?
Connect by adding a remote MCP server in your client and entering https://mcp.atlassian.com/v2/mcp, then complete the Atlassian OAuth 2.1 authorization flow. After authorization, return to the client and confirm that the Confluence connection is available before testing reads.
Use OAuth 2.1 when the client or gateway offers it. The Atlassian OAuth 2.1 settings explain the relevant configuration model, while Atlassian’s Confluence OAuth documentation covers Confluence authorization concepts.
During authorization:
- Sign in with the Atlassian account that should perform the work.
- Select only the intended site when site choices are shown.
- Approve the requested access.
- Return to the MCP client and begin with a read-only validation.
Do not treat a successful OAuth callback as proof that the correct site or space is selected. Authentication establishes identity; the following checks establish destination and usable access.
If the client’s consent flow is unfamiliar, use MCPtrove’s MCP OAuth explainer to separate app registration, user authorization, and the permissions applied to later tool calls.

How do you select the correct site and space?
Select the Atlassian site that contains the target Confluence space, then keep the first search and page read inside that known space. If several sites are available, choose by the intended destination rather than by the first site listed.
Use this sequence:
- Identify the site where the target space already exists.
- During OAuth, authorize that site and no unrelated site.
- Choose one known space by its name or key.
- Use a page that you already expect to find in that space for validation.
- Keep early tests within that same site-space combination.
A connection can be valid while pointing to the wrong site. Likewise, a site can be correct while the selected space is outside the user’s effective permissions. Atlassian states that MCP actions follow existing Confluence permissions, so a missing space or page may indicate an access boundary rather than a client failure. See Atlassian’s MCP security and access guidance before changing authorization.
How do you verify search and page reads?
Verify one targeted search and one page read in the intended space before attempting any create or update action. Confirm that the returned page belongs to the selected site and space and contains the expected content.
A useful read-only check is:
- Search for a distinctive phrase from a known page in the target space.
- Confirm that the result identifies the expected page.
- Read that page.
- Check its title, space, and visible content.
- Stop if the result is empty, unrelated, or unexpectedly broad.
This separates destination problems from write problems. The MCP architecture guide explains the client-server relationship that makes these tool calls possible, while Atlassian’s server documentation describes on-demand tool discovery.
If search succeeds but the page read fails, check the page’s permissions and the authorizing user. If the page read succeeds but results appear from another space, return to site and space selection before continuing.
How do you protect page creation, updates, and structure?
Protect page writes by treating every create or update as a pending action that requires inspection before execution. Check the destination, parent, title, body, and expected structural effect before confirming the write.
Use this review checklist:
- Is the target site the one authorized for this task?
- Is the target space correct?
- Is the page title correct?
- Is the parent or destination location correct?
- Does the proposed content preserve the existing page structure?
- Is the action creating a new page or changing an existing one?
- Is the requested change limited to the intended content?
A successful page read does not automatically justify a write. Keep discovery and validation broad enough to identify the right page, but keep the final write narrowly scoped. If the client displays a confirmation step, read the proposed action before accepting it.
This approach follows the consent and authorization principles in the MCP security best practices. For a client-specific workflow, Claude on MCPtrove can be the next practical reference point.
How do you fix site, domain, permission, and stale-client failures?
Fix failures by identifying whether the problem is site selection, organization policy, user permission, OAuth state, or a stale tool list. Correct the specific boundary involved and repeat the smallest read-only check before attempting a write.
| Symptom | Likely cause | Safe next action |
|---|---|---|
| The expected site is missing | OAuth authorized another site or site selection is restricted | Recheck the authorized site and reconnect if necessary |
| The domain is rejected | An organization policy restricts allowed AI-tool domains | Ask an organization admin to inspect the allowed-domain policy |
| A space or page cannot be read | The user lacks access, or the wrong site or space is selected | Confirm the authorizing user’s existing Confluence permissions and destination |
| Tools appear incomplete or stale | The client has not refreshed on-demand discovery | Reconnect or refresh the MCP session; use tools=all only when the gateway requires the full paginated list |
| OAuth repeatedly fails | OAuth 2.1 settings or authorization state is incorrect | Check the Atlassian OAuth configuration and authorize again |
Organization administrators can control allowed AI-tool domains, API-token authentication, and IP allowlists. These controls can explain failures that appear after a client is configured correctly; do not bypass them or weaken permission checks. The Config Doctor is a practical next step when the remaining issue is client configuration.