KosmoKrator

productivity

Confluence MCP, CLI, and Lua Integration for AI Agents

Confluence integration docs for AI agents: MCP gateway setup, Confluence CLI commands, Lua API reference, credentials, and function schemas.

Confluence for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
confluence.confluence_create_page Write write 5 Create a new page in a Confluence space. Requires space_key, title, and body (HTML). Optionally specify a parent page ID.
confluence.confluence_get_page Read read 2 Get details for a specific Confluence page by ID. Returns title, body, version, space, and other metadata.
confluence.confluence_update_page Write write 5 Update an existing Confluence page. Requires page_id, title, body, and the new version number (current version + 1).
confluence.confluence_delete_page Write write 1 Delete a Confluence page by its ID. This action moves the page to the trash.
confluence.confluence_search_pages Read read 4 Search for Confluence content using CQL (Confluence Query Language). Examples: 'title = "My Page"', 'space = "DEV" and type = "page"'.
confluence.confluence_get_page_ancestors Read read 1 Get the ancestor (parent) pages of a Confluence page by its ID. Returns the full ancestor hierarchy.
confluence.confluence_get_page_children Read read 4 Get the child pages of a Confluence page by its ID. Supports pagination and property expansion.
confluence.confluence_add_comment Write write 2 Add a comment to a Confluence page. Requires the page ID and comment body in HTML.
confluence.confluence_get_spaces Read read 4 List Confluence spaces accessible to the authenticated user. Supports pagination and filtering by type and status.
confluence.confluence_get_space Read read 1 Get details for a specific Confluence space by its key.
confluence.confluence_get_labels Read read 1 Get the labels attached to a Confluence page by its ID.
confluence.confluence_add_labels Write write 2 Add one or more labels to a Confluence page. Labels are provided as an array of name strings.