ultra-confluence-mcp
Provides tools for interacting with Confluence Cloud, enabling AI agents to read, search, create, and update pages, with built-in trimming to reduce context window usage.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ultra-confluence-mcp search for pages about project roadmap"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ultra-confluence-mcp
A Model Context Protocol (MCP) server for Confluence Cloud, designed around one question: how much of the agent's context window does a Confluence call actually need to consume?
Most Confluence MCP servers pass the
Confluence REST API through more or less verbatim. That's fine for occasional
use, but a single getPage on a long doc can dump 40 KB of ADF JSON into the
conversation, and a 25-page list response runs over 500 KB. Agents pay that
cost on every call, and it crowds out the actual work.
This server takes a different stance.
Why use this over other Confluence/Atlassian MCPs
1. Per-call responses are trimmed by ~20× on average
A built-in projection layer drops _links, _expandable, formatter noise,
and other fields agents never read, and converts ADF/storage bodies to
markdown on the way out. Concrete numbers from the benchmark in
docs/BENCHMARK.md:
call | raw | trimmed | reduction |
25-page list (with bodies) | 526,694 B | 9,753 B | 54× |
huge page (~39 KB ADF body) | 54,624 B | 479 B | 114× |
CQL text search ("README") | 35,341 B | 15,239 B | 2.3× |
11 mixed scenarios combined | 756,483 B | 37,935 B | 20× |
2. Large bodies offload to disk, not into context
When a page body would exceed the inline limit, the trim layer writes the
raw API response to a temp file and returns a tiny bodyPath reference
(~500 bytes) instead. Agents that need the content call
confluence_render_body to read from disk — and can pass outputPath to
write the rendered markdown straight to a file, so the body bytes never
enter the conversation at all. Restoring five 10 KB pages costs zero
context bytes with this path; an MCP that inlines bodies pays ~50 KB.
3. The per-conversation tool surface is small and tunable
The MCP tool-list response itself costs context — every conversation pays
for it up front, before any work happens. With CONFLUENCE_ENABLED_CATEGORIES
you can scope the surface to what an agent actually needs:
filter | tools | bytes | ~tokens |
default (all categories) | 63 | 49,629 | 12,407 |
| 15 | 18,483 | 4,621 |
3 categories minus destructive ops | 12 | 15,691 | 3,923 |
By comparison, many combined Atlassian MCP servers expose over 70 tools across Jira and Confluence — fine if you want both products, but a lot of schema for an agent that just needs to read and write Confluence pages. If you also need Jira or Bitbucket, the companion servers ultra-jira-mcp and ultra-bitbucket-mcp apply the same trimming philosophy — wire up only the ones you need instead of paying for one monolithic Atlassian surface.
4. There's a CLI for agents that prefer shelling out
confluence-cli is a standalone binary that calls Confluence directly — no
MCP host required. Same trimmed output shape, plus a ref: /path line
pointing at the full untrimmed response on disk. Per-conversation overhead
is a single 2.3 KB SKILL.md loaded on demand by the Claude Code harness,
versus ~50 KB of tool schemas. The two paths share all the trim logic, so
you can mix or switch without behavior drift.
5. No Docker, no Python, no runtime to install
It's a Node package. If you already have Node (you probably do — Claude Code
ships with it), npx -y https://github.com/scottlepp/ultra-confluence-mcp is
the whole install. No container to pull, no Python virtualenv to manage, no
uv/pipx/poetry to learn first, no docker run line with seven -e
flags in your MCP config. Drop the npx command into Claude Desktop /
Claude Code / Cursor and you're done.
6. Self-healing — humans aren't the bottleneck (without being a security liability)
The repo is maintained by bots, so updates don't stall waiting on a human reviewer — but every code-modifying step that touches an LLM is gated so a malicious issue or PR can't turn the automation into an exfiltration channel:
Dependencies stay current. Dependabot opens grouped PRs on a weekly cadence. Patch and minor bumps auto-merge once CI is green. Major bumps fail the workflow and require a human reviewer — the previous behavior of auto-running an LLM "migration agent" on PR code is disabled, because executing PR-supplied code in a privileged context is an RCE pattern.
Bug reports get triaged automatically — when a maintainer approves. The scheduled
bug-fixagent only processes issues bearing theauto-fix-approvedlabel, which is restricted to maintainers. Issue bodies are treated as untrusted text (boundary-tagged in the prompt, truncated, scanned for shell metacharacters and secret shapes). The agent opens PRs but never auto-merges them; a human still reviews and clicks merge.PRs get a first-pass review without waiting on a human. The PR-review agent runs against the diff as data — it never checks out PR code into the workspace where the privileged token bag lives. Agent code is always loaded from
main.The agent's tools are sandboxed. File reads and writes go through a shared path policy that rejects absolute paths,
..traversal, symlinks pointing outside the working dir, and a denylist that covers.env*,.github/,scripts/agents/itself, lockfiles, key files, and similar high-blast-radius paths. Git and npm commands useexecFilewith argv arrays — no shell interpolation, so model-supplied branch names and commit messages cannot inject$()or backticks. See scripts/agents/src/validation/ for the policy module and its test coverage.
This matters for a context-efficiency tool specifically: the value proposition decays fast if the trim layer falls behind a Confluence API change or a CVE in a dependency. Self-healing keeps the surface fresh without a maintainer in the loop — and without giving the loop a way to turn into a backdoor.
What this server is NOT
Not multi-product. Jira lives in ultra-jira-mcp and Bitbucket in ultra-bitbucket-mcp; this server is Confluence Cloud only, by design to keep the tools light.
Not Server/Data Center. Cloud REST API v2 only.
Not for human-readable conversations. The trimming is aggressive because agents read JSON, not docs — if you want pretty browser-style output, use the Atlassian web UI.
If you need Jira + Confluence + Bitbucket + Server/DC + OAuth in one server, there are MCP servers for that, but you'll pay the price. If your agents are blowing through context windows on Confluence reads, use this — and pair it with ultra-jira-mcp or ultra-bitbucket-mcp when you need those too.
Related MCP server: Memory Cache MCP Server
Installation
Run directly from GitHub:
npx -y https://github.com/scottlepp/ultra-confluence-mcpOr clone and build locally:
git clone https://github.com/scottlepp/ultra-confluence-mcp.git
cd ultra-confluence-mcp
npm install
npm run build
node build/index.jsStandalone CLI (no MCP server)
A confluence-cli binary ships alongside the MCP server. It reads the
same env vars (CONFLUENCE_HOST, CONFLUENCE_EMAIL,
CONFLUENCE_API_TOKEN), builds a Confluence client in-process, and
calls Confluence directly — no MCP host required.
export CONFLUENCE_HOST=https://yourcompany.atlassian.net
export CONFLUENCE_EMAIL=you@example.com
export CONFLUENCE_API_TOKEN=...
npx -y -p github:scottlepp/ultra-confluence-mcp confluence-cli confluence_get_page --pageId=12345Discovery:
confluence-cli --help # list every tool
confluence-cli <tool> --help # show flags for one toolFlag forms: --key=value, --key value, --key=@/path/to/file (read
from file), --key=- (read from stdin), repeated --key=a --key=b to
build an array (or comma-separated --key=a,b).
On success the CLI prints a trimmed JSON summary to stdout, then a
final ref: /tmp/.../...json line pointing at the full untrimmed
response on disk — cat it when the summary leaves out detail you
need. Pass --full=true to skip trimming and dump the raw response
inline instead.
Claude Code skill
To make the CLI discoverable to Claude Code agents in standalone sessions, install the bundled skill:
npx -y -p github:scottlepp/ultra-confluence-mcp confluence-cli install-skillThis writes ~/.claude/skills/confluence/SKILL.md. Use --force to
overwrite, or --print to dump the skill content to stdout without
writing.
MCP vs CLI — which should I use?
There's a popular claim that CLIs are categorically more
context-efficient than MCP. The benchmark in
docs/BENCHMARK.md
disagrees: with aggressive tool filtering
(CONFLUENCE_ENABLED_CATEGORIES), the MCP path's per-conversation
overhead is within a few KB of the CLI's SKILL.md. Per-call output
is identical in both paths (same trimmed shape from the same applyTrim
projection). Without filtering, the CLI's footprint is ~22× smaller
than the full MCP tool list — but anyone who's filtering is already in
the same ballpark.
The CLI's real edge is ergonomic: scriptable, pipeable, doesn't require an MCP host, runs from any shell. Use whichever fits your workflow; on token cost it's mostly a wash for reasonable filter configs.
Configuration
Set the following environment variables:
Variable | Description | Required |
CONFLUENCE_HOST | Your Confluence instance URL (e.g., https://yourcompany.atlassian.net) | Yes |
CONFLUENCE_EMAIL | Your Atlassian account email | Yes |
CONFLUENCE_API_TOKEN | API token from Atlassian Account Settings | Yes |
CONFLUENCE_CLOUD_ID | Cloud ID for scoped tokens (auto-fetched if not provided) | No |
CONFLUENCE_ENABLED_CATEGORIES | Comma-separated list of tool categories to enable (default: all) | No |
CONFLUENCE_DISABLED_TOOLS | Comma-separated list of specific tools to disable | No |
Tool Filtering
You can limit which tools are exposed to the AI model using environment variables:
Enable only specific categories:
CONFLUENCE_ENABLED_CATEGORIES=page,space,searchDisable specific tools (e.g., destructive operations):
CONFLUENCE_DISABLED_TOOLS=confluence_delete_page,confluence_delete_space,confluence_delete_blog_postAvailable categories: page, space, blogPost, comment, attachment, label, search, user, version, contentProperty, ancestor, descendant, server
Claude Desktop Setup
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "https://github.com/scottlepp/ultra-confluence-mcp"],
"env": {
"CONFLUENCE_HOST": "https://yourcompany.atlassian.net",
"CONFLUENCE_EMAIL": "your-email@example.com",
"CONFLUENCE_API_TOKEN": "your-api-token"
}
}
}
}With tool filtering (recommended for limited access):
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "https://github.com/scottlepp/ultra-confluence-mcp"],
"env": {
"CONFLUENCE_HOST": "https://yourcompany.atlassian.net",
"CONFLUENCE_EMAIL": "your-email@example.com",
"CONFLUENCE_API_TOKEN": "your-api-token",
"CONFLUENCE_ENABLED_CATEGORIES": "page,space,search,comment",
"CONFLUENCE_DISABLED_TOOLS": "confluence_delete_page,confluence_delete_space"
}
}
}
}Available Tools
Pages
confluence_get_pages- Get all pages with optional filtersconfluence_get_page- Get a specific page by IDconfluence_create_page- Create a new pageconfluence_update_page- Update an existing pageconfluence_delete_page- Delete a pageconfluence_get_pages_in_space- Get all pages in a spaceconfluence_get_pages_for_label- Get pages with a specific labelconfluence_render_body- Convert a cached page body (ADF/storage on disk) to markdown. PassoutputPathto write straight to disk so the rendered body never inflates the agent's context. See Reading large bodies.
Spaces
confluence_get_spaces- List all accessible spacesconfluence_get_space- Get space detailsconfluence_create_space- Create a new spaceconfluence_update_space- Update spaceconfluence_delete_space- Delete space
Blog Posts
confluence_get_blog_posts- Get all blog postsconfluence_get_blog_post- Get blog post detailsconfluence_create_blog_post- Create a new blog postconfluence_update_blog_post- Update blog postconfluence_delete_blog_post- Delete blog postconfluence_get_blog_posts_in_space- Get blog posts in a space
Comments
confluence_get_page_footer_comments- Get footer comments on a pageconfluence_get_page_inline_comments- Get inline comments on a pageconfluence_get_blog_post_footer_comments- Get footer comments on a blog postconfluence_get_footer_comment- Get a specific commentconfluence_create_page_footer_comment- Add comment to pageconfluence_create_blog_post_footer_comment- Add comment to blog postconfluence_update_footer_comment- Update commentconfluence_delete_footer_comment- Delete comment
Attachments
confluence_get_page_attachments- Get attachments on a pageconfluence_get_blog_post_attachments- Get attachments on a blog postconfluence_get_attachment- Get attachment detailsconfluence_delete_attachment- Delete attachment
Labels
confluence_get_page_labels- Get labels on a pageconfluence_add_page_label- Add label to pageconfluence_remove_page_label- Remove label from pageconfluence_get_blog_post_labels- Get labels on a blog postconfluence_add_blog_post_label- Add label to blog postconfluence_remove_blog_post_label- Remove label from blog postconfluence_get_space_labels- Get labels on a spaceconfluence_add_space_label- Add label to spaceconfluence_remove_space_label- Remove label from space
Search
confluence_cql_search- Advanced search using CQL (Confluence Query Language) for pages, blog posts, attachments, commentsconfluence_search_content- Simple text search for pages and blog postsconfluence_search_generic_content- Search for databases, whiteboards, folders, or embeds (NOT for pages/blog posts)
Users
confluence_get_current_user- Get authenticated userconfluence_get_user- Get user by account IDconfluence_get_users- Get all users
Versions
confluence_get_page_versions- Get page version historyconfluence_get_page_version- Get specific page versionconfluence_get_blog_post_versions- Get blog post version historyconfluence_get_blog_post_version- Get specific blog post version
Content Properties
confluence_get_page_properties- Get content properties for a pageconfluence_get_page_property- Get a specific propertyconfluence_create_page_property- Create a propertyconfluence_update_page_property- Update a propertyconfluence_delete_page_property- Delete a property
Ancestors & Descendants
confluence_get_page_ancestors- Get parent pagesconfluence_get_page_descendants- Get all descendant pagesconfluence_get_page_children- Get direct children pages
Server
confluence_get_server_info- Get Confluence server info
Available Resources
confluence://spaces- List of all accessible spacesconfluence://myself- Current user infoconfluence://space/{id}- Space detailsconfluence://page/{id}- Page detailsconfluence://blogpost/{id}- Blog post details
Reading large bodies without context bloat
When a single-page read returns a body too large to inline, the trim layer offloads the raw API response to disk and surfaces a bodyPath field on the response. Two ways to use it:
Inline rendering (default). Call confluence_render_body with just bodyPath to get the converted markdown back in the response under bodyMarkdown:
{
"bodyPath": "/var/folders/.../ultra-confluence-mcp/pages/12345-v3.json"
}Direct-to-disk rendering (recommended when the agent already knows where the file should land — e.g. pulling a doc back to a working tree). Add outputPath and the rendered output is written there; the response carries only { representation, sourceLength, outputPath, bytesWritten } — the body bytes never traverse the agent's context:
{
"bodyPath": "/var/folders/.../ultra-confluence-mcp/pages/12345-v3.json",
"outputPath": "/abs/path/to/page.md"
}This is dramatically more context-efficient when restoring multiple pages. Five docs of ~10 KB each cost ~50 KB through inline rendering and effectively 0 through outputPath. Parent directories are created if missing; existing files are overwritten.
Both forms work with format: "raw" if you want the original ADF JSON / storage XHTML rather than markdown.
Body Formats
Confluence supports multiple body formats:
storage- XHTML-based storage format (default)atlas_doc_format- Atlassian Document Format (ADF) - supports Forge app extensionsview- Rendered HTML (read-only)
Storage Format (default)
<p>This is a paragraph.</p>
<h1>This is a heading</h1>
<ul>
<li>List item 1</li>
<li>List item 2</li>
</ul>ADF Format
Use bodyFormat: "atlas_doc_format" when creating/updating pages to insert Forge app macros (like Mermaid diagrams). The body should be a JSON-stringified ADF document:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [{ "type": "text", "text": "Hello world" }]
}
]
}See Inserting Forge App Macros for advanced usage.
Inserting Forge App Macros (e.g., Mermaid Diagrams)
You can programmatically insert Forge app macros like Mermaid diagrams using the ADF (Atlassian Document Format) body format.
Mermaid Diagram Example
To insert a Mermaid diagram, use bodyFormat: "atlas_doc_format" with both a code block and an extension node:
{
"spaceId": "123456",
"title": "Page with Mermaid Diagram",
"bodyFormat": "atlas_doc_format",
"body": "{\"version\":1,\"type\":\"doc\",\"content\":[{\"type\":\"codeBlock\",\"attrs\":{\"language\":\"mermaid\"},\"content\":[{\"type\":\"text\",\"text\":\"sequenceDiagram\\n Alice->>Bob: Hello\\n Bob-->>Alice: Hi!\"}]},{\"type\":\"extension\",\"attrs\":{\"extensionKey\":\"23392b90-4271-4239-98ca-a3e96c663cbb/63d4d207-ac2f-4273-865c-0240d37f044a/static/mermaid-diagram\",\"extensionType\":\"com.atlassian.ecosystem\",\"parameters\":{\"localId\":\"mermaid-1\"},\"localId\":\"mermaid-1\"}}]}"
}ADF Structure for Mermaid
The ADF document structure (before JSON stringification):
{
"version": 1,
"type": "doc",
"content": [
{
"type": "codeBlock",
"attrs": { "language": "mermaid" },
"content": [
{ "type": "text", "text": "sequenceDiagram\n Alice->>Bob: Hello" }
]
},
{
"type": "extension",
"attrs": {
"extensionKey": "23392b90-4271-4239-98ca-a3e96c663cbb/63d4d207-ac2f-4273-865c-0240d37f044a/static/mermaid-diagram",
"extensionType": "com.atlassian.ecosystem",
"parameters": { "localId": "mermaid-1" },
"localId": "mermaid-1"
}
}
]
}Key points:
The
extensionKeyis for the Mermaid diagrams viewer app by Atlassian Labs (must be installed on your Confluence instance)The
localIdmust be in bothparameters.localIdANDattrs.localIdThe Mermaid macro auto-detects code blocks by position (1st extension → 1st code block, 2nd → 2nd, etc.)
Use
"parameters": { "index": N }to explicitly select which code block (0-based index)
Finding Extension Keys for Other Forge Apps
To find the extension key for other Forge apps:
Manually insert the macro on a Confluence page
Fetch the page with
bodyFormat: "atlas_doc_format"Look for the
extensionKeyin the extension node
CQL Search Examples
The confluence_cql_search tool uses Confluence Query Language (CQL):
# Search by content type
type=page AND space=DEV
# Full-text search
text~"search term"
# Search by creator
creator=currentUser()
# Search by date
created>=now("-7d")
# Combined search
type=page AND space=DEV AND text~"api" AND created>=now("-30d")Development
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Run with inspector
npm run inspectorSelf-Healing Agents
This repository includes AI agents for automated maintenance in scripts/agents/:
BugFixAgent: Reads bug issues, validates them, implements fixes, and creates PRs
PRReviewAgent: Reviews pull requests, identifies issues, and suggests improvements
Running Agents
cd scripts/agents
npm install
# Run bug fix agent
GITHUB_TOKEN=xxx ISSUE_NUMBER=123 npm run bug-fix
# Run PR review agent
GITHUB_TOKEN=xxx PR_NUMBER=123 PR_DIFF_FILE=diff.txt npm run pr-reviewSupported AI Providers
The agents support multiple AI providers with automatic fallback:
Google AI (Gemini)
OpenAI (GPT-4)
Anthropic (Claude)
Groq
Mistral
Perplexity
DeepSeek
OpenRouter
Set at least one API key:
GOOGLE_API_KEY=xxx
OPENAI_API_KEY=xxx
ANTHROPIC_API_KEY=xxx
# etc.License
MIT
Available Tools
63 toolsconfluence_add_blog_post_labelA
Add a label to a blog post. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: label (required), blogPostId (required), full, prefix.
confluence_add_page_labelA
Add a label to a page. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: label (required), pageId (required), full, prefix.
confluence_add_space_labelA
Add a label to a space. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: label (required), spaceId (required), full, prefix.
confluence_cql_searchA
Search Confluence using CQL (Confluence Query Language). Use this for advanced searches of pages, blog posts, attachments, and comments. Supports complex queries with operators like AND, OR, text~, created>=, etc. Results are paginated - if you don't find what you need, use the returned cursor to fetch more pages until found or no more results. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: cql (required), full, limit, cursor.
confluence_create_blog_postA
Create a new blog post in a space. Requires space ID, title, and body content. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: body (required), title (required), spaceId (required), full, +1 more.
confluence_create_pageA
Create a new page in a space. Requires space ID, title, and body content. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: body (required), title (required), spaceId (required), full, +3 more.
confluence_create_page_from_markdownA
Create a new page from Markdown. Converts to Atlassian Document Format (ADF) — the recommended path for modern Confluence Cloud. Renders ```mermaid code blocks natively as Mermaid diagrams (via the Confluence Mermaid app). Supports headings, bold/italic/strikethrough, links, images (as external media), ordered/unordered lists, tables, blockquotes, code blocks with syntax highlighting, inline code, and horizontal rules. For large documents, use markdownFilePath instead of markdown to avoid tool call size limits. Use confluence_create_page_from_markdown_legacy only if the target instance has ADF disabled. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: spaceId (required), full, title, status, +3 more.
confluence_create_page_from_markdown_legacyA
Legacy: create a page using Confluence storage format (XHTML). Prefer confluence_create_page_from_markdown (ADF) — use this only when targeting an instance that has ADF disabled. Supports headings, bold/italic/strikethrough, links, images, ordered/unordered lists, tables, blockquotes, code blocks (with syntax highlighting), inline code, and horizontal rules. ```mermaid code blocks render as syntax-highlighted code, NOT as Mermaid diagrams (the storage code macro can't host the Mermaid extension). For large documents, use markdownFilePath instead of markdown to avoid tool call size limits. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: spaceId (required), full, title, status, +3 more.
confluence_create_page_propertyB
Create a content property on a page.
Inputs: key (required), value (required), pageId (required).
confluence_create_spaceA
Create a new space. Requires name and key. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: key (required), name (required), full, type, +1 more.
confluence_delete_attachmentC
Delete an attachment.
Inputs: attachmentId (required), purge.
confluence_delete_blog_postA
Delete a blog post. By default moves to trash; use purge=true to permanently delete.
Inputs: blogPostId (required), draft, purge.
confluence_delete_pageA
Delete a page. By default moves to trash; use purge=true to permanently delete.
Inputs: pageId (required), draft, purge.
confluence_delete_page_propertyB
Delete a content property from a page.
Inputs: pageId (required), propertyId (required).
confluence_delete_spaceA
Delete a space. This permanently deletes the space and all its content.
Inputs: spaceId (required).
confluence_get_attachmentA
Get a specific attachment by ID. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: attachmentId (required), full, version.
confluence_get_blog_postB
Get a specific blog post by ID. Returns detailed blog post information including body content. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: blogPostId (required), full, version, getDraft, +4 more.
confluence_get_blog_post_attachmentsA
Get attachments on a specific blog post. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: blogPostId (required), full, limit, cursor, +2 more.
confluence_get_blog_post_labelsA
Get labels on a specific blog post. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: blogPostId (required), full, limit, cursor, +1 more.
confluence_get_blog_postsA
Get all blog posts. Returns blog posts filtered by various parameters. Results are paginated - use the returned cursor to fetch more pages if you don't find what you need. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: full, limit, title, cursor, +3 more.
confluence_get_blog_posts_in_spaceA
Get all blog posts in a specific space. Results are paginated - use the returned cursor to fetch more pages if you don't find what you need. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: spaceId (required), full, limit, title, +3 more.
confluence_get_blog_post_versionA
Get a specific version of a blog post. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: blogPostId (required), versionNumber (required), full.
confluence_get_blog_post_versionsA
Get version history for a specific blog post. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: blogPostId (required), full, limit, cursor, +1 more.
confluence_get_current_userA
Get information about the currently authenticated user (the user associated with the API token). Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: full.
confluence_get_pageA
Get a specific page by ID. Returns detailed page information including body content. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, version, getDraft, +4 more.
confluence_get_page_ancestorsA
Get ancestors (parent pages) of a specific page, from immediate parent to root. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, limit.
confluence_get_page_attachmentsA
Get attachments on a specific page. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, limit, cursor, +2 more.
confluence_get_page_childrenA
Get direct children of a specific page. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, limit, cursor.
confluence_get_page_descendantsA
Get descendants (child pages, grandchildren, etc.) of a specific page. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, limit, cursor.
confluence_get_page_inline_commentsA
Get inline comments on a specific page. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, limit, cursor, +2 more.
confluence_get_page_labelsA
Get labels on a specific page. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, limit, cursor, +1 more.
confluence_get_page_propertiesC
Get content properties for a specific page. Results are paginated - use the returned cursor to fetch more if needed.
Inputs: pageId (required), limit, cursor.
confluence_get_page_propertyB
Get a specific content property by key for a page.
Inputs: pageId (required), propertyId (required).
confluence_get_pagesA
Get all pages. Returns pages filtered by various parameters. Results are paginated - use the returned cursor to fetch more pages if you don't find what you need. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: full, limit, title, cursor, +3 more.
confluence_get_pages_for_labelA
Get all pages with a specific label. Results are paginated - use the returned cursor to fetch more pages if you don't find what you need. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: labelId (required), full, limit, cursor, +2 more.
confluence_get_pages_in_spaceA
Get all pages in a specific space. Results are paginated - use the returned cursor to fetch more pages if you don't find what you need. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: spaceId (required), full, depth, limit, +4 more.
confluence_get_page_versionA
Get a specific version of a page. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), versionNumber (required), full.
confluence_get_page_versionsA
Get version history for a specific page. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: pageId (required), full, limit, cursor, +1 more.
confluence_get_server_infoA
Get information about the Confluence server/cloud instance, including the cloud ID.
Inputs: no named parameters.
confluence_get_spaceA
Get a specific space by ID or key. Returns detailed space information. Provide either spaceId (numeric) or spaceKey (e.g. 'ENG' or '~712020...' for personal spaces). When spaceKey is given, it is resolved to a numeric id via /spaces?keys=... Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: full, spaceId, spaceKey, includeLabels, +3 more.
confluence_get_space_labelsA
Get labels on a specific space. Results are paginated - use the returned cursor to fetch more if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: spaceId (required), full, limit, cursor, +1 more.
confluence_get_spacesA
Get all spaces. Returns spaces filtered by various parameters. Results are paginated - use the returned cursor to fetch more pages if you don't find what you need. To find a space by name, use nameContains (case-insensitive substring match), which auto-pages server-side and returns matching results without forcing the caller to walk every page. For an exact-name lookup, CQL search (type = "space" AND title = "...") is also fast. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: ids, full, keys, sort, +8 more.
confluence_get_userA
Get a specific user by account ID. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: accountId (required), full.
confluence_get_usersA
Get multiple users. Results are paginated - use the returned cursor to fetch more pages if you don't find what you need. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: full, limit, cursor.
confluence_remove_blog_post_labelB
Remove a label from a blog post.
Inputs: labelId (required), blogPostId (required).
confluence_remove_page_labelC
Remove a label from a page.
Inputs: pageId (required), labelId (required).
confluence_remove_space_labelB
Remove a label from a space.
Inputs: labelId (required), spaceId (required).
confluence_render_bodyA
Render a page body that was offloaded to disk by an earlier read. Reads the file at bodyPath (returned by confluence_get_page / _blog_post / _comment when the body exceeds the inline limit) and converts the raw Confluence body (ADF JSON or storage XHTML) to markdown. No additional Confluence API call is made. Default response: { representation, sourceLength, bodyMarkdown } for format="markdown", or { representation, sourceLength, bodyRaw } for format="raw". If outputPath is provided, the rendered output is written to that file instead and the response omits the body, carrying { representation, sourceLength, outputPath, bytesWritten }. Use outputPath when restoring a doc to disk so the content doesn't pass through the agent's context.
Inputs: bodyPath (required), format, outputPath.
confluence_search_contentA
Simple text search for pages and blog posts by title or content. For more complex searches, use confluence_cql_search instead. Results are paginated - if you don't find what you need, use the returned cursor to fetch more pages until found or no more results. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: query (required), full, type, limit, +1 more.
confluence_search_generic_contentA
Search for generic content types: databases, whiteboards, folders, or embeds. NOT for pages or blog posts — use confluence_cql_search or confluence_search_content for those. Results are paginated — use the returned cursor to fetch more pages if needed. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: type (required), full, limit, title, +2 more.
confluence_update_blog_postA
Update an existing blog post. Requires blog post ID, new title, body, and current version number. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: body (required), title (required), version (required), blogPostId (required), +3 more.
confluence_update_pageA
Update an existing page. Requires page ID, new title, body, and current version number. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: body (required), title (required), pageId (required), version (required), +4 more.
confluence_update_page_from_markdownA
Update an existing page from Markdown. Converts to Atlassian Document Format (ADF) — the recommended path for modern Confluence Cloud. Renders ```mermaid code blocks natively as Mermaid diagrams (via the Confluence Mermaid app). Supports headings, bold/italic/strikethrough, links, images (as external media), ordered/unordered lists, tables, blockquotes, code blocks with syntax highlighting, inline code, and horizontal rules. For large documents, use markdownFilePath instead of markdown to avoid tool call size limits. Use confluence_update_page_from_markdown_legacy only if the target instance has ADF disabled. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: title (required), pageId (required), version (required), full, +4 more.
confluence_update_page_from_markdown_legacyA
Legacy: update a page using Confluence storage format (XHTML). Prefer confluence_update_page_from_markdown (ADF) — use this only when targeting an instance that has ADF disabled. Supports headings, bold/italic/strikethrough, links, images, ordered/unordered lists, tables, blockquotes, code blocks (with syntax highlighting), inline code, and horizontal rules. ```mermaid code blocks render as syntax-highlighted code, NOT as Mermaid diagrams (the storage code macro can't host the Mermaid extension). For large documents, use markdownFilePath instead of markdown to avoid tool call size limits. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: title (required), pageId (required), version (required), full, +4 more.
confluence_update_page_propertyB
Update a content property on a page.
Inputs: key (required), value (required), pageId (required), version (required), +1 more.
confluence_update_spaceA
Update an existing space. Can update name, description, etc. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Inputs: spaceId (required), full, name, status, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 63 tools
Each tool targets a distinct Confluence resource and action, with highly detailed descriptions that clearly differentiate similar tools (e.g., multiple page-getters by space, label, or general filter). No overlap is apparent.
All tools follow the consistent pattern 'confluence_verb_noun', with verbs like get, create, update, delete, add, remove, search. Exceptions like 'create_page_from_markdown_legacy' are clearly suffixed for legacy variants, maintaining a predictable structure.
At 63 tools, the set is significantly oversized for typical MCP usage. While each tool may serve a purpose, the sheer volume makes navigation and selection difficult for an agent, exceeding the recommended 3-15 range.
The tool surface covers the vast majority of Confluence operations: pages, blog posts, spaces, comments, labels, attachments, versions, properties, search, users, and server info. Minor gaps exist (e.g., no explicit tool to create inline comments), but core workflows are well-covered.
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
CellMath is a governed AI memory and knowledge-cell MCP server designed to stop context bloat, unverified memory drift, and agent hallucinations. Instead of dumping raw, noisy RAG chunks into every turn, CellMath organizes persistent agent knowledge into structured, isolated Knowledge Cells with causal graph edges and strict write-time governance—keeping the full 3-tool MCP schema ultra-compact (~1,200 tokens). Core 3-Tool Pipeline: • vault_access — Read-only lookup, cell hydration, and graph edge traversal with strict zero-match silence (never fabricates context when no verified cell exists). • verify_safety — Preflight security and policy gate that blocks destructive or unsafe operations before execution. • vault_commit — Governed state mutation (store, update, causal edges, session checkpoints, and 4-tier purge) enforcing source provenance. Built for Claude, Cursor, ChatGPT, Gemini, and autonomous agents over Streamable HTTP.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that optimizes token usage by caching data during language model interactions, compatible with any language model and MCP client.42ISC
- FlicenseBqualityDmaintenanceA Model Context Protocol server that reduces token consumption by efficiently caching data between language model interactions, automatically storing and retrieving information to minimize redundant token usage.425-
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to access and search Atlassian Confluence content, allowing integration with your organization's knowledge base.56,720 npm63ISC
- AlicenseAqualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.913MIT