Confluence MCP serverand Python AI tasks
qbash hosts a Confluence MCP server you can use in Claude, ChatGPT, Codex, Cursor, Grok Bot and Muse. Developers use qbash Tasks to write cloud-hosted Python functions that pair Confluence with models such as Claude and GPT.
Add the qbash MCP
Use Confluence from Claude Code, Codex, Cursor and other MCP clients. Connect Confluence in qbash, and your agent can work with its data and build Tasks that call it.
claude mcp add --transport http qbash https://mcp.qbash.com/mcp
Then run /mcp in Claude Code and sign in with qbash.
- Search pages, blog posts and attachments with CQL
- Read a page or blog post as markdown, or in Confluence's storage format
- Walk spaces, folders and the page tree
- Read version history, comments with their replies, labels and checkbox tasks
- Download attachments into qbash storage
- Create and update pages, blog posts and folders from markdown
Write a Confluence task in Python
A qbash Task is a Python function hosted in the cloud. Python is the runtime and defines the process, and built-in inline prompts run on leading models such as Claude, GPT, Gemini and Grok.
Run a Task on a schedule, from an HTTP request or when a connected app sends an event. Your agents and chat tools call it over MCP.
Each run is logged with its inputs and results, and you can turn data logging off for any Task. Every Task has version control, and each run is locked to the version it ran.
Summarize what changed in a space this week
search runs a CQL query for the pages in a space edited in the last seven days. An inline prompt turns the titles and excerpts into a short digest for the team.
result = qbash.integrations.confluence.search(
cql='space = ENG AND type = page AND lastmodified >= now("-7d") ORDER BY lastmodified DESC',
limit=20,
)
pages = result.get("results", [])
if pages:
digest = qbash.ai.run_prompt(
slug="confluence-weekly-changes",
variables={"pages": json.dumps(pages)},
)
qbash.output(digest)
else:
qbash.output("No pages in ENG changed this week.")
Sample search response
{
"results": [
{
"entity_type": "content",
"id": "168984578",
"type": "page",
"title": "On-call runbook",
"excerpt": "Page the secondary after 15 minutes. Escalation contacts moved to the incident channel.",
"status": "current",
"space_key": "ENG",
"space_name": "Engineering",
"last_modified": "2026-12-01T16:20:05.000Z",
"url": "https://acme.atlassian.net/wiki/spaces/ENG/pages/168984578/On-call+runbook"
},
{
"entity_type": "content",
"id": "168984911",
"type": "page",
"title": "Release checklist",
"excerpt": "Added a step to tag the release in the deploy pipeline before announcing it.",
"status": "current",
"space_key": "ENG",
"space_name": "Engineering",
"last_modified": "2026-11-29T09:41:52.000Z",
"url": "https://acme.atlassian.net/wiki/spaces/ENG/pages/168984911/Release+checklist"
}
],
"total_size": 2,
"next_cursor": null
}
Custom MCP server
Build a custom MCP server with Confluence
Create a hosted MCP server that combines Confluence tools with your other connectors, Tasks and memory folders. You choose each tool it exposes, so a server can share Confluence reads with write tools left off.
Share the server with your team, and each person adds it to the client they already use.
How to set it up
- Connect Confluence on the qbash Connectors page.
- Create an MCP server and add the Confluence tools you want to share.
- Paste the server URL into your client. It connects with OAuth or an access token.
Confluence MCP questions
Does Atlassian have an official Confluence MCP server?
Yes. Atlassian runs the Rovo MCP server for Jira and Confluence Cloud. On a qbash server, Confluence tools share one URL with your other connectors and Tasks and use an API token you create.
What does the Confluence connector need to connect?
The address of a Confluence Cloud site on atlassian.net, the email of an Atlassian account, and an API token created for that account. The connector sees and changes what that account can.
Can it read pages for an AI model?
Yes. get_content returns a page body as markdown that keeps headings, lists, tables and code, so a prompt can read it as is. Macros and images appear as short placeholders.
Does it work with Confluence Data Center?
No. It connects Confluence Cloud sites on atlassian.net.
Related productivity connectors
Build a Confluence task
Write it in Python with AI steps, or describe it to your coding agent through the qbash MCP.