API Token (Cloud) - Recommended
The simplest method for Atlassian Cloud users.1
Create API Token
2
Generate Token
Click Create API token, give it a name
3
Copy Token
Copy the token immediately - you won’t see it again
Personal Access Token (Server/Data Center)
For Server or Data Center deployments.1
Access Profile
Go to your profile (avatar) → Profile → Personal Access Tokens
2
Create Token
Click Create token, name it, set expiry
3
Copy Token
Copy the token immediately
For multi-user HTTP deployments where clients send their own PATs, follow the
Server/DC per-request authentication setup.
That setup uses non-empty server-side PAT values only to initialize the service
configuration; each request’s
Authorization: Token ... value replaces them.Enterprise CA certificates in the OS trust store (Windows Certificate Store, macOS Keychain, Linux system CAs) are trusted automatically.
For self-signed certificates not in the OS trust store, set
JIRA_SSL_VERIFY=false and/or CONFLUENCE_SSL_VERIFY=false.Client Certificate (mTLS) (Server/Data Center)
Use mutual TLS when your Jira or Confluence Server/Data Center instance requires a client certificate. This authentication method does not require a username, API token, or personal access token. Set*_CLIENT_CERT to either a combined certificate-and-private-key PEM, or set it with the matching *_CLIENT_KEY when the certificate and key are separate files:
*_CLIENT_KEY. The matching JIRA_* and CONFLUENCE_* variables configure each service independently.
If your Server/DC instance uses a self-signed or internal CA certificate alongside mTLS, set
JIRA_SSL_VERIFY=false and/or CONFLUENCE_SSL_VERIFY=false as well.When using mTLS as the sole authentication method, MCP clients that connect without an Only set this when the server is not exposed to untrusted callers, as it allows any unauthenticated client to transact under the operator’s certificate identity.
Authorization header (such as a locally running OpenCode instance) will be rejected by default. Set ALLOW_GLOBAL_CRED_FALLBACK=true to allow the server to use the configured certificate credentials for requests that carry no per-request auth header:OAuth 2.0 (Cloud) - Advanced
OAuth 2.0 provides enhanced security features but requires more setup. For most users, API Token authentication is simpler and sufficient.Setup Steps
1
Create OAuth App
Go to Atlassian Developer Console and create an “OAuth 2.0 (3LO) integration” app
2
Configure Permissions
Add scopes for Jira/Confluence as needed
3
Set Callback URL
Set to
http://localhost:8080/callback4
Run Setup Wizard
5
Complete Authorization
Follow prompts for Client ID, Secret, URI, and Scope, then complete browser authorization
MCP OAuth Proxy (DCR + Discovery)
Enable this when running a remote MCP endpoint that should onboard MCP clients through the standard OAuth discovery/DCR flow (401 challenge, /.well-known/*,
/register, /authorize, /token, callback).
This mode is opt-in. Existing API token, PAT, and header-based OAuth flows continue
to work without enabling the proxy.
Bring Your Own Token (BYOT)
If you manage OAuth tokens externally (e.g., through a central identity provider):Multi-Cloud OAuth
For multi-tenant applications where users provide their own OAuth tokens:-
Enable minimal OAuth mode:
-
Users provide authentication via HTTP headers:
Authorization: Bearer <user_oauth_token>X-Atlassian-Cloud-Id: <user_cloud_id>