Confluence Content Tools
Complete reference for all MCP tools available for Confluence content management.
Content Reading Tools
get_confluence_page
get_confluence_page
Retrieve a specific Confluence page with full content.
Parameters:
cloudId
(string): Confluence cloud ID or site URLpageId
(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
get_confluence_spaces
List all accessible Confluence spaces.
Parameters:
cloudId
(string): Confluence cloud ID or site URLlimit
(number, optional): Maximum number of spaces to returntype
(string, optional): Filter by space type
Example:
List all my Confluence spaces
Returns:
Space metadata (name, key, type)
Access permissions
Space description and icon
get_pages_in_confluence_space
get_pages_in_confluence_space
Get all pages within a specific Confluence space.
Parameters:
cloudId
(string): Confluence cloud ID or site URLspaceId
(string): Numerical space identifierlimit
(number, optional): Maximum pages to returnstatus
(string, optional): Filter by page status
Example:
Show me all pages in the DOCS space
Returns:
List of pages with metadata
Page hierarchy information
Content summaries
search_confluence_using_cql
search_confluence_using_cql
Search Confluence content using CQL (Confluence Query Language).
Parameters:
cloudId
(string): Confluence cloud ID or site URLcql
(string): CQL query expressionlimit
(number, optional): Maximum results to return
Example:
Search for pages containing "API documentation" in the last month
CQL Examples:
title ~ "API" AND type = page AND space = DOCS
text ~ "documentation" AND created >= "-30d"
label = "technical" AND contributor = "john.doe"
Content Creation Tools
create_confluence_page
create_confluence_page
Create a new Confluence page.
Parameters:
cloudId
(string): Confluence cloud ID or site URLspaceId
(string): Target space IDtitle
(string): Page titlebody
(string): Page content in Markdown formatparentId
(string, optional): Parent page ID for hierarchyisPrivate
(boolean, optional): Create as private page
Example:
Create a new page called "API Documentation" in space DOCS with content:
# API Documentation
This page contains our API documentation.
## Getting Started
...
Features:
Automatic Markdown to ADF conversion
Support for rich content (panels, tables, etc.)
Hierarchical page structure
Private page creation
create_confluence_live_doc
create_confluence_live_doc
Create a new Confluence Live Document.
Parameters:
cloudId
(string): Confluence cloud ID or site URLspaceId
(string): Target space IDtitle
(string): Live doc titlebody
(string): Content in Markdown formatsubtype
(string): Set to "live" for live documents
Example:
Create a live document called "Team Meeting Notes" for collaborative editing
Content Update Tools
update_confluence_page
update_confluence_page
Update an existing Confluence page.
Parameters:
cloudId
(string): Confluence cloud ID or site URLpageId
(string): Page to updatebody
(string): New content in Markdown formattitle
(string, optional): New page titleversionMessage
(string, optional): Update description
Example:
Update page 123456789 with new content:
# Updated Documentation
This page has been revised with the latest information.
Features:
Preserves page version history
Maintains page hierarchy
Automatic conflict resolution
Rich content preservation
Comment Tools
create_confluence_footer_comment
create_confluence_footer_comment
Add a comment to the bottom of a Confluence page.
Parameters:
cloudId
(string): Confluence cloud ID or site URLpageId
(string): Target page IDbody
(string): Comment content in MarkdownparentCommentId
(string, optional): Reply to existing comment
Example:
Add a comment to page 123456789: "This documentation needs updating"
create_confluence_inline_comment
create_confluence_inline_comment
Create an inline comment attached to specific text.
Parameters:
cloudId
(string): Confluence cloud ID or site URLpageId
(string): Target page IDbody
(string): Comment contentinlineCommentProperties
(object): Text selection details
Example:
Add inline comment to the text "deprecated API" on page 123456789
get_confluence_page_comments
get_confluence_page_comments
Retrieve comments from a Confluence page.
Parameters:
cloudId
(string): Confluence cloud ID or site URLpageId
(string): Target page IDcommentType
(string): "footer" or "inline"
Example:
Get all comments from page 123456789
Content Discovery Tools
get_confluence_page_descendants
get_confluence_page_descendants
Get all child pages of a specific page.
Parameters:
cloudId
(string): Confluence cloud ID or site URLpageId
(string): Parent page IDdepth
(number, optional): Maximum depth to traverse
Example:
Show me all child pages under the main documentation page
search_confluence
search_confluence
General search across Confluence content.
Parameters:
query
(string): Search termscloudId
(string, optional): Specific Confluence instancelimit
(number, optional): Maximum results
Example:
Search for "user guide" across all accessible Confluence content
Template Tools
list_available_templates
list_available_templates
List all available content templates.
Parameters:
category
(string, optional): Filter by template category
Example:
Show me all available templates for technical documentation
generate_from_template
generate_from_template
Generate structured content from a template.
Parameters:
templateName
(string): Template to useuserContext
(object, optional): Variables for templateoutputPath
(string, optional): Where to save generated content
Example:
Generate documentation using the "api-documentation" template
validate_template
validate_template
Validate template structure and ADF compatibility.
Parameters:
templatePath
(string): Path to template file
Example:
Validate the custom-template.yml template file
Content Conversion Tools
markdown_to_adf
markdown_to_adf
Convert Markdown content to ADF format.
Parameters:
markdown
(string): Source Markdown contentvalidateADF
(boolean, optional): Validate output
Example:
Convert this Markdown to ADF:
# My Document
This is **bold** text with a [link](https://example.com).
adf_to_markdown
adf_to_markdown
Convert ADF content back to Markdown.
Parameters:
adf
(object): ADF document objectpreserveFormatting
(boolean, optional): Maintain formatting
Example:
Convert this ADF back to Markdown for editing
Batch Operations
bulk_update_pages
bulk_update_pages
Update multiple pages at once.
Parameters:
cloudId
(string): Confluence cloud IDupdates
(array): List of page updatesvalidateContent
(boolean, optional): Validate before updating
Example:
Update all pages in the DOCS space with new footer content
migrate_content
migrate_content
Migrate content between spaces or instances.
Parameters:
sourceCloudId
(string): Source ConfluencetargetCloudId
(string): Target ConfluencecontentFilter
(object): What to migrateoptions
(object): Migration options
Example:
Migrate all documentation pages from the old space to the new space
Usage Examples
Creating a Complete Documentation Set
1. Create main documentation page in DOCS space
2. Generate API documentation using the api-template
3. Create child pages for each API endpoint
4. Add cross-references and navigation
5. Review and publish
Content Maintenance Workflow
1. Search for outdated content using CQL
2. Update pages with new information
3. Add comments for reviewers
4. Validate all changes
5. Notify stakeholders
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
Template System - Working with content templates
ADF Conversion - Understanding ADF format
Error Handling - Troubleshooting common issues
Last updated