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.
12 functions 7 read 5 write API token auth
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.
Machine-Readable Metadata
- integration_slug
confluence- route_slug
confluence- package
confluence- auth_strategy
api_tokenAPI token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Confluence CLIHeadless setup and direct function calls. Confluence MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Confluence MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Confluence.
Claude Code Confluence MCP setup for Claude Code. Cursor Confluence MCP setup for Cursor. Codex Confluence MCP setup for Codex. OpenAI Agents Confluence MCP setup for OpenAI Agents SDK. Claude Agent SDK Confluence MCP setup for Claude Agent SDK. Vercel AI SDK Confluence MCP setup for Vercel AI SDK. LangChain Confluence MCP setup for LangChain. LangGraph Confluence MCP setup for LangGraph. CrewAI Confluence MCP setup for CrewAI. MCP clients Confluence MCP setup for Generic MCP Clients.
Confluence CLI Matrix
Use these pages for direct Confluence CLI workflows in scripts, CI, cron, and agent wrappers.
CI Confluence CLI for CI. Cron Jobs Confluence CLI for cron jobs. Shell Scripts Confluence CLI for shell scripts. Headless Automation Confluence CLI for headless automation. Coding Agents Confluence CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |