atlassian-dc-mcp
Provides MCP access to self-hosted Atlassian Data Center, with policy-scoped tools for Confluence and Jira.
Provides tools to search Confluence with CQL scope injection, retrieve pages and child pages, list spaces, and create pages, subject to space allowlists and write gating.
Provides tools to search Jira issues with JQL scope injection, retrieve issues, list projects, and create issues, subject to project allowlists and write gating.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
atlassian-dc-mcp
Docs: whjvenyl.github.io/atlassian-dc-mcp (Jira REST reference · Confluence REST reference · release notes)
MCP server for self-hosted Atlassian Data Center — Confluence and Jira — with per-user PAT passthrough and a server-side policy that caps what each user (or everyone) can reach.
On Atlassian Cloud, use the official Rovo MCP (
https://mcp.atlassian.com/v2/mcp) — OAuth 2.1, admin data policies, audit logging included. This project exists because the official server does not support Data Center / self-hosted instances, where auth is PAT-based and the policy layer has to live in the deployment.
flowchart LR
subgraph users["Users (each with own PAT)"]
U1["user A"]
U2["user B"]
end
hub["atlassian-dc-mcp<br/>· policy check<br/>· CQL/JQL scope injection<br/>· audit log"]
subgraph dc["Data Center"]
C["Confluence"]
J["Jira"]
end
U1 -- "X-Confluence-PAT / X-Jira-PAT" --> hub
U2 -- "X-Atlassian-PAT" --> hub
hub -- "PAT + scoped queries" --> C
hub -- "PAT + scoped queries" --> J
pol["policy.yaml<br/>global cap ∩ user rules"] -.enforced by.-> hubEffective access per request = PAT's DC permissions ∩ global cap ∩ user rules. Layers only ever narrow — a user's PAT can never reach outside the server policy, and the server itself stores no credentials.
Compatibility
minimum | notes | |
Confluence DC | 7.9+ for PAT auth | PATs introduced in 7.9; on older versions use |
Jira DC | 8.14+ for PAT auth | PATs introduced in 8.14; same |
REST endpoints used | mostly long-stable | core calls exist since Confluence 5.x / Jira 7.x; Jira Software for |
Node | 20+ | for npm/source installs; binaries and Docker need nothing |
Endpoints called, per product:
flowchart TB
subgraph conf["Confluence — /rest/api/*"]
c1["GET content/search?cql=…&expand=content.space"]
c2["GET content/{id}?expand=body.storage,version,space"]
c3["GET content/{id}/child/page · child/comment"]
c4["GET space"]
c5["POST + PUT content (write-gated)"]
c6["GET user/current (identity)"]
end
subgraph jira["Jira — /rest/api/2/*"]
j1["GET search?jql=…"]
j2["GET issue/{key}?fields=… · expand=changelog · issuelinks · attachment"]
j3["GET project · project/{k}/versions · project/{k}/components"]
j4["GET issue/{key}/transitions · comment · worklog · watchers"]
j5["POST issue · transitions · comment · worklog · issueLink · attachments<br/>PUT issue · watchers · comment (write-gated)"]
j6["GET myself · serverInfo · field · createmeta (meta)"]
j7["GET user/assignable/search · user (users)"]
end
subgraph agile["Jira Software — /rest/agile/1.0/*"]
a1["GET board · board/{id}/issue · board/{id}/sprint"]
a2["GET sprint/{id}/issue · epic/{key}/issue · issue/{key}"]
a3["POST sprint · epic/{key}/issue<br/>PUT sprint/{id} (write-gated)"]
endIdentity resolution tries user/current (Confluence-style) then
myself (Jira-style) — works against either product's credential.
createmeta is version-tolerant: DC 11's path form
(issue/createmeta/{project}/issuetypes/{id}) is tried first, with the
legacy ?projectKeys=&expand= query form as fallback for DC 8/9/10.
Every Jira endpoint above was audited against the DC 11.2.1 OpenAPI
spec. If a tool errors on an exotic version, the audit log + the tool's
error name the failing call.
Related MCP server: Atlassian Data Center MCP
Which setup is yours?
Local, single user | Team via MCPHub | Shared endpoint, direct | |
Who | You, on your machine | Many users, one admin | Many users, one admin |
Where PATs live | Your client config | MCPHub's encrypted vault | Each user's client config |
User identity | You | MCPHub accounts/SSO | Resolved from the PAT itself |
Policy | optional ( | server-side, admin-owned | server-side, admin-owned |
Setup effort | ~2 min | admin deploys once | admin deploys + ingress |
👤 Just me → jump to Local single-user
👥 Team → Deploy behind MCPHub
🤖 Agent doing the setup → Let your agent set it up
Local single-user
Install
# pick one:
npm install -g atlassian-dc-mcp # needs Node 20+
npx atlassian-dc-mcp # no install
# or grab a standalone binary (no Node needed) from Releases:
# atlassian-dc-mcp-{linux,darwin}-{x64,arm64}, windows-x64.exe
# or: docker run ghcr.io/<owner>/atlassian-dc-mcpConfigure
export CONFLUENCE_BASE_URL=https://confluence.corp.example
export JIRA_BASE_URL=https://jira.corp.example # either one is enough
# self-signed CA on your DC instances?
export NODE_EXTRA_CA_CERTS=/path/to/corp-ca.pempolicy.yaml in the working directory is optional for single-user use —
without it the server is uncapped and your PAT's DC permissions apply as-is.
Copy policy.example.yaml if you want a cap anyway.
Connect your client
{
"mcpServers": {
"atlassian-dc": {
"type": "http",
"url": "http://localhost:3000/mcp",
"headers": {
"X-Confluence-PAT": "<your confluence PAT>",
"X-Jira-PAT": "<your jira PAT>"
}
}
}
}One PAT covering both products? X-Atlassian-PAT: <pat> or plain
Authorization: Bearer <pat> works too.
Start it (atlassian-dc-mcp, listens on :3000), check
curl localhost:3000/healthz, done.
Deploy behind MCPHub (recommended for teams)
MCPHub already solves what this server deliberately doesn't: user accounts/SSO, a per-user credential vault (AES-256-GCM bindings), and a per-user tool-call activity log. Put it in front and responsibilities split cleanly:
MCPHub owns users and vaults each person's PAT, injecting it into upstream requests per call. Users bind their own PAT under Credentials — nobody else's is visible, and unbound users simply get a "bind credentials" instruction.
atlassian-dc-mcp stays credential-free and only enforces
policy.yaml— the layer MCPHub has no concept of.
Deploy the container somewhere MCPHub can reach it, mount your
policy.yaml, then register it in MCPHub as streamable-http pointing
at http://<your-host>:3000/mcp with credential slots
(examples/mcphub-settings.json):
"credentialTemplate": [
{ "target": "headers", "name": "X-Confluence-PAT", "label": "Confluence PAT" },
{ "target": "headers", "name": "X-Jira-PAT", "label": "Jira PAT" }
]One PAT covering both products → a single X-Atlassian-PAT slot.
Precedence per service: X-<service>-PAT > X-Atlassian-PAT > Authorization.
Result: two enforcement layers, neither holding the other's secrets — MCPHub's activity log answers who called what, our policy + audit log answers what they were allowed to reach.
Shared endpoint, direct (no MCPHub)
Works too: terminate TLS at your ingress (PATs transit in headers — TLS
is not optional in a real deployment), each user configures their own
PAT in their MCP client as in the local example, and per-user policy
rules still apply because identity is resolved from the PAT
(/rest/api/user/current, cached 5 min) — never from a spoofable header.
docker run -p 3000:3000 \
-e CONFLUENCE_BASE_URL=https://confluence.corp.example \
-e JIRA_BASE_URL=https://jira.corp.example \
-v "$PWD/policy.yaml:/app/policy.yaml:ro" \
-v "$PWD/corp-ca.pem:/etc/ssl/corp-ca.pem:ro" \
-e NODE_EXTRA_CA_CERTS=/etc/ssl/corp-ca.pem \
ghcr.io/<owner>/atlassian-dc-mcp:latestGET /healthz for liveness. Stateless — scale freely.
Policy
POLICY_PATH (default ./policy.yaml), hot-reloaded on change.
See policy.example.yaml for the full commented version.
global:
confluence:
allowedSpaces: ["TEAM", "DOC"] # hard cap, applies to EVERYONE
# readOnly: true # deny confluence_* writes for all
jira:
allowedProjects: ["SUP", "PLAT"]
allowWrites: false # writes globally off by default
defaults: # callers with no entry under users:
confluence: { spaces: ["TEAM"] }
jira: { projects: ["SUP"] }
users: # Atlassian usernames, resolved
alice: # from the caller's PAT
confluence: { spaces: ["TEAM", "DOC"] }
jira: { projects: ["SUP", "PLAT"] }Semantics:
allowedSpaces/allowedProjectsunset → no cap at that layeruser/default lists are intersected with the global cap — a user rule naming a space outside the cap gets nothing (fail closed)
identity can't be resolved →
defaultsapply; nodefaults→ global cap onlyallowWrites: falseorreadOnly→ write tools stay visible but refuse with an explanatory errorempty/missing policy file → uncapped (PAT's DC permissions still apply)
Tools
93 tools (58 Jira + 35 Confluence) — narrow with TOOLSETS /
ENABLED_TOOLS; filtered tools never register. Per-tool
parameter docs on the
site; the live REST reference sits under
/api/jira and
/api/confluence.
tool | enforcement |
| allowlist AND-ed into CQL; |
| page's space checked; by ID or title+space |
| children filtered by space |
| page's space checked |
| page's space checked |
| page's space checked |
| owning space checked |
| owning space checked; path on MCP host |
| root space checked + post-filter |
| page's space checked |
| unscoped — caller's own body |
| page's space checked |
| space checked |
| parent page's space checked; footer/inline + replies |
| page's space checked |
| filtered to effective scope |
| space checked |
| space checked |
| PAT identity |
| read |
| write-gated + space checked |
| write-gated + space checked, auto-bumps version |
| write-gated + space checked (trash) |
| write-gated + both spaces checked |
| write-gated + space checked |
| write-gated + content's space checked |
| write-gated + space checked |
| write-gated + space checked |
| write-gated + space checked; path on MCP host |
| write-gated + space checked |
| write-gated + comment's space checked |
| write-gated + space checked; anchors to text |
| page's space checked |
| write-gated + space checked |
| allowlist AND-ed into JQL; |
| read |
| project checked |
| project checked |
| project checked |
| issue's project checked post-fetch |
| issue's project checked |
| issue's project checked |
| issue's project checked |
| issue's project checked |
| attachment verified against issue |
| unscoped instance metadata |
| project checked |
| project checked |
| unscoped list |
| board project + post-filter |
| board project checked |
| issues post-filtered |
| issue's project checked |
| epic project + post-filter |
| issue's project checked |
| issue's project checked |
| filtered to effective scope |
| PAT identity |
| project checked |
| issue's project checked |
| read |
| write-gated + project checked |
| write-gated + project checked |
| write-gated + project checked |
| write-gated + project checked, transition by name or ID |
| write-gated + project checked |
| write-gated + project checked |
| write-gated + project checked |
| write-gated + project checked |
| write-gated + project checked |
| write-gated + both projects checked |
| write-gated + project checked |
| write-gated + project checked |
| write-gated + project checked; path on MCP host |
| write-gated + ownership verified |
| write-gated + board project checked |
| write-gated |
| write-gated + all projects checked |
| write-gated + all projects checked |
| board project + post-filter |
| write-gated + all projects checked |
| write-gated + all projects checked |
| board project checked |
| board project + post-filter |
| key-prefix scoped (editmeta carries no project) |
| unscoped — caller's own filters |
| unscoped instance metadata |
| unscoped instance metadata |
| unscoped instance metadata |
| unscoped instance metadata |
| unscoped |
Full parameters: docs site — Jira · Confluence — full page lifecycle, comments, restrictions.
Every call emits one JSON audit line on stderr (tool, resolved user,
denied, ms) — pipe it to your log collector. Credentials never logged.
Configuration
env | default | meaning |
| — | e.g. |
| — | at least one URL required |
|
| listen port |
|
| policy file, hot-reloaded |
| — | comma-separated tool allowlist; unset = all tools |
| — | tool groups: |
| — | extra CA bundle for self-signed DC certs |
Let your agent set it up
Paste this into any capable coding agent:
Set up atlassian-dc-mcp for me (repo: https://github.com/whjvenyl/atlassian-dc-mcp —
the self-hosted **Data Center** server, not a Cloud Atlassian MCP project).
1. Install: download the standalone binary for my OS from the latest
GitHub Release, or npm install -g / npx if Node 20+ is present.
1. Install: download the standalone binary for my OS from the latest
GitHub Release, or npm install -g / npx if Node 20+ is present.
2. Ask me for CONFLUENCE_BASE_URL and/or JIRA_BASE_URL (my DC instance
URLs) and export them; for a self-signed CA ask for the CA path and
set NODE_EXTRA_CA_CERTS.
3. Write a minimal policy.yaml next to it (my allowed Confluence spaces /
Jira projects — ask me which), or skip it for uncapped single-user use.
4. Ask me for my Confluence/Jira PATs (create at
<base>/secure/ViewProfile.jspa → Personal Access Tokens) and wire my
MCP client config to http://localhost:3000/mcp with headers
X-Confluence-PAT / X-Jira-PAT.
5. Start the server, verify /healthz returns {"ok":true}, then run an MCP
tools/list to confirm my tools appear.Deploying the team variant instead? Tell the agent to follow the
MCPHub section — the same
prompt works, with step 4 becoming "register the server in MCPHub with
the credential slots from examples/mcphub-settings.json".
For maintainers: releasing
Releases are driven by release-please:
release-please.yml— conventional commits onmain(feat:/fix:/chore:…) open a Release PR that bumpspackage.json+CHANGELOG.md; merging it creates the tag + GitHub Release and callspublish.ymlwith the tag.publish.yml(workflow_call+workflow_dispatch) — checks out the tag, builds, publishes to npm via trusted publishing, builds the 5-platform binary matrix, and attaches binaries +SHA256SUMSto the Release. Can be re-run manually for any tag.docker.yml— pushesghcr.io/<owner>/atlassian-dc-mcp:<version>on the same tag.
npm auth — trusted publishing only. npm deprecated automation tokens
and granular tokens die with EOTP under publish-2FA, so no credential
is stored at all: publish the first version locally once (npm login +
npm publish), then on npmjs.com set the trusted publisher to this repo
publish.yml, and set repo variableNPM_TRUSTED_PUBLISHING=true. From then on every Release-PR merge publishes via GitHub OIDC. Without the variable the npm step skips and the tag still produces the Release + binaries + GHCR image — re-runpublish.ymlmanually once configured.
Security model, in one breath
Server holds zero secrets — every request carries its own PAT.
DC still enforces the PAT's real permissions; policy only subtracts.
Policy reload is atomic per request; malformed YAML keeps the last good policy.
policy.yamlis gitignored — it belongs to the deployment, not the repo.Agent clients see the scope model in the server
instructionsand are told not to retry-denied calls to work around the policy.
See SECURITY.md for reporting a vulnerability and CHANGELOG.md for release history.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP for Google Workspace, Atlassian and Notion: one OAuth, per-user accounts, write access.
One MCP endpoint for your company's tools, with per-person sign-in, policy and audit.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
Unofficial Confluence MCP — wraps the Confluence Cloud REST API v2 (OAuth)
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server implementation for interacting with self-hosted Confluence Data Center or Server instances via search, content retrieval, and optional write operations. It features space auto-discovery, audit logging, and granular access control for secure enterprise collaboration.-
- AlicenseNot gradedqualityBmaintenanceProvides MCP integration for Atlassian Data Center products including Jira, Confluence, and Bitbucket.110MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to manage self-hosted Atlassian Jira Server/Data Center issues and Bitbucket Server/Data Center repositories, pull requests, branches, commits, and files through MCP tools.51 npm5MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to read, search, create, edit, comment, transition, plan sprints, and write pages in Jira and Confluence Server or Data Center, with personal access tokens sent only to the user's own host.MIT