Connect Confluence Data Center
Confluence Data Center is Atlassian's self-hosted Confluence: the wiki you run on your own servers. This connector is for that product, not for Confluence Cloud. StackJack connects an AI assistant to…
Written By Christopher Scaminaci
Last updated 13 days ago
Confluence Data Center is Atlassian's self-hosted Confluence: the wiki you run on your own servers. This connector is for that product, not for Confluence Cloud. StackJack connects an AI assistant to your server's REST API.
Connecting Confluence Data Center to StackJack gives your AI assistant a family of confluence_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an AI assistant can
call through StackJack. With them, your AI can:
- Find and read knowledge - search with CQL, list and read pages, blog posts and comments, their history and versions, children and descendants, labels and properties
- Work with spaces - list spaces and their content, trash, labels, properties, watchers and color schemes
- Check who can do what - space and global permissions, content restrictions, users, groups and their members
- Administer the site (on Pro plans) - create, update and delete content, attachments, spaces, users, groups, permissions and webhooks, run site and space backups and restores, and rebuild the search index
- Inspect the server - server information, cluster nodes, instance metrics, long-running tasks, the audit log and the index status
How StackJack authenticates to Confluence
Confluence Data Center uses a personal access token (Data Center 7.9 and later), sent as a bearer token. You create it, StackJack stores it encrypted and sends it only to the address you connected.
Creating the token
- Sign in to Confluence as the user the token should act for.
- Open your profile picture menu, choose Settings, then Personal Access Tokens.
- Choose Create token, give it a name, optionally set an expiry, and copy the token. Confluence shows it once.
The token has the access of the user who creates it, so create it as a user whose permissions match what the AI should be able to do. The administration tools need a Confluence administrator.
Your Confluence address
Copy the address you open Confluence at, including any context path, for example https://wiki.example.com/confluence. StackJack reaches your server from the internet, so it must be
reachable over HTTPS with a publicly trusted certificate. A server that is only reachable on a private network cannot be connected.
Connect it in StackJack
- Open Connectors, then Confluence Data Center.
- Enter the address in Confluence address and the token in Personal access token.
- Click Test connection. StackJack reads the current user. The read changes nothing.
Enter both values again whenever you save the connection, including when you only rename it.
What is worth knowing before you start
Paging
Lists take start (from 0) and limit. StackJack allows up to 1000, and your server applies its own configured maximum on top. Confluence's defaults differ by route.
Version differences
These tools follow Atlassian's Confluence 11.1.0 reference. Servers older than 9.0 do not have the backup and restore, webhook or bulk page families, so those tools answer "not found" there. Two operations that Atlassian marks as deprecated are included and say so in their descriptions.
Changing things
Tools that delete or update content, remove a watcher, change who can see or do things, manage users and groups, restore a site or a space, rebuild the search index or send content to a webhook are on the Pro tier, are marked destructive and ask for approval before they run. Updating content is on that list because Confluence deletes a draft when an update names it. Creating content, adding attachments and labels, and changing presentation settings are Pro but not destructive: Confluence keeps earlier versions. A site restore overwrites the whole site and makes it unavailable while it runs.
Files
Four tools upload a file: an attachment, a new version of an attachment, and a site or space restore from a backup zip. Give the file as base64 or as an https address StackJack fetches, up to 25 MB. A larger backup cannot be restored this way: place it in the server's restore folder and use the restore tool that names a file. The backup download tool answers a temporary download link (valid 30 minutes) for a finished backup, up to 50 MB; a larger backup is fetched from the server itself.
Passwords and credentials
The tools that create users or change passwords take a password, and the webhook tools take (and return) the receiving endpoint's credentials. StackJack never records those arguments or answers and never turns them into download links.
When Confluence refuses a call
- The token is rejected: it is wrong, expired or revoked. Create a new token and paste it again.
- Confluence answers as an anonymous user during the connection test: it did not recognize the token, or a proxy removed the Authorization header.
- The user may not do that (403): the token's user lacks the permission. Create the token as a user with the access the call needs.
- Not found (404): Confluence also answers this when the user may not view the item. Check the id or key with the list tools.
- A conflict (409): a version conflict (read the content again and resubmit with the new version number), a duplicate title, or a job that is already running.
- A single sign-on page answers: your proxy rejects bearer tokens. Allow the
/rest/api/path through it. - Rate limited: your administrator sets Data Center rate limiting. StackJack paces its calls and backs off when asked.
Plans and limits
Reads are available on the Free tier, except the backup file download, which is Pro. Changes are Pro. Business reaches the same tools as Pro and differs by monthly call quota.
See the generated Confluence Data Center tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.
Confluence Data Center tools
confluence_ · 183 tools · Free 93 · Pro 90
Attachments
Backup and restore
Bulk page operations
Content
Index management
Labels, properties and restrictions
Permissions
Search and server
Spaces
Users and groups
Webhooks
Was this helpful?
More in Connector guides
Connect 3CXConnect AbleSignConnect Acronis Cyber Protect CloudConnect Action1Still need help? Ask the team