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 (6)

Tool

Description

get_content_by_id

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

download_attachment

Download attachment by its download link

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

get_user

User profile by username or userKey

Errors

Every tool returns errors as JSON instead of raising, so a caller can branch on a field: {"error": "api_error" \| "bad_request" \| "unexpected", "message": "...", "status": 403} (status only when the API answered with an HTTP code).

License

MIT

Install Server
F
license - not found
A
quality
C
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.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.

  • MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.

  • A MCP server built for developers enabling Git based project management with project and personal…

View all MCP Connectors

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