confluence-mcp
Provides tools for reading, writing, and managing Confluence pages, including surgical section edits, page tree downloads, image handling, and search.
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-mcpupdate section 'Status' on page 123456 with 'In progress'"
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-mcp
Fast, surgical Confluence MCP server for AI agents.
What makes this different
Unlike generic Atlassian MCP servers, this one is Confluence-only and optimized for how AI agents actually work with documentation:
Surgical section edits — Update a single section by heading name without touching the rest of the page
Fast page tree download — Get an entire page hierarchy in one call
Smart image handling — Upload images as attachments and auto-embed them in pages
Markdown in/out — Read and write in markdown; storage format conversion is automatic
Find & replace — Simple text replacement preserving all HTML structure
Section-aware reading — Fetch just the section you need, not the whole page
Related MCP server: confluence-mcp-server
Installation
Via uvx (recommended for MCP clients)
uvx --from git+https://github.com/1vecera/confluence-mcp confluence-mcpVia pip
pip install git+https://github.com/1vecera/confluence-mcpConfiguration
Set these environment variables:
CONFLUENCE_URL=https://yoursite.atlassian.net
CONFLUENCE_USERNAME=you@company.com
CONFLUENCE_API_TOKEN=your-api-tokenGet your API token at: https://id.atlassian.com/manage-profile/security/api-tokens
Claude Code config
Add to ~/.claude.json:
{
"mcpServers": {
"confluence": {
"command": "uvx",
"args": ["--from", "git+https://github.com/1vecera/confluence-mcp", "confluence-mcp"],
"env": {
"CONFLUENCE_URL": "https://yoursite.atlassian.net",
"CONFLUENCE_USERNAME": "you@company.com",
"CONFLUENCE_API_TOKEN": "your-token"
}
}
}
}Tools
Reading
Tool | Description |
| Get page content in markdown or storage format |
| Download entire page hierarchy at once |
| List all sections with their content |
| Get a specific section by heading name |
| Search via CQL or simple text |
| List all image references in a page |
Writing (surgical)
Tool | Description |
| Update entire page content |
| Replace only a specific section — the key surgical edit tool |
| Add content to end of a section |
| Find and replace text preserving HTML |
| Create a new page |
Attachments & Images
Tool | Description |
| List all attachments on a page |
| Download an attachment by filename |
| Upload a file attachment |
| Upload image + optionally rewrite page to embed it |
Labels
Tool | Description |
| Get labels on a page |
| Add a label to a page |
Examples
Surgical section update
Instead of downloading and re-uploading an entire page:
update_section(page_id="123456", heading="Status", new_content="Project is **on track** for Q2 delivery.")Download entire doc tree
get_page_tree(page_id="123456", include_body=True)Upload and embed an image
upload_image_and_embed(page_id="123456", filename="arch.png", image_base64="...", replace_url="https://old-host.com/arch.png")Development
uv sync --extra dev
uv run pytest --cov=confluence_mcp --cov-report=term-missingLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/1vecera/confluence-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server