Skip to content

Castor for Confluence Data Center

Castor is an MCP server that lets your AI agent read, search, and manage Confluence Data Center content on your behalf — spaces, pages, and more — through natural language instead of raw API calls.

Guides

Full tool reference

Castor implements all 183 cataloged Confluence Data Center REST operations, not just the tools covered by the guide above — per-domain guides for the rest haven't been written yet. For the complete technical reference (every tool, every field, every parameter), see docs/api-catalog.md in the GitLab repo.

Safety and permissions

Some tools — deleting a space, permanently deleting trashed content, restoring a space over its current content, deleting a user or group, and a few others — require the agent to pass confirm: true before they'll run; ask your agent to confirm the specific action if it reports this.

Which tools need an admin PAT. 56 of Castor's 176 tools are admin-tier: they are invisible to the agent entirely unless whoever set Castor up configured CONFLUENCE_ADMIN_TOKEN as well as the ordinary user token. Since the 2026-09-21 live permission audit, that set is decided by what a real Confluence Data Center instance actually enforces, not by a tool's name. Admin-tier means:

  • instance-wide permissions — viewing and changing global permissions for users, groups, anonymous and unlicensed access;
  • user accounts — creating, updating, disabling, deleting users, changing their passwords, listing active users, creating a personal space for someone else;
  • group membership and group lifecycle — creating and deleting groups, adding and removing members (reading groups and their members is not admin-tier);
  • webhooks — all of them;
  • global look and feel — the instance colour scheme;
  • site-scoped backup and all restore administration — whole-instance backups and every restore operation (space-scoped backup jobs are not admin-tier);
  • instance operations — search-index management, the audit log, cluster node statuses, instance metrics.

Some things that sound admin-tier are not, because Confluence gates them on your own account's space permissions rather than on an instance-wide admin right: administering a space's permissions, creating/archiving/deleting a space, restoring a space, space-scoped backup jobs and the backup/restore job list, and reading groups and their members. These work with the ordinary user token, and only for the spaces your account actually administers. If one of them is refused, the answer is a space-permission grant on your account, not an admin token.

"Admin PAT" is not one thing. Of the 52 admin-tier tools the audit could measure, 39 work with a Confluence administrator token, but 13 need a true system administrator: group membership and group creation/deletion, site backup and restore administration, the cluster node list, instance metrics, reindex status, and the long-task detail read. If those specific tools return a permission error while the rest of the admin tools work, CONFLUENCE_ADMIN_TOKEN belongs to a Confluence administrator who is not a system administrator. docs/developer/2026-09-21-permission-audit-results.md in the repo has the measured per-tool table.

Setup

See the main README for installation and configuration, including the required Confluence PAT(s).