Skip to main content
Prerequisites Before you begin, create an account and get your API Key.

Getting started

Connect to Confluence to manage documents, create and edit pages, organize spaces, and collaborate on content through AI agents.
  • API
  • UI
  • Open Source
1

Install the SDKs (optional)

pip install klavis
2

Create a Strata MCP Server with Confluence

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="YOUR_API_KEY")

response = klavis_client.mcp_server.create_strata_server(
    servers=[McpServerName.CONFLUENCE],
    user_id="user123"
)

API Reference

Full Strata API endpoints
3

Authenticate

import webbrowser

# Open OAuth authorization page
webbrowser.open(response.oauth_urls[McpServerName.CONFLUENCE])
🎉 Your Confluence MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.

Available Tools

Tool NameDescription
confluence_create_pageCreate a new page in Confluence
confluence_get_pageRetrieve a SINGLE page’s content by its ID or title. For retrieving MULTIPLE pages, use confluence_get_pages_by_id instead
confluence_get_pages_by_idGet the content of MULTIPLE pages by their ID in a single efficient request
confluence_list_pagesGet the content of multiple pages with optional filtering and sorting
confluence_update_page_contentUpdate a page’s content
confluence_rename_pageRename a page by changing its title
confluence_create_spaceCreate a new space in Confluence
confluence_list_spacesList all spaces sorted by name in ascending order
confluence_get_spaceGet the details of a space by its ID or key
confluence_get_space_hierarchyRetrieve the full hierarchical structure of a Confluence space as a tree structure
confluence_search_contentSearch for content in Confluence. The search is performed across all content in the authenticated user’s Confluence workspace. All search terms in Confluence are case insensitive.
confluence_list_attachmentsList attachments in a workspace
confluence_get_attachments_for_pageGet attachments for a page by its ID or title. If a page title is provided, then the first page with an exact matching title will be returned.
confluence_get_attachmentGet a specific attachment by its ID
For more details about tool input schema, use the get_tools API.

Next Steps

I