Confluence Content Tools

Complete reference for all MCP tools available for Confluence content management.

Content Reading Tools

get_confluence_page

Retrieve a specific Confluence page with full content.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • pageId (string): Unique page identifier

Example:

Get the content of page ID 123456789 from Confluence

Returns:

  • Page content converted to Markdown

  • Page metadata (title, version, author, etc.)

  • Links and attachments

get_confluence_spaces

List all accessible Confluence spaces.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • limit (number, optional): Maximum number of spaces to return

  • type (string, optional): Filter by space type

Example:

Returns:

  • Space metadata (name, key, type)

  • Access permissions

  • Space description and icon

get_pages_in_confluence_space

Get all pages within a specific Confluence space.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • spaceId (string): Numerical space identifier

  • limit (number, optional): Maximum pages to return

  • status (string, optional): Filter by page status

Example:

Returns:

  • List of pages with metadata

  • Page hierarchy information

  • Content summaries

search_confluence_using_cql

Search Confluence content using CQL (Confluence Query Language).

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • cql (string): CQL query expression

  • limit (number, optional): Maximum results to return

Example:

CQL Examples:

Content Creation Tools

create_confluence_page

Create a new Confluence page.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • spaceId (string): Target space ID

  • title (string): Page title

  • body (string): Page content in Markdown format

  • parentId (string, optional): Parent page ID for hierarchy

  • isPrivate (boolean, optional): Create as private page

Example:

Features:

  • Automatic Markdown to ADF conversion

  • Support for rich content (panels, tables, etc.)

  • Hierarchical page structure

  • Private page creation

create_confluence_live_doc

Create a new Confluence Live Document.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • spaceId (string): Target space ID

  • title (string): Live doc title

  • body (string): Content in Markdown format

  • subtype (string): Set to "live" for live documents

Example:

Content Update Tools

update_confluence_page

Update an existing Confluence page.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • pageId (string): Page to update

  • body (string): New content in Markdown format

  • title (string, optional): New page title

  • versionMessage (string, optional): Update description

Example:

Features:

  • Preserves page version history

  • Maintains page hierarchy

  • Automatic conflict resolution

  • Rich content preservation

Comment Tools

Add a comment to the bottom of a Confluence page.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • pageId (string): Target page ID

  • body (string): Comment content in Markdown

  • parentCommentId (string, optional): Reply to existing comment

Example:

create_confluence_inline_comment

Create an inline comment attached to specific text.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • pageId (string): Target page ID

  • body (string): Comment content

  • inlineCommentProperties (object): Text selection details

Example:

get_confluence_page_comments

Retrieve comments from a Confluence page.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • pageId (string): Target page ID

  • commentType (string): "footer" or "inline"

Example:

Content Discovery Tools

get_confluence_page_descendants

Get all child pages of a specific page.

Parameters:

  • cloudId (string): Confluence cloud ID or site URL

  • pageId (string): Parent page ID

  • depth (number, optional): Maximum depth to traverse

Example:

search_confluence

General search across Confluence content.

Parameters:

  • query (string): Search terms

  • cloudId (string, optional): Specific Confluence instance

  • limit (number, optional): Maximum results

Example:

Template Tools

list_available_templates

List all available content templates.

Parameters:

  • category (string, optional): Filter by template category

Example:

generate_from_template

Generate structured content from a template.

Parameters:

  • templateName (string): Template to use

  • userContext (object, optional): Variables for template

  • outputPath (string, optional): Where to save generated content

Example:

validate_template

Validate template structure and ADF compatibility.

Parameters:

  • templatePath (string): Path to template file

Example:

Content Conversion Tools

markdown_to_adf

Convert Markdown content to ADF format.

Parameters:

  • markdown (string): Source Markdown content

  • validateADF (boolean, optional): Validate output

Example:

adf_to_markdown

Convert ADF content back to Markdown.

Parameters:

  • adf (object): ADF document object

  • preserveFormatting (boolean, optional): Maintain formatting

Example:

Batch Operations

bulk_update_pages

Update multiple pages at once.

Parameters:

  • cloudId (string): Confluence cloud ID

  • updates (array): List of page updates

  • validateContent (boolean, optional): Validate before updating

Example:

migrate_content

Migrate content between spaces or instances.

Parameters:

  • sourceCloudId (string): Source Confluence

  • targetCloudId (string): Target Confluence

  • contentFilter (object): What to migrate

  • options (object): Migration options

Example:

Usage Examples

Creating a Complete Documentation Set

Content Maintenance Workflow

Error Handling

All tools include comprehensive error handling:

  • Authentication errors: Invalid API tokens

  • Permission errors: Insufficient access rights

  • Content errors: Invalid Markdown or ADF

  • Network errors: Connection issues

  • Validation errors: Content structure problems

Common Error Resolution:

  • Check authentication setup

  • Verify space and page permissions

  • Validate content format

  • Review network connectivity

  • Check API rate limits

Next Steps

Last updated