Skip to main content

Confluence MCP Tools Reference

This reference documents all 23 Confluence MCP tools available through the Bike4Mind Atlassian integration, organized by category.

Pages (7 tools)

ToolDescriptionKey Parameters
confluence_get_pageRetrieve a page by ID or search by title within a spacepageId, title, spaceKey, includeContent
confluence_create_pageCreate a new page in a space with optional parent and labelsspaceId, title, content, parentId, labels[]
confluence_update_pageUpdate page title and/or content (creates a new version)pageId, currentTitle, newTitle, content
confluence_delete_pagePermanently delete a pagepageId
confluence_searchSearch content using CQL (Confluence Query Language)query, spaceKey, limit
confluence_list_pagesList pages in a space or across all spacesspaceId, usePersonalSpace, limit
confluence_get_page_childrenRetrieve child pages for a given pagepageId, limit
Destructive Action

confluence_delete_page permanently removes a page and all its content, comments, and attachments. This cannot be undone.

Spaces (3 tools)

ToolDescriptionKey Parameters
confluence_list_spacesList available Confluence spaceslimit, type, expand
confluence_get_spaceFetch space details by keyspaceKey, expand
confluence_get_current_userGet authenticated user profile and personal space

Comments (6 tools)

ToolDescriptionKey Parameters
confluence_create_commentCreate a page-level or inline commentpageId, content, inlineOriginalSelection
confluence_reply_to_commentReply to an existing comment (threaded discussion)pageId, parentCommentId, content
confluence_list_commentsList comments on a page with threaded repliespageId, limit, start
confluence_get_commentGet details of a specific commentcommentId
confluence_update_commentUpdate an existing comment (own comments only)commentId, content
confluence_delete_commentPermanently delete a comment (own comments only)commentId
Inline Comments

Use the inlineOriginalSelection parameter in confluence_create_comment to create inline comments that annotate specific text on a page.

Restrictions (3 tools)

ToolDescriptionKey Parameters
confluence_get_page_restrictionsGet current view/edit restrictions on a pagepageId
confluence_add_page_restrictionAdd view or edit restrictions for users/groups (supports bulk)pageId, operation, restrictionType, subject or restrictions[]
confluence_remove_page_restrictionRemove restrictions from a page (supports bulk)pageId, operation, restrictionType, subject or restrictions[]

Restriction operations:

OperationDescription
readControls who can view the page
updateControls who can edit the page

Restriction types:

TypeDescription
userRestrict to specific user
groupRestrict to a group

Attachments (4 tools)

ToolDescriptionKey Parameters
confluence_list_attachmentsList all attachments on a pagepageId, limit
confluence_upload_attachmentUpload a file to a page (supports Slack files, auto-embeds images)pageId, filename, content, slackFileUrl, mimeType, comment
confluence_download_attachmentDownload an attachment by ID (returns base64-encoded content)attachmentId
confluence_delete_attachmentDelete an attachment from a pageattachmentId, filename
Image Auto-Embedding

When uploading image files, they are automatically embedded in the page content. Other file types are added as downloadable attachments.

CQL Quick Reference

CQL (Confluence Query Language) is used with confluence_search.

Basic Syntax

field operator value [AND/OR field operator value]

Common Queries

QueryDescription
text ~ "deployment guide"Full-text search across all content
space = "ENG" AND type = pagePages in a specific space
label = "architecture"Content with a specific label
creator = currentUser()Content you created
lastModified >= "2024-01-01"Recently modified content
ancestor = 12345Pages under a specific parent page
title = "API Documentation"Exact title match
title ~ "API"Title contains "API"
space = "ENG" AND label in ("api", "docs")Multiple label filter
type = page AND lastModified >= now("-7d")Pages modified in the last 7 days

Operators

OperatorUsageExample
=Exact matchspace = "ENG"
!=Not equaltype != "comment"
~Contains (text search)text ~ "authentication"
inIn listlabel in ("api", "docs")
not inNot in listspace not in ("ARCHIVE")
>=, <=Date/number comparisonlastModified >= "2024-01-01"

Fields

FieldDescriptionExample
textFull-text search (title + body)text ~ "webhook"
titlePage titletitle = "Meeting Notes"
spaceSpace keyspace = "ENG"
typeContent type (page, blogpost, comment)type = page
labelContent labelslabel = "architecture"
creatorContent creatorcreator = currentUser()
lastModifiedLast modification datelastModified >= now("-30d")
createdCreation datecreated >= "2024-01-01"
ancestorParent page ID (includes all descendants)ancestor = 12345
parentDirect parent page IDparent = 12345

Functions

FunctionDescription
currentUser()The authenticated user
now()Current date/time
now("-7d")Relative date (7 days ago)

Permissions Required

All Confluence tools require the Atlassian OAuth connection with these scopes:

ScopeTools That Require It
read:confluence-content.allAll read/list/search/get tools
write:confluence-contentAll create/update/delete tools
manage:confluence-configurationRestriction management tools

Rate Limits

API TypeLimitNotes
REST APIVaries by endpointTypically 100-500 requests/minute
Search (CQL)Rate limited separatelyComplex queries may take longer
Attachment uploadsSubject to size limitsConfluence site configuration applies

Error Handling

ErrorCauseRecovery
401 UnauthorizedToken expired or revokedReconnect Atlassian in Profile → Integrations
403 ForbiddenNo access to space or pageVerify your Confluence permissions
404 Not FoundPage, space, or comment doesn't existCheck the page ID or space key
400 Bad RequestInvalid CQL, malformed contentCheck error details for specifics
409 ConflictPage version conflictRetry — will use latest version automatically
429 Too Many RequestsRate limit exceededWait for the retry-after period