Set up Confluence in Metorial for Claude, ChatGPT and Cursor
Share Confluence with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API token sign-in, 33 tools (17 read-only).
To give your team Confluence in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Confluence integration in a Metorial portal, and each person signs in to Confluence with their own account. Agents can create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. The integration has 33 tools, 17 read-only, 9 write and 7 destructive, plus 6 triggers.
What you'll learn
- How an admin shares Confluence in a portal and how each person connects
- The 43 OAuth scopes Confluence can request, and what each one allows
- How to keep the 17 read-only tools and reject the other 16
Before you start
- A portal with at least one access group
- An account with Confluence for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| OAuth 2.0 (Confluence Cloud) (default) | OAuth | Signs in to Confluence |
| API Token (Confluence Cloud) | API token | email, token and domain |
| Personal Access Token (Data Center) | API token | token and baseUrl |
The portal and metorial setup use OAuth 2.0 (Confluence Cloud) unless someone picks another method.
OAuth 2.0 (Confluence Cloud)
People sign in to Confluence and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
read:confluence-content.all | Read Content | Read all Confluence content including page and blog post bodies |
read:confluence-content.summary | Read Content Summary | Read Confluence content summaries |
write:confluence-content | Write Content | Create and update pages, blog posts, and comments |
write:confluence-space | Write Space | Create and manage Confluence spaces |
read:confluence-space.summary | Read Space Summary | Read Confluence space summaries |
write:confluence-file | Write File | Upload and manage file attachments |
read:confluence-props | Read Properties | Read content properties |
write:confluence-props | Write Properties | Create and update content properties |
search:confluence | Search | Search Confluence content using CQL |
read:confluence-content.permission | Read Content Permissions | View content permissions in Confluence |
read:confluence-user | Read User | Read user profile information |
read:confluence-groups | Read Groups | Read group information and membership |
write:confluence-groups | Write Groups | Create and manage groups |
manage:confluence-configuration | Manage Configuration | Manage global Confluence configuration settings |
readonly:content.attachment:confluence | Read Attachments | Download file attachments |
offline_access | Offline Access | Enable refresh tokens for long-lived access |
read:page:confluence | Read Pages (v2) | Read pages via the Confluence v2 API |
write:page:confluence | Write Pages (v2) | Create and update pages via the Confluence v2 API |
delete:page:confluence | Delete Pages (v2) | Delete pages via the Confluence v2 API |
read:blogpost:confluence | Read Blog Posts (v2) | Read blog posts via the Confluence v2 API |
write:blogpost:confluence | Write Blog Posts (v2) | Create and update blog posts via the Confluence v2 API |
delete:blogpost:confluence | Delete Blog Posts (v2) | Delete blog posts via the Confluence v2 API |
read:space:confluence | Read Spaces (v2) | Read spaces via the Confluence v2 API |
read:content:confluence | Read Content (v2) | Read content including blog posts via the Confluence v2 API |
write:content:confluence | Write Content (v2) | Create and update content via the Confluence v2 API |
delete:content:confluence | Delete Content (v2) | Delete content via the Confluence v2 API |
read:comment:confluence | Read Comments (v2) | Read comments via the Confluence v2 API |
write:comment:confluence | Write Comments (v2) | Create and delete comments via the Confluence v2 API |
delete:comment:confluence | Delete Comments (v2) | Delete comments via the Confluence v2 API |
read:attachment:confluence | Read Attachments (v2) | Read attachments via the Confluence v2 API |
write:attachment:confluence | Write Attachments (v2) | Upload and update attachments via the Confluence APIs |
delete:attachment:confluence | Delete Attachments (v2) | Delete attachments via the Confluence v2 API |
read:content-details:confluence | Read Content Metadata (v2) | Read content metadata via the Confluence v2 API |
read:hierarchical-content:confluence | Read Hierarchical Content (v2) | Read page children and other content tree relationships |
read:label:confluence | Read Labels (v2) | Read labels on Confluence content |
write:label:confluence | Write Labels (v2) | Add and remove labels on Confluence content |
read:content.property:confluence | Read Content Properties (v2) | Read content properties via the Confluence v2 API |
write:content.property:confluence | Write Content Properties (v2) | Create, update, and delete content properties via the Confluence v2 API |
read:content.restriction:confluence | Read Content Restrictions | Read content restrictions |
write:content.restriction:confluence | Write Content Restrictions | Create, update, and delete content restrictions |
read:content.permission:confluence | Read Content Permissions | Check content permissions via the Confluence API |
read:user:confluence | Read Users (v2) | Read user details via the Confluence API |
read:group:confluence | Read Groups (v2) | Read group details via the Confluence API |
API Token (Confluence Cloud)
To connect, a person enters these values:
email: Atlassian account email addresstoken: API token generated from https://id.atlassian.com/manage-profile/security/api-tokensdomain: Atlassian domain (e.g., "mycompany" for mycompany.atlassian.net)
Personal Access Token (Data Center)
To connect, a person enters these values:
token: Personal access token for Confluence Data CenterbaseUrl: Base URL of your Confluence Data Center instance (e.g., https://confluence.example.com)
Setup settings
Whichever method you pick, setup also asks for:
cloudId(optional): Confluence Cloud ID. Required for OAuth connections. Obtained from the accessible-resources endpoint after OAuth authorization.baseUrl(optional): Base URL for Confluence Data Center (e.g., https://confluence.example.com). Not needed for Confluence Cloud OAuth connections.
Use your own Confluence OAuth app
With your own OAuth app, people see your company's name on the Confluence consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Confluence and copy the Redirect URI.
Register the app with Confluence
On developer.atlassian.com, click your profile icon and select Developer console. Select Create, then OAuth 2.0 integration, name the app and choose the OAuth 2.0 (3LO) grant type. Select Authorization, click Configure next to OAuth 2.0 (3LO), paste the redirect URI from Metorial as the Callback URL, and click Save changes. Under Permissions, add the Confluence API and its scopes. Copy the client ID and secret from Settings. One Atlassian app can serve both Confluence and Jira if you add both APIs.
The Personal Access Token (Data Center) method is for Confluence Data Center, which this OAuth app does not cover.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Confluence integration.
Admin: share Confluence in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Confluence. Under Auth Method, keep OAuth 2.0 (Confluence Cloud) or pick another. For how members connect, choose Each person connects, so everyone signs in to Confluence as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Confluence.
Choose who gets it
Add the access groups that should see Confluence. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Confluence integration. Once it exists, check which groups have it:
Employee: connect Confluence
In the portal
Open Confluence in the catalog
Sign in to your portal and open Confluence. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Confluence sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses OAuth 2.0 (Confluence Cloud). To connect with API Token (Confluence Cloud) instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Confluence connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 17 read-only tools, such as get_page and get_space, and lose the 9 write tools, such as add_labels or add_comment, and the 7 destructive tools, such as delete_page or remove_label.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 33 tools, minus any you rejected. get_current_user takes no input. It retrieves the currently authenticated Confluence user's profile information.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (17)
get_current_user: Retrieve the currently authenticated Confluence user's profile information.get_page: Retrieve a Confluence page by its ID, with optional body content. NeedspageId.get_labels: Get all labels on a Confluence content item (page, blog post, or attachment). NeedscontentId.list_blog_posts: List Confluence blog posts, optionally filtered by space or title.search_content: Search Confluence content.get_page_properties: Retrieve all content properties (key-value metadata) for a Confluence page. NeedspageId.get_attachments: List file attachments on a Confluence page or blog post.get_comments: Retrieve footer comments on a Confluence page. NeedspageId.list_groups: List Confluence groups with pagination support.get_content_restrictions: Get read and update restrictions on a Confluence content item. NeedscontentId.get_space: Retrieve a single Confluence space by its ID. NeedsspaceId.get_content_versions: Retrieve the version history of a Confluence page or blog post. NeedscontentId.list_pages: List Confluence pages, optionally filtered by space, title, or status.list_spaces: List Confluence spaces with optional filtering by space key, type, or status.get_blog_post: Retrieve a single Confluence blog post by ID with optional body content. NeedsblogPostId.get_page_children: Retrieve the direct child pages of a Confluence page. NeedspageId.get_attachment: Retrieve a Confluence attachment by ID, including file metadata and its API download link when available. NeedsattachmentId.
Write tools (9)
update_page: Update an existing Confluence page's title, body, or status. NeedspageIdandversionNumber.create_blog_post: Create a new blog post in a Confluence space. NeedsspaceId,titleandbody.add_comment: Add a footer comment to a Confluence page or blog post. NeedscontentType,contentIdandbody.set_page_property: Create or update a content property (key-value metadata) on a Confluence page. NeedspageId,keyandvalue.add_labels: Add one or more labels to a Confluence content item (page, blog post, or attachment). NeedscontentIdandlabels.create_page: Create a new Confluence page in a specified space. NeedsspaceId,titleandbody.update_blog_post: Update an existing Confluence blog post's title, body, or status. NeedsblogPostIdandversionNumber.update_content_restrictions: Set read or update restrictions on a Confluence content item. NeedscontentIdandrestrictions.upload_attachment: Upload a file attachment to a Confluence page or blog post from base64-encoded content. NeedscontentId,fileNameandcontentBase64.
Destructive tools (7)
delete_blog_post: Delete a Confluence blog post by ID (moves to trash). NeedsblogPostId.delete_comment: Delete a footer comment by ID. NeedscommentId.delete_page_property: Delete a content property from a Confluence page. NeedspageIdandpropertyId.remove_content_restrictions: Remove all restrictions from a Confluence content item, making it accessible according to space-level permissions. NeedscontentId.remove_label: Remove a label from a Confluence content item. NeedscontentIdandlabel.delete_page: Delete a Confluence page by ID. NeedspageId.delete_attachment: Delete a Confluence attachment by ID. NeedsattachmentId.
Triggers
Confluence has 6 triggers, which fire on events in Confluence:
attachment_events: Triggered when attachments are created, updated, removed, trashed, restored, archived, unarchived, or viewed.space_events: Triggered when spaces are created, updated, removed, or when space permissions or logos change.comment_events: Triggered when comments are created or removed on Confluence pages and blog posts.page_events: Triggered when pages are created, updated, moved, copied, trashed, restored, removed, archived, unarchived, viewed, published, or when children are reordered.label_events: Triggered when labels are added to or removed from content, or when labels are created or deleted globally.blog_events: Triggered when blog posts are created, updated, moved, trashed, restored, removed, or viewed.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Confluence there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Confluence on metorial.com: the integration overview