Confluence Cloud

v0.6.0
io.github.aaronsb/confluence-cloud Checked 10 hours ago Published 2 months ago

MCP server for Confluence Cloud — page editing, navigation, and content management

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

manage_confluence_page

Get, create, update, delete, move, copy, archive, or pull pages for editing. Read and add comments. Manage labels and content properties. Create returns a scratchpad for composing content before publishing. Use pull_for_editing to load existing page content into a scratchpad. Archive/unarchive pages or entire page trees.

ParameterTypeDescription
operation *stringThe operation to perform
bodystringComment text as markdown (for add_comment). Rendered through the same directive parser as page content.
expandarrayAdditional data to include in the response
labelstringLabel to remove (for remove_label operation)
labelsarrayLabels to add (for add_labels operation)
pageIdstringPage ID (required for get, update, delete, move, copy, get_versions, pull_for_editing, get_comments, add_comment, archive, archive_tree, unarchive)
parentCommentIdstringComment ID to reply to (optional for add_comment). Ids come from get_comments; replies to inline comments land on that inline thread.
parentIdstringParent page ID (optional for create, required for move, optional for copy)
propertyKeystringContent property key (for get_property, set_property, delete_property)
propertyValueobjectContent property value as JSON object (for set_property)
spaceIdstringSpace ID (required for create, usable for list_archived)
spaceKeystringSpace key (for list_archived)
titlestringPage title (required for create, optional for update)

edit_confluence_content

Line-addressed content editing within a scratchpad buffer. View, insert, replace, or remove lines, then submit to Confluence. Requires a scratchpadId from create or pull_for_editing.

ParameterTypeDescription
operation *stringThe editing operation to perform
afterLinenumberLine number to insert after (0 = prepend). For insert_lines.
contentstringText content (newlines create multiple lines). For insert_lines, append_lines, replace_lines.
endLinenumberEnd of line range (1-based, inclusive). For view, replace_lines, remove_lines.
messagestringVersion message for submit operation
scratchpadIdstringScratchpad ID from create or pull_for_editing (required for all ops except list)
startLinenumberStart of line range (1-based). For view, replace_lines, remove_lines.

manage_confluence_space

List spaces, get space details, or manage space configuration.

ParameterTypeDescription
operation *stringThe operation to perform
cursorstringPagination cursor
limitnumberResults per page (default 25, max 250)
namestringSpace name (required for create)
spaceIdstringSpace ID (required for get, update, get_permissions)
spaceKeystringSpace key (required for create)

search_confluence

Search Confluence using CQL (Confluence Query Language), full-text search, or filter by labels/contributors.

ParameterTypeDescription
operation *stringSearch operation type
contributorstringUser ID or email (for by_contributor)
cqlstringCQL query string (for cql operation)
cursorstringPagination cursor
labelsarrayLabels to filter by (for by_label)
limitnumberResults per page (default 25, max 100)
querystringSearch text (for fulltext operation)
spaceKeystringLimit search to a specific space

manage_confluence_media

Upload, download, list, view, or delete page attachments and media. Use view to display images inline.

ParameterTypeDescription
operation *stringThe media operation to perform
attachmentIdstringAttachment ID (required for download, delete, get_info)
contentstringBase64-encoded file content for upload (or use workspaceFile instead)
filenamestringFilename for upload
mediaTypestringMIME type for upload (e.g., image/png)
pageIdstringPage ID (required for upload, list)
workspaceFilestringRead file from workspace instead of base64 content (alternative to content for upload)

navigate_confluence

Navigate page hierarchy, discover links, backlinks, and related pages. Returns tree views and relationship graphs.

ParameterTypeDescription
operation *stringNavigation operation
pageId *stringPage ID to navigate from (required)
depthnumberTree depth (for tree operation, default 2, max 5)
expandarrayAdditional data to include per page
maxNodesnumberMaximum nodes to return (for tree, default 50)

queue_confluence_operations

Batch multiple Confluence operations in a single call. Supports result references ($0.pageId) and per-operation error strategies.

ParameterTypeDescription
operations *arrayArray of operations to execute sequentially (1-16)

manage_workspace

Stage files in the local workspace for attachment operations. List, read, write, delete files, or create directories. Supports nested paths (e.g. "projects/images/photo.png"). Downloaded attachments land here; upload can read from here. All responses include the absolute filesystem path.

ParameterTypeDescription
operation *stringThe workspace operation to perform
contentstringBase64-encoded file content (required for write)
destinationstringDestination path for move operation — works like unix mv: rename a file (move filename:"old.txt" destination:"new.txt"), relocate it (move filename:"file.txt" destination:"subdir/file.txt"), or both…
filenamestringFile or directory path, supports nesting with / separators (required for read, write, delete, mkdir, move)