Confluence Integration for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Confluence MCP or direct API to create pages, search knowledge bases, update documentation, and manage spaces through natural language.
Confluence Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Supported Tools

Tools
Add Content LabelTool to add labels to a piece of content.
Get Space by IDTool to retrieve a confluence space by its id.
Create BlogpostTool to create a new confluence blog post.
Create Blogpost PropertyTool to create a property on a specified blog post.
Create Whiteboard PropertyTool to create a new content property on a whiteboard.
Create PageTool to create a new confluence page in a specified space.
Create Page PropertyTool to create a property on a confluence page.
Create Private SpaceTool to create a private confluence space.
Create SpaceTool to create a new confluence space.
Create Space PropertyTool to create a new property on a confluence space.
Create WhiteboardTool to create a new confluence whiteboard.
Delete Blogpost PropertyTool to delete a blog post property.
Delete Page Content PropertyTool to delete a content property from a page by property id.
Delete Whiteboard Content PropertyTool to delete a content property from a whiteboard by property id.
Delete PageTool to delete a confluence page.
Delete SpaceTool to delete a confluence space by its key.
Delete Space PropertyTool to delete a space property.
Get Attachment LabelsTool to list labels on an attachment.
Get AttachmentsTool to retrieve attachments of a confluence page.
Get Audit LogsTool to retrieve confluence audit records.
Get Blogpost by IDTool to retrieve a specific confluence blog post by its id.
Get Blogpost LabelsTool to retrieve labels of a specific confluence blog post by id.
Get Blogpost Like CountTool to get like count for a confluence blog post.
Get Blogpost OperationsTool to retrieve permitted operations for a confluence blog post.
Get BlogpostsTool to retrieve a list of blog posts.
Get Blog PostsTool to retrieve a list of blog posts.
Get Blog Posts For LabelTool to list all blog posts under a specific label.
Get Blogpost Version DetailsTool to retrieve details for a specific version of a blog post.
Get Blogpost VersionsTool to retrieve all versions of a specific blog post.
Get Child PagesTool to list all direct child pages of a given confluence page.
Get Blog Post Content PropertiesTool to retrieve all content properties on a blog post.
Get Page Content PropertiesTool to retrieve all content properties on a page.
Get Content RestrictionsTool to retrieve restrictions on a confluence content item.
Get Current UserTool to get information about the currently authenticated user.
Get Inline Comments for Blog PostTool to retrieve inline comments for a confluence blog post.
Get LabelsTool to retrieve all labels in a confluence site.
Get Page LabelsTool to retrieve labels of a specific confluence page by id.
Get Labels for SpaceTool to list labels on a space.
Get Labels for Space ContentTool to list labels on all content in a space.
Get Page AncestorsTool to retrieve all ancestors for a given confluence page by its id.
Get Page by IDTool to retrieve a confluence page by its id.
Get Page Like CountTool to get like count for a confluence page.
Get PagesTool to retrieve a list of pages.
Get Page VersionsTool to retrieve all versions of a specific confluence page.
Get Space by IDTool to retrieve a confluence space by its id.
Get Space ContentsTool to retrieve content in a confluence space.
Get Space PropertiesTool to get properties of a confluence space.
Get SpacesTool to retrieve a list of confluence spaces.
Get Anonymous UserTool to retrieve information about the anonymous user.
Search ContentSearches for content by filtering pages from the confluence v2 api with intelligent ranking.
Search UsersSearches for users using user-specific queries from the confluence query language (cql).
Update BlogpostTool to update a confluence blog post's title or content.
Update Blogpost PropertyTool to update a property of a specified blog post.
Update Page Content PropertyTool to update a content property on a confluence page.
Update Whiteboard Content PropertyTool to update a content property on a whiteboard.
Update PageTool to update an existing confluence page.
Update Space PropertyTool to update a space property.

Connect Confluence MCP Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Confluence tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Create a new Confluence page titled "Q2 Project Plan" in the Marketing space')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Connect Confluence API Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio_openai
Install the Composio SDK

Initialize Composio and Create Tool Router Session

python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
Import and initialize Composio client, then create a Tool Router session

Execute Confluence Tools via Tool Router with Your Agent

python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Create a new Confluence page in the Engineering space titled \'Sprint Planning Notes\''
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
Get tools from Tool Router session and execute Confluence actions with your Agent

Why Use Composio?

AI Native Confluence Integration

  • Supports both Confluence MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Confluence data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Confluence access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Confluence
  • Scoped, least privilege access to Confluence resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Confluence with Composio?

No, you can get started immediately using Composio's built-in Confluence app. For production, we recommend configuring your own OAuth credentials.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.