Skip to main content
Glama

confluence-mcp

MCP server for Confluence REST API. Bearer token (PAT) auth.

API documentation:

Setup

Environment variables

Variable

Required

Description

CONFLUENCE_URL

yes

REST API base URL, e.g. https://wiki.example.com/rest/api

CONFLUENCE_TOKEN

yes

Personal Access Token

CONFLUENCE_VERIFY_SSL

no

true (default) / false

Creating a Personal Access Token (PAT)

curl -s -u 'your-username:your-password' \
  -X POST -H "Content-Type: application/json" \
  -d '{"name":"my-mcp-token"}' \
  "https://wiki.example.com/rest/pat/latest/tokens"
# Save rawToken from the response — it won't be shown again

Claude Desktop / Claude Code — uvx (no install)

{
  "mcpServers": {
    "confluence": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/mainpart/confluence-mcp", "confluence-mcp"],
      "env": {
        "CONFLUENCE_URL": "https://wiki.example.com/rest/api",
        "CONFLUENCE_TOKEN": "your-pat-token"
      }
    }
  }
}

Related MCP server: confluence-mcp-server

Tools (5)

Tool

Description

get_content_by_id

Page with body (storage format), ancestors, child pages, attachments

download_attachment

Download attachment by content ID and attachment ID

get_spaces

List spaces (key + name), filter by type, status, label

get_comments

Page comments (footer + inline with markerRef and originalSelection)

search

Full-text search with filters: title, space, type, creator, contributor, label, ancestor, parent, dates

License

MIT

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

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/mainpart/confluence-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server