IDE Integration
Configuration File Locations
Basic Configuration (uvx)
Docker with Environment File
Server/Data Center Configuration
*_CLIENT_CERT, or use *_CLIENT_CERT and the matching *_CLIENT_KEY for separate files:
JIRA_CLIENT_CERT and CONFLUENCE_CLIENT_CERT can point to combined PEM files. If the private key is separate, set JIRA_CLIENT_KEY or CONFLUENCE_CLIENT_KEY as appropriate. Encrypted private keys aren’t supported by the requests library, so decrypt them before starting MCP Atlassian instead of setting JIRA_CLIENT_KEY_PASSWORD or CONFLUENCE_CLIENT_KEY_PASSWORD.
Single Service Configuration
- Confluence Only
- Jira Only
Environment Variables
Connection Settings
Private CA bundle
WhenREQUESTS_CA_BUNDLE (or, if that is unset, CURL_CA_BUNDLE) is set and SSL
verification is on, the Jira and Confluence sessions verify server certificates
against that bundle instead of the default CA set. This also covers PAT and OAuth
sessions, which ignore other environment-provided requests settings so that
.netrc cannot override explicit credentials. Because the bundle replaces the
default CAs, it must also contain the public roots if you connect to Atlassian
Cloud.
The path must be an existing file or directory. If it is not, the Jira or
Confluence client refuses to start with CA bundle configuration is invalid; see server logs. and the offending path is logged server-side only. The check runs
when the client is created, so check the server logs if the first tool call fails
this way. The variables have no effect when JIRA_SSL_VERIFY or
CONFLUENCE_SSL_VERIFY is false.
For the OAuth proxy paths, which use httpx, also set SSL_CERT_FILE to the same
bundle. See HTTP Transport for the
HTTPS listener setup (MCP_SSL_CERTFILE / MCP_SSL_KEYFILE), which requires
MCP_ATLASSIAN_USE_SYSTEM_TRUSTSTORE=false and usually goes together with a
private CA bundle.
Deferred Credentials
Use a*_COMMAND variable instead of storing its token directly. MCP Atlassian
runs the command on the first tool call for that service, trims its standard
output, and reuses the result for the rest of the process. Startup and tool
listing don’t run the command.
The plain token variable takes precedence over its
*_COMMAND counterpart.
API token commands still require the matching *_USERNAME. Commands run
without an implicit shell; invoke one explicitly (for example, sh -c '...')
if you need pipes or redirects. Standard input is closed, so a helper can’t
read from it — this keeps it from consuming the MCP stdio transport.
On Server/Data Center, *_PERSONAL_TOKEN_COMMAND outranks static
username/API-token basic auth, matching the precedence a plain
*_PERSONAL_TOKEN would have. If the command then fails, the eagerly loaded
configuration is used instead, so a locked secret store can’t take down a
server that has other working credentials. On Cloud, OAuth still outranks
*_API_TOKEN_COMMAND, and the command is never run in that case.
On Windows the command string is passed to
CreateProcess unparsed, so use
double quotes (op read "op://Vault/Jira PAT/credential") — POSIX single
quotes don’t quote there. .bat, .cmd, and PowerShell helpers need an
explicit cmd /c or powershell -NoProfile -Command prefix. On POSIX,
arguments follow shlex rules.Filtering Options
Jira Key Validation
Jira tools validate theirissue_key / project_key arguments before calling the
API. The defaults match the Cloud key format, which cannot be changed. On Server/Data
Center the format is an instance setting (jira.projectkey.pattern), so widen these
patterns if your instance allows keys the defaults reject — a leading digit, a single
character, or lowercase. An invalid regex is ignored (a warning is logged) and the
default is kept. Both are read once at startup.
Server Options
See .env.example for all available options.
HTTP Hardening
These safeguards are useful for protecting self-hosted Server/Data Center instances from runaway request loops. Read requests are retried a few times by default; the other safeguards are disabled by default.Proxy Configuration
MCP Atlassian supports routing API requests through HTTP/HTTPS/SOCKS proxies, with optional PAC/WPAD auto-configuration.
Service-specific variables override global ones. PAC/WPAD is opt-in and is
only evaluated when no explicit proxy is configured for that service.
PAC/WPAD support is provided by the optional
wpad extra. Install it with
pip install "mcp-atlassian[wpad]" or uv add "mcp-atlassian[wpad]" before
enabling the feature. The published Docker image includes this extra.
Custom HTTP Headers
Add custom HTTP headers to all API requests. Useful in corporate environments.
Format: Static custom headers use comma-separated
key=value pairs.
Passthrough headers use comma-separated header names.
MCP_ALLOWED_URL_DOMAINS; dynamic URLs are rejected without this allowlist so
trusted session headers cannot be forwarded to an attacker-controlled host.
Header-based PAT requests (X-Atlassian-*-Url with a personal token) forward
passthrough headers only when the URL host is the configured JIRA_URL /
CONFLUENCE_URL host or matches MCP_ALLOWED_URL_DOMAINS; other destinations
receive the caller’s token without any passthrough header.
Header values are masked in debug logs for security.
Tool Filtering
Control which tools are available:Toolset Filtering
Toolsets provide group-level tool control. Instead of listing individual tool names, enable entire groups of related tools at once using theTOOLSETS environment variable.
TOOLSETS=default):
jira_issues, jira_fields, jira_comments, jira_transitions, confluence_pages, confluence_comments
The opt-in legacy toolset contains deprecated tools retained while users
migrate to their replacement tools. Use TOOLSETS=legacy to expose only those
tools, or combine it with another selection such as TOOLSETS=default,legacy.
It is not included in TOOLSETS=default.
When both TOOLSETS and ENABLED_TOOLS are set, they intersect — a tool must pass
both filters. If TOOLSETS is not set, all toolsets are currently enabled.
Unknown toolset names are silently ignored. If all names are unknown, no tools are
enabled (fail-closed behavior to prevent accidental exposure).