
Your agent needs to read and write Confluence. You have two paths: the official Atlassian Rovo MCP server, which reached general availability in February 2026 with 12 Confluence-specific tools over OAuth 2.1 and API token auth, and the Confluence REST API v2, which covers the full surface with no license dependency and no admin-toggle required for headless access. They cover overlapping but not identical territory. The auth paths are different. The operational implications for a multi-tenant B2B agent are significant. Here is how to pick.
The Atlassian Rovo MCP Server is Atlassian's official, cloud-hosted Model Context Protocol server. It entered beta in May 2025 and reached general availability on February 4, 2026. It is built and maintained by Atlassian, hosted on Cloudflare infrastructure, and covers Jira, Confluence, Compass, Bitbucket Cloud, and Jira Service Management in a single endpoint.
The MCP server endpoint is https://mcp.atlassian.com/v1/mcp. The older /sse path is deprecated and unsupported after June 30, 2026. Authentication supports OAuth 2.1 as the primary path and API token auth as a secondary option, which must be enabled by an organization admin.
Confluence-specific tools ship across three permission groups: read_confluence, write_confluence, and search_confluence.
Resource: Official Atlassian docs & GitHub
The Confluence Cloud REST API v2 is versioned, cursor-paginated, and covers the full data model: pages, blog posts, spaces, attachments, labels, comments, restrictions, versions, content properties, and more. Authentication accepts OAuth 2.0 (3LO), API tokens via Basic Auth, and JWT for Forge apps.
The v1 REST API remains accessible but is in the process of deprecation. New agent integrations should target v2.
Official docs: developer.atlassian.com/cloud/confluence/rest/v2
From the official Atlassian supported tools documentation, the following Confluence tools are available on the Rovo MCP server. These are grouped by permission set, which org admins grant or revoke at the group level.
read_confluence (7 tools, available via OAuth 2.1 and API token):
write_confluence (4 tools, available via OAuth 2.1 and API token):
search_confluence (1 tool, available via OAuth 2.1 and API token):
Two beta platform tools (searchAtlassian, fetchAtlassian) provide Rovo-powered natural language search across Jira and Confluence combined. These are in beta and are billed separately in the future.
The Rovo MCP server covers the retrieval and authoring surface well for most knowledge agent workflows. The gaps become significant when an agent needs to process anything beyond page content, or react to changes.
The gap matters most for agents doing anything beyond read-and-create workflows. A documentation agent that needs to read all on-call runbooks, check which have attachments, apply labels to outdated pages, and delete obsolete content cannot do this on the MCP path alone. Each of those last three operations requires the REST API. An agent that needs to react to Confluence events, such as a page being created or updated, needs webhooks, which are REST-only for Cloud.
Blog posts are a separate content type in Confluence. The MCP server tools handle pages and live docs; they do not expose create, read, update, or delete operations for blog posts. If your agent is writing weekly team updates or incident postmortems as blog posts, not pages, the REST API is the only path.
The Rovo MCP server uses OAuth 2.1 as its primary auth mechanism. When a user connects an MCP client to the server, they complete a browser-based consent flow that grants the client scoped access to their Atlassian data. Tokens are managed by the client.
API token auth was added in March 2026 as a secondary option for headless and machine-to-machine use cases. Two credential types are supported: personal API tokens via Authorization: Basic <base64(email:api_token)> and service account API keys via Authorization: Bearer <api_key>.
The constraint that matters for production agents: API token auth is off by default. An org admin must explicitly enable it in Atlassian Administration under Rovo, then Rovo MCP server settings. If your agent targets multiple customer orgs, that means enabling API token auth in each one. You cannot assume it is on.
The Confluence REST API accepts OAuth 2.0 (3LO) for user-context calls, API tokens via Basic Auth, and JWT for Forge app context. No org-level toggle is required. A background agent using an API token can connect immediately without requiring any admin action in the target Confluence org.
For multi-tenant B2B agents, this distinction is concrete. An agent running nightly documentation audits across 30 customer Confluence orgs needs each org's admin to enable API token auth on the MCP server before the MCP path is usable. The REST API path has no such dependency.
Atlassian manages the server, tool schemas, and infrastructure. The operational benefit is real: you do not deploy, patch, or version a server.
What you still own: token storage per user, refresh handling, revocation when users disconnect, and adaptation when Atlassian updates tool schemas. Tool schemas on the MCP server are not versioned by your client; when Atlassian updates the server, your agent picks up the changes. For interactive development tools this is often desirable. For deterministic scheduled pipelines, it can be a source of unexpected behavior.
One notable constraint for enterprise deployments: org admins control which MCP client domains are allowed to connect when OAuth 2.1 is used. Your agent's domain must be on the Atlassian-supported domain list or a custom allowlist. API token auth bypasses domain controls but is subject to IP allowlists.
You own the full stack: endpoint selection, request construction, cursor-based pagination (v2 uses cursors, not offsets), error handling, retry logic, token lifecycle, and version management.
The Confluence REST API v2 does not publish exact rate limit numbers, but enforces per-user request limits on Cloud. Agents running high-volume operations, such as bulk label updates or full-space content audits, need explicit pagination handling and backoff logic.
The API is versioned; breaking changes follow Atlassian's deprecation process, and you control when to migrate. The v1 API remains available but should not be used for new development.
Use the Atlassian Rovo MCP server when:
Use the Confluence REST API directly when:
Both the MCP server and the REST API give you a credential per user. The MCP OAuth flow gives you an OAuth 2.1 token scoped to that user's Atlassian account. The REST API gives you an OAuth 2.0 token or API key. In neither case does the path itself handle what happens after the credential is issued.
Storage: credentials need to live somewhere outside agent runtime, encrypted at rest, isolated per tenant. Rotation: OAuth tokens expire and must be refreshed proactively; waiting for a 401 in a background agent creates race conditions across threads. Revocation: when a user leaves a customer org or disconnects their Atlassian account, you need a way to surface and invalidate that credential without affecting any other tenant.
In a multi-tenant B2B product serving 25 engineering teams, each with their own Confluence workspace, that is 25 credentials, each with its own expiry, each requiring independent revocation handling. The MCP path and the REST API path both produce this problem. The token type differs; the infrastructure required is the same.
Scalekit's Confluence connector handles the OAuth flow, token storage, automatic refresh, and revocation for both paths, so the MCP vs. API decision does not change your credential infrastructure.
Scalekit ships two connectors relevant to this choice.
The Confluence connector targets the REST API directly. It exposes tools including confluence_search, confluence_page_get, confluence_page_create, confluence_page_update, confluence_spaces_list, and confluence_comments_list, with per-user token isolation and a 90-day audit trail.
The Atlassian Rovo MCP connector connects through the official Atlassian Rovo MCP server. It exposes Rovo-powered search, page retrieval, page creation, and natural language knowledge queries against your Atlassian workspace, with the same vaulted credential model.
For both connectors, what the user cannot do in Confluence, the agent cannot do. Scope is derived from the user's Atlassian permissions at authorization time.
This uses the Scalekit Node.js SDK with the Confluence connector. listScopedTools returns only the tools the current user's connected account is authorized to call. Tool surface is reduced before the agent loop begins.
This wires the Scalekit Confluence tools directly into the Anthropic messages API. The tool loop continues until the model stops calling tools.
This is the Python equivalent using the Scalekit Python SDK and the Anthropic Python client.
For interactive agents where the user is present and the Rovo MCP server is the right choice, Scalekit's Atlassian Rovo MCP connector provides a user-scoped token that gates access to the MCP endpoint. No raw Atlassian OAuth credentials touch your agent code.
For Claude Code and Cursor, you can also wire the Scalekit Confluence connector as a Virtual MCP server:
A shared Confluence integration token looks correct in a demo. In production, every page edit and space write is attributed to a service account, not the user who triggered the agent. Space permission scoping breaks. Page ownership is wrong. The audit trail shows a bot, not a person.
Scalekit resolves the actual authorized user's credential on every tool call. Every action in Confluence is attributed to the user who authorized it. Every call is logged with the user identity, the tool called, and the result: 90 days of history, SIEM-exportable.
For teams building agents that act across more than one customer's Confluence workspace, each customer's credentials live in an isolated vault namespace. Cross-tenant credential access is blocked at the infrastructure layer, not enforced in your prompt.
If Scalekit does not yet have the specific Confluence capability your agent needs, you can request a new tool or connector from the Scalekit team: Join the Scalekit Slack community or talk to the team directly.
If your agent is interactive, user-present, and focused on page search, retrieval, and creation, the Atlassian Rovo MCP server is a legitimate path. Atlassian owns the server maintenance, OAuth is handled at connection time, and Rovo's semantic search gives the agent a meaningful advantage over raw CQL queries for knowledge retrieval tasks.
If your agent runs headless, touches attachments or blog posts or labels, depends on per-page restriction checks, or needs to react to Confluence events, build against the REST API directly. The 12 tools on the MCP surface do not cover these capabilities, and they are not on a roadmap that is visible or versioned from your agent's perspective.
Most production Confluence agents end up on both paths. The interactive assistant runs on MCP. The background documentation auditor, the stale-page reporter, the attachment processor — these run on the REST API. Either way, the credential management problem is structurally identical, and that is what needs production-grade infrastructure before your agent ships.
Next steps: