MCP Tool Discovery

Learn how to discover and use all available MCP tools in the Confluence ADF server with Claude Code.

Discovering Available Tools

Method 1: Ask Claude to List Tools

The simplest way to see all available tools is to ask Claude directly:

Show me all available MCP tools for Confluence

or

What Confluence tools do you have access to?

Claude will automatically discover and list all registered MCP tools from the mcp-confluence-adf server.

Method 2: Claude Code Tool Inspector

In Claude Code, you can view available MCP tools:

  1. Open Tool Inspector: Use the command palette or menu to access MCP tool information

  2. Filter by Server: Look for mcp-confluence-adf server

  3. Browse Tools: See all available tools with descriptions

Method 3: Help Command

Ask for specific tool help:

Available MCP Tools Reference

Authentication Tools

confluence_oauth_init

Purpose: Initialize OAuth 2.0 authentication flow Usage: Set up OAuth authentication with my Confluence instance

Parameters:

  • clientId (string) - OAuth client ID from Atlassian Developer Console

  • clientSecret (string) - OAuth client secret

  • redirectUri (string, optional) - Callback URL (default: http://localhost:9000/oauth/callback)

Example:

confluence_oauth_complete

Purpose: Complete OAuth authentication after authorization Usage: Complete the OAuth authentication process

Parameters:

  • openBrowser (boolean, optional) - Whether to open browser automatically

Example:

confluence_oauth_status

Purpose: Check current OAuth authentication status Usage: Check my Confluence authentication status

Example:

confluence_oauth_clear

Purpose: Clear OAuth authentication and tokens Usage: Clear my Confluence authentication

Example:

Content Management Tools

confluence_download_page

Purpose: Download Confluence page as Markdown for local editing Usage: Download page [PAGE_ID] for editing

Parameters:

  • pageId (string) - Confluence page ID

  • targetDirectory (string, optional) - Custom download directory

Example:

confluence_upload_page

Purpose: Upload Markdown file to Confluence (create/update) Usage: Upload [FILE_PATH] to Confluence

Parameters:

  • filePath (string) - Path to Markdown file

  • mode (string) - "create" or "update"

  • spaceKey (string, required for create) - Target space

  • title (string, required for create) - Page title

  • parentPageId (string, optional) - Parent page ID

Examples:

create_confluence_content

Purpose: Create new Confluence pages or blog posts Usage: Create a new page in [SPACE] titled [TITLE]

Parameters:

  • spaceKey (string) - Target space key

  • title (string) - Page title

  • content (object) - ADF content object

  • type (string, optional) - "page" or "blog" (default: page)

  • parentId (string, optional) - Parent page ID

Example:

read_confluence_content

Purpose: Read content from Confluence pages Usage: Read content from page [PAGE_ID]

Parameters:

  • pageId (string) - Page ID to read

  • expand (string, optional) - Additional data to include

Example:

update_confluence_content

Purpose: Update existing Confluence pages Usage: Update page [PAGE_ID] with new content

Parameters:

  • pageId (string) - Page ID to update

  • content (object) - New ADF content

  • version (number) - Current version number

  • title (string, optional) - New title

Example:

delete_confluence_content

Purpose: Delete Confluence pages Usage: Delete page [PAGE_ID]

Parameters:

  • pageId (string) - Page ID to delete

Example:

Search & Discovery Tools

search_confluence_pages

Purpose: Search Confluence pages using CQL Usage: Search for pages containing [TERMS]

Parameters:

  • cql (string) - Confluence Query Language expression

  • limit (number, optional) - Maximum results (default: 25)

  • start (number, optional) - Start index for pagination

Examples:

list_confluence_spaces

Purpose: List all accessible Confluence spaces Usage: Show me all my Confluence spaces

Parameters:

  • limit (number, optional) - Maximum spaces to return

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

Example:

get_page_versions

Purpose: Get version history of a Confluence page Usage: Show version history for page [PAGE_ID]

Parameters:

  • pageId (string) - Page ID

  • limit (number, optional) - Number of versions to return

Example:

manage_page_labels

Purpose: Add or remove labels on Confluence pages Usage: Add label [LABEL] to page [PAGE_ID]

Parameters:

  • pageId (string) - Target page ID

  • labels (array) - Labels to add/remove

  • action (string) - "add" or "remove"

Example:

Template Tools

list_available_templates

Purpose: List all available YAML templates Usage: Show me available templates

Parameters:

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

Examples:

generate_from_template

Purpose: Generate structured content from YAML template Usage: Generate documentation using [TEMPLATE_NAME] template

Parameters:

  • templateName (string) - Name of template to use

  • outputPath (string, optional) - Custom output path

  • userContext (object, optional) - Template variables

Example:

validate_template

Purpose: Validate YAML template structure Usage: Validate template file [TEMPLATE_PATH]

Parameters:

  • templatePath (string) - Path to template file

Example:

How to Use Tools with Claude

Natural Language Commands

Claude understands natural language requests and automatically selects appropriate tools:

Authentication Commands

Content Management Commands

Search Commands

Template Commands

Workflow Examples

Complete Page Editing Workflow

New Documentation Creation Workflow

Content Discovery Workflow

Tool Discovery Tips

1. Start with Questions

2. Be Specific About Goals

3. Ask for Tool Details

4. Request Workflows

Advanced Usage

CQL (Confluence Query Language)

Use with search_confluence_pages for powerful searches:

Template Variables

When using templates, provide context:

Batch Operations

For multiple pages:

Troubleshooting Tool Usage

Common Issues

  1. Authentication Required

  2. Page Not Found

  3. Template Not Found

  4. Permission Denied

Getting Help

Ask Claude for specific help:

Claude can diagnose issues and suggest solutions using the appropriate MCP tools.

Next Steps

Last updated