Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview
On this page

Deploy behind MCPHub

Recommended team setup — MCPHub owns users and the credential vault, atlassian-dc-mcp enforces the policy layer MCPHub has no concept of.

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 — unbound users 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 server

Run the container somewhere MCPHub can reach it, with your policy mounted:

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" \
  ghcr.io/whjvenyl/atlassian-dc-mcp:latest

GET /healthz for liveness. The server is stateless — scale freely.

Register it in MCPHub

Add it as a streamable-http server 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 instead.

Write your policy

policy.yaml decides what the whole deployment — and each user — may reach. Global caps apply to everyone, per-user rules can only narrow:

global:
  confluence: { allowedSpaces: ["TEAM", "DOC"] }
  jira:       { allowedProjects: ["SUP", "PLAT"] }
  allowWrites: false
users:
  alice:
    confluence: { spaces: ["TEAM", "DOC"] }
    jira:       { projects: ["SUP", "PLAT"] }

Full semantics: Policy.

Last updated on

Was this page helpful?