confluence-adf-mcp
Provides tools for reading, writing, and editing Confluence pages in native Atlassian Document Format (ADF), including page management, content editing, table operations, task management, comments, attachments, labels, versions, properties, and access control.
Click on "Install 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., "@confluence-adf-mcpfind and replace 'old' with 'new' on page 123456"
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.
confluence-adf-mcp
MCP server for reading and writing Confluence pages in native ADF (Atlassian Document Format).
Why this exists
Confluence stores pages in ADF (Atlassian Document Format), a structured JSON format. Most tools convert to/from HTML or plain text, losing structure, formatting, and metadata in the process. This MCP server works with ADF directly, so edits are precise — find/replace, table updates, and mention swaps happen at the document node level without corrupting the surrounding content.
Related MCP server: MCP Atlassian Node Server
Setup
Requirements
Python 3.12+
A Confluence Cloud instance with API access
Environment variables
export CONFLUENCE_URL="https://your-domain.atlassian.net/wiki"
export CONFLUENCE_USERNAME="you@example.com"
export CONFLUENCE_API_TOKEN="your-api-token"Generate an API token at https://id.atlassian.com/manage-profile/security/api-tokens.
OAuth 2.0 (optional)
Instead of basic auth, you can use OAuth 2.0 (3LO). Set these three environment variables:
export CONFLUENCE_OAUTH_CLIENT_ID="your-oauth-client-id"
export CONFLUENCE_OAUTH_CLIENT_SECRET="your-oauth-client-secret"
export CONFLUENCE_OAUTH_REFRESH_TOKEN="your-initial-refresh-token"If all three are set, the server uses OAuth automatically; otherwise it falls back to basic auth (CONFLUENCE_USERNAME / CONFLUENCE_API_TOKEN).
Rotating refresh tokens are persisted to .cache/confluence/.oauth_tokens.json so the server can restart without re-authorizing.
See Atlassian OAuth 2.0 (3LO) documentation for how to create an OAuth app and obtain the initial refresh token.
Claude Code configuration
Copy .env.example to .env and fill in your credentials. The server loads .env automatically.
Add to .claude/settings.json:
{
"mcpServers": {
"confluence-adf": {
"command": "uvx",
"args": ["--from", "git+https://github.com/karbassi/confluence-adf-mcp", "confluence-adf-mcp"]
}
}
}Tools
Pages
Tool | Description |
| Fetch a page and cache it locally |
| Create a new page with ADF content |
| Push cached page edits to Confluence |
| Extract plain text from a page |
| Duplicate a page |
| Archive a page (with confirmation) |
| Move a page to a new parent (with confirmation) |
| Revert a page to a previous version |
Editing
Tool | Description |
| Find/replace text in cached page |
| Fetch, find/replace, and push in one step |
| Regex find/replace on a page |
| Swap @mentions between users |
| Add a hyperlink to a page |
Tables
Tool | Description |
| Update a single table cell |
| Insert a row into a table |
| Delete a row from a table |
Tasks
Tool | Description |
| Toggle task checkbox state (DONE/TODO) |
Discovery
Tool | Description |
| Search pages with CQL |
| List pages in a space |
| Get child pages |
| Get parent chain |
| List spaces |
| Get unique page contributors |
| Resolve account ID to display name |
Labels
Tool | Description |
| Get labels on a page |
| Add labels to a page |
| Remove a label from a page |
Versions
Tool | Description |
| List version history |
| Diff two versions as text |
Comments
Tool | Description |
| Add a footer comment |
| List footer comments |
| Add an inline annotation comment |
| List inline comments |
Attachments
Tool | Description |
| List attachments on a page |
| Upload a file as an attachment |
| Download an attachment to a local file |
| Delete an attachment (with confirmation) |
Properties
Tool | Description |
| Get content properties |
| Set a content property |
Access Control
Tool | Description |
| Set read/update restrictions |
| Watch or unwatch a page |
Cache
Tool | Description |
| List locally cached pages |
| Clear page cache |
Contributing
See CONTRIBUTING.md.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server implementation for interacting with self-hosted Confluence Data Center or Server instances via search, content retrieval, and optional write operations. It features space auto-discovery, audit logging, and granular access control for secure enterprise collaboration.Last updated
- Alicense-qualityDmaintenanceProduction-ready MCP server for Atlassian Jira and Confluence, providing tools for issue management, page retrieval, and content operations.Last updated541MIT
- AlicenseAqualityCmaintenanceMCP server for Confluence Cloud/Server/Data Center, enabling page search, CQL queries, page CRUD, attachment upload, and user identity lookup.Last updated234824MIT
- Alicense-qualityDmaintenanceMCP server for administering Atlassian Confluence Cloud wiki pages, supporting CRUD operations, page navigation, comments, attachments, and more.Last updated1GPL 3.0
Related MCP Connectors
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/karbassi/confluence-adf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server