Atlassian Confluence MCP by usefulapi

v1.1.0
io.usefulapi/confluence Checked 6 hours ago Published 2 days ago

Search and read spaces, pages and comments; create and update pages, add comments in Confluence.

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

confluence_get_current_user Get current user

Return the signed-in Confluence user (accountId, displayName, email when visible). Confluence: GET /wiki/rest/api/user/current.

confluence_list_spaces List spaces

List the spaces the signed-in user can see. Filter by space keys, type (global, collaboration, knowledge_base, personal) or status (current, archived, trashed). Confluence: GET /spaces.

ParameterTypeDescription
cursorstringcursor from the previous page's _links.next.
keysarraySpace keys, for example ["ENG","OPS"].
limitintegerResults per page (1-250).
statusstringSpace status. Default: current.
typestringSpace type. Default: all types.

confluence_get_space Get space

Return one space by id (key, name, type, status, homepage id). Confluence: GET /spaces/{id}.

ParameterTypeDescription
spaceId *stringSpace id (numeric), from confluence_list_spaces.

confluence_list_pages List pages

List pages, optionally in one space, with a title match and a status (current, archived, deleted, trashed). Confluence: GET /pages.

ParameterTypeDescription
cursorstringcursor from the previous page's _links.next.
limitintegerResults per page (1-250).
spaceIdstringOnly pages in this space id.
statusstringPage status. Default: current.
titlestringOnly pages with exactly this title.

confluence_get_page Get page

Return one page: title, space, status, version number and, when bodyFormat is set, the body. Confluence: GET /pages/{id}.

ParameterTypeDescription
pageId *stringPage id (numeric), from confluence_list_pages or confluence_search_content.
bodyFormatstringBody representation to return. Default: none (no body).
versionintegerA past version number to read. Default: the current version.

confluence_get_page_versions List page versions

List the saved versions of one page (number, author, time, message). Confluence: GET /pages/{id}/versions.

ParameterTypeDescription
pageId *stringPage id (numeric), from confluence_list_pages or confluence_search_content.
bodyFormatstringBody representation to return. Default: none (no body).
cursorstringcursor from the previous page's _links.next.
limitintegerResults per page (1-250).

confluence_list_page_comments List page comments

List the footer comments on one page. Confluence: GET /pages/{id}/footer-comments.

ParameterTypeDescription
pageId *stringPage id (numeric), from confluence_list_pages or confluence_search_content.
bodyFormatstringBody representation to return. Default: none (no body).
cursorstringcursor from the previous page's _links.next.
limitintegerResults per page (1-250).

confluence_list_page_inline_comments List inline comments

List the inline comments (anchored to text) on one page. Confluence: GET /pages/{id}/inline-comments.

ParameterTypeDescription
pageId *stringPage id (numeric), from confluence_list_pages or confluence_search_content.
bodyFormatstringBody representation to return. Default: none (no body).
cursorstringcursor from the previous page's _links.next.
limitintegerResults per page (1-250).

confluence_list_page_attachments List page attachments

List the attachments of one page (file name, media type, size, download link). Confluence: GET /pages/{id}/attachments.

ParameterTypeDescription
pageId *stringPage id (numeric), from confluence_list_pages or confluence_search_content.
cursorstringcursor from the previous page's _links.next.
filenamestringOnly attachments with this file name.
limitintegerResults per page (1-250).
mediaTypestringOnly attachments with this media type, for example application/pdf.

confluence_search_content Search content

Search pages, blog posts and comments with CQL (for example "space = ENG AND type = page AND text ~ 'release'"). Returns results and paging links. Confluence: GET /wiki/rest/api/search.

ParameterTypeDescription
cql *stringCQL query, for example "type = page AND title ~ 'roadmap'".
limitintegerResults per page (1-100).
startintegerIndex of the first result (default 0).

confluence_create_page Create page

Create a page in a space, optionally under a parent page. bodyStorage is the storage-format HTML body. Status current publishes it; draft keeps it private. Confluence: POST /pages.

ParameterTypeDescription
bodyStorage *stringPage or comment body in Confluence storage format, for example "<p>Hello</p>".
spaceId *stringSpace id (numeric), from confluence_list_spaces.
title *stringPage title.
parentIdstringParent page id. Default: the space homepage.
statusstringcurrent (default) publishes the page; draft keeps it unpublished.

confluence_update_page Update page

Change a page's title and/or body. Reads the current version, then saves version+1 with the given changes and an optional version message. Other fields stay as they are. Confluence: GET /pages/{id}, then PUT /pages/{id}.

ParameterTypeDescription
pageId *stringPage id (numeric), from confluence_list_pages or confluence_search_content.
bodyStoragestringNew body in storage format. Default: keep the current body.
titlestringNew title. Default: keep the current title.
versionMessagestringShort note saved with the new version.

confluence_add_comment Add comment

Add a footer comment to a page, or a reply when parentCommentId is set (then pageId is not sent). bodyStorage is the storage-format body. Confluence: POST /footer-comments.

ParameterTypeDescription
bodyStorage *stringPage or comment body in Confluence storage format, for example "<p>Hello</p>".
pageIdstringPage id for a top-level comment. Leave empty for a reply.
parentCommentIdstringParent comment id, for a reply.