confluence_add_anchor_block_to_sectionInsert invisible start/end anchor macros around a heading-based section so later updates can target a stable block instead of relying on heading matching.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"heading": {
"type": "string",
"description": "Heading text used to locate the section"
},
"startAnchor": {
"type": "string",
"description": "Start anchor name to insert before the section"
},
"endAnchor": {
"type": "string",
"description": "End anchor name to insert after the section"
},
"occurrence": {
"type": "integer",
"minimum": 1,
"description": "When the same heading appears multiple times, choose which occurrence (default 1)"
},
"matchMode": {
"type": "string",
"enum": [
"exact",
"contains"
],
"description": "Heading match mode: exact or contains (default exact)"
},
"title": {
"type": "string",
"description": "New page title (keeps current title if omitted)"
},
"minorEdit": {
"type": "boolean",
"description": "Whether this is a minor edit (default true)"
},
"message": {
"type": "string",
"description": "Version update message / change comment"
}
},
"required": [
"pageId",
"heading",
"startAnchor",
"endAnchor"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_commit_pending_page_updateCommit one staged page update to Confluence by draftId after re-reading and hash-checking the current content.Input schema{
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft ID returned by a stage tool"
},
"minorEdit": {
"type": "boolean",
"description": "Whether this is a minor edit (default true)"
},
"message": {
"type": "string",
"description": "Version update message / change comment"
}
},
"required": [
"draftId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_configure_connectionConfigure the Confluence connection for this MCP server process. Use this when CONF_* env vars were not set or when switching to another Confluence site.Input schema{
"type": "object",
"properties": {
"baseUrl": {
"type": "string",
"minLength": 1,
"description": "Confluence base URL, for example https://confluence.example.com. Required for first configuration; omitted values inherit the current connection."
},
"mode": {
"type": "string",
"enum": [
"cloud",
"server",
"dc",
"datacenter",
"data-center"
],
"description": "Deployment mode (default server). dc/datacenter map to server."
},
"authMode": {
"type": "string",
"enum": [
"auto",
"basic",
"bearer"
],
"description": "Authentication mode (default auto). Cloud always uses Basic."
},
"username": {
"type": "string",
"description": "Login username or Cloud email address."
},
"token": {
"type": "string",
"description": "Access token. Cloud treats this as an API token; Server auto mode treats it as Bearer."
},
"password": {
"type": "string",
"description": "Password. Server auto/basic mode uses this with username."
},
"defaultSpace": {
"type": "string",
"description": "Default Confluence space key used when a tool omits spaceKey."
},
"verify": {
"type": "boolean",
"description": "Verify credentials by calling whoami after configuring (default true)."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_create_pageCreate a Confluence page. Supports optional parentId. Returns unified fields.Input schema{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Page title"
},
"bodyStorageValue": {
"type": "string",
"description": "Page body in Confluence storage format (XHTML)"
},
"spaceKey": {
"type": "string",
"description": "Confluence space key (uses CONF_DEFAULT_SPACE if omitted)"
},
"parentId": {
"type": "string",
"description": "Optional parent page ID (ancestor)"
}
},
"required": [
"title",
"bodyStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_discard_pending_page_updateDiscard one staged page update by draftId without writing it to Confluence.Input schema{
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft ID returned by a stage tool"
}
},
"required": [
"draftId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_execute_cql_searchExecute raw Confluence CQL search. Returns unified fields: id, type, title, spaceKey, url, version.Input schema{
"type": "object",
"properties": {
"cql": {
"type": "string",
"description": "Raw Confluence CQL expression"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Max results to return (default 10, max 50)"
},
"expand": {
"type": "string",
"description": "Comma-separated expand fields (default: space,version)"
}
},
"required": [
"cql"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_get_connection_statusGet the current Confluence connection status without returning secrets.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | | — |
confluence_get_current_userGet current authenticated Confluence user (whoami).Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | | — |
confluence_get_pageGet a Confluence page by ID. Returns unified fields and bodyStorageValue.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"expand": {
"type": "string",
"description": "Comma-separated expand fields (default: body.storage,version,space)"
}
},
"required": [
"pageId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_get_page_anchor_blockGet a page block between two invisible anchor macros. Returns only the matched block to save tokens.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"startAnchor": {
"type": "string",
"description": "Start anchor name"
},
"endAnchor": {
"type": "string",
"description": "End anchor name"
}
},
"required": [
"pageId",
"startAnchor",
"endAnchor"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_get_page_outlineGet a page outline by parsing headings from body.storage. Returns unified fields plus headings[] for low-token navigation.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
}
},
"required": [
"pageId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_get_page_sectionGet a single page section by heading. The server fetches full storage internally but only returns the matched section to save tokens.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"heading": {
"type": "string",
"description": "Heading text used to locate the target section"
},
"occurrence": {
"type": "integer",
"minimum": 1,
"description": "When the same heading appears multiple times, choose which occurrence (default 1)"
},
"includeHeading": {
"type": "boolean",
"description": "Include the heading tag in the returned section (default true)"
},
"matchMode": {
"type": "string",
"enum": [
"exact",
"contains"
],
"description": "Heading match mode: exact or contains (default exact)"
}
},
"required": [
"pageId",
"heading"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_get_pending_page_updateGet one staged page update by draftId. The draft has not been written to Confluence.Input schema{
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft ID returned by a stage tool"
}
},
"required": [
"draftId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_list_pending_page_updatesList staged page updates kept in MCP server memory. These drafts have not been written to Confluence.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Only list pending updates for this Confluence page ID"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_preview_page_anchor_block_updatePreview an anchor-based block update. Returns the current block, the proposed replacement, and a hash that must be echoed to the confirmed update call.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"startAnchor": {
"type": "string",
"description": "Start anchor name"
},
"endAnchor": {
"type": "string",
"description": "End anchor name"
},
"blockStorageValue": {
"type": "string",
"description": "Proposed replacement storage XHTML between the two anchors"
}
},
"required": [
"pageId",
"startAnchor",
"endAnchor",
"blockStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_preview_page_section_updatePreview a heading-based section update. Returns the currently matched section, the proposed replacement, and a hash that must be echoed to the confirmed update call.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"heading": {
"type": "string",
"description": "Heading text used to locate the target section"
},
"sectionStorageValue": {
"type": "string",
"description": "Proposed replacement storage XHTML for the target section"
},
"occurrence": {
"type": "integer",
"minimum": 1,
"description": "When the same heading appears multiple times, choose which occurrence (default 1)"
},
"includeHeading": {
"type": "boolean",
"description": "Include the heading tag in the previewed replace range (default true)"
},
"matchMode": {
"type": "string",
"enum": [
"exact",
"contains"
],
"description": "Heading match mode: exact or contains (default exact)"
}
},
"required": [
"pageId",
"heading",
"sectionStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_search_pagesSearch Confluence pages by keyword. Returns unified fields: id, type, title, spaceKey, url, version.Input schema{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keywords (optional, empty string means only space/type filter)"
},
"spaceKey": {
"type": "string",
"description": "Confluence space key (uses CONF_DEFAULT_SPACE if omitted)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Max results to return (default 10, max 25)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_stage_page_anchor_block_updateStage an anchor-based block update in MCP server memory without writing to Confluence. Returns a draftId plus old/new/diff content for review.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"startAnchor": {
"type": "string",
"description": "Start anchor name"
},
"endAnchor": {
"type": "string",
"description": "End anchor name"
},
"blockStorageValue": {
"type": "string",
"description": "Proposed replacement storage XHTML between the two anchors"
},
"title": {
"type": "string",
"description": "Proposed new page title (keeps current title if omitted)"
}
},
"required": [
"pageId",
"startAnchor",
"endAnchor",
"blockStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_stage_page_section_updateStage a heading-based section update in MCP server memory without writing to Confluence. Returns a draftId plus old/new/diff content for review.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"heading": {
"type": "string",
"description": "Heading text used to locate the target section"
},
"sectionStorageValue": {
"type": "string",
"description": "Proposed replacement storage XHTML for the target section"
},
"occurrence": {
"type": "integer",
"minimum": 1,
"description": "When the same heading appears multiple times, choose which occurrence (default 1)"
},
"includeHeading": {
"type": "boolean",
"description": "When true replace from the heading tag itself; when false only replace the body below it (default true)"
},
"matchMode": {
"type": "string",
"enum": [
"exact",
"contains"
],
"description": "Heading match mode: exact or contains (default exact)"
},
"title": {
"type": "string",
"description": "Proposed new page title (keeps current title if omitted)"
}
},
"required": [
"pageId",
"heading",
"sectionStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_stage_page_updateStage a full-page update in MCP server memory without writing to Confluence. Use list/get to review, commit to save, or discard to drop it.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"bodyStorageValue": {
"type": "string",
"description": "Proposed new page body in Confluence storage format (XHTML)"
},
"title": {
"type": "string",
"description": "Proposed new page title (keeps current title if omitted)"
}
},
"required": [
"pageId",
"bodyStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_update_pageUpdate a Confluence page content. Auto increments version. Returns unified fields.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"title": {
"type": "string",
"description": "New page title (keeps current title if omitted)"
},
"bodyStorageValue": {
"type": "string",
"description": "New page body in Confluence storage format (XHTML)"
},
"minorEdit": {
"type": "boolean",
"description": "Whether this is a minor edit (default true)"
},
"message": {
"type": "string",
"description": "Version update message / change comment"
}
},
"required": [
"pageId",
"bodyStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_update_page_anchor_block_confirmedConfirm an anchor-based block update after preview. The server re-reads the page and only updates when the preview hash still matches current content.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"startAnchor": {
"type": "string",
"description": "Start anchor name"
},
"endAnchor": {
"type": "string",
"description": "End anchor name"
},
"blockStorageValue": {
"type": "string",
"description": "Replacement storage XHTML between the two anchors"
},
"expectedCurrentHash": {
"type": "string",
"description": "Hash returned by confluence_preview_page_anchor_block_update"
},
"title": {
"type": "string",
"description": "New page title (keeps current title if omitted)"
},
"minorEdit": {
"type": "boolean",
"description": "Whether this is a minor edit (default true)"
},
"message": {
"type": "string",
"description": "Version update message / change comment"
}
},
"required": [
"pageId",
"startAnchor",
"endAnchor",
"blockStorageValue",
"expectedCurrentHash"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_update_page_sectionUpdate one page section by heading. The server fetches full storage internally, replaces the matched range, and writes back the whole page so the model only sends the section content.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"heading": {
"type": "string",
"description": "Heading text used to locate the target section"
},
"sectionStorageValue": {
"type": "string",
"description": "Replacement storage XHTML for the target section"
},
"occurrence": {
"type": "integer",
"minimum": 1,
"description": "When the same heading appears multiple times, choose which occurrence (default 1)"
},
"includeHeading": {
"type": "boolean",
"description": "When true replace from the heading tag itself; when false only replace the body below it (default true)"
},
"matchMode": {
"type": "string",
"enum": [
"exact",
"contains"
],
"description": "Heading match mode: exact or contains (default exact)"
},
"title": {
"type": "string",
"description": "New page title (keeps current title if omitted)"
},
"minorEdit": {
"type": "boolean",
"description": "Whether this is a minor edit (default true)"
},
"message": {
"type": "string",
"description": "Version update message / change comment"
}
},
"required": [
"pageId",
"heading",
"sectionStorageValue"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_update_page_section_confirmedConfirm a heading-based section update after preview. The server re-reads the page and only updates when the preview hash still matches current content.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"heading": {
"type": "string",
"description": "Heading text used to locate the target section"
},
"sectionStorageValue": {
"type": "string",
"description": "Replacement storage XHTML for the target section"
},
"expectedCurrentHash": {
"type": "string",
"description": "Hash returned by confluence_preview_page_section_update"
},
"occurrence": {
"type": "integer",
"minimum": 1,
"description": "When the same heading appears multiple times, choose which occurrence (default 1)"
},
"includeHeading": {
"type": "boolean",
"description": "When true replace from the heading tag itself; when false only replace the body below it (default true)"
},
"matchMode": {
"type": "string",
"enum": [
"exact",
"contains"
],
"description": "Heading match mode: exact or contains (default exact)"
},
"title": {
"type": "string",
"description": "New page title (keeps current title if omitted)"
},
"minorEdit": {
"type": "boolean",
"description": "Whether this is a minor edit (default true)"
},
"message": {
"type": "string",
"description": "Version update message / change comment"
}
},
"required": [
"pageId",
"heading",
"sectionStorageValue",
"expectedCurrentHash"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
confluence_upload_attachmentUpload an attachment to a Confluence page. Supports local filePath or base64Data; same-name files are updated by default. Returns attachment fields and image storage markup when applicable.Input schema{
"type": "object",
"properties": {
"pageId": {
"type": "string",
"description": "Confluence page ID"
},
"filePath": {
"type": "string",
"description": "Local file path to upload from the MCP server machine"
},
"base64Data": {
"type": "string",
"description": "Base64 file content, optionally as a data URL"
},
"fileName": {
"type": "string",
"description": "Attachment file name. Required for base64Data; defaults to basename(filePath)"
},
"contentType": {
"type": "string",
"description": "MIME type such as image/png. Inferred from fileName when omitted"
},
"comment": {
"type": "string",
"description": "Attachment version comment"
},
"minorEdit": {
"type": "boolean",
"description": "Whether this attachment version is a minor edit (default true)"
},
"overwrite": {
"type": "boolean",
"description": "Update same-name attachment as a new version when true (default true); fail on duplicates when false"
}
},
"required": [
"pageId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |