MCP server for downloading Jira and Confluence Cloud attachments by attachment ID.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Atlassian Attachments.
download_jira_attachmentDownload a Jira attachment by ID.
upload_jira_attachmentUpload a local file as an attachment on a Jira issue.
get_jira_attachment_referenceResolve an existing attachment into an ADF media node.
delete_jira_attachmentPermanently delete an attachment by ID.
A Model Context Protocol (MCP) server for downloading Jira Cloud attachments by attachment ID to local disk, and uploading local files as attachments to a Jira issue.
Supplement to the official Atlassian MCP server. The official Atlassian MCP server covers search, issue management, and content operations but does not move attachment files between Jira and local disk. This server fills that gap.
Requirements: Python 3.13+, an Atlassian Cloud account, and an API token with at least the read:jira-work scope. Uploading also needs write:jira-work.
Scoped tokens are recommended to limit access to exactly the permissions needed.
Note: The granular
read:attachment:jirascope is not sufficient β Jira's attachment metadata endpoint (/rest/api/3/attachment/{id}) requiresread:jira-workto resolve issue-level permissions. A classic (unscoped) API token also works.
read:jira-work (add write:jira-work to upload), or choose "Classic API token" for full accessThe fastest way to try the server is with the MCP Inspector. Set the three required environment variables and run:
From the published package (no clone needed):
From a local clone:
Set environment variables or create a config file. Environment variables take priority.
Environment variables:
Config file (~/.config/mcp-atlassian-attachments/config.json):
| Tool | Description | Required params |
|---|---|---|
download_jira_attachment | Download a Jira attachment by ID. | attachment_id, output_dir |
upload_jira_attachment | Upload a local file as an attachment on a Jira issue. | issue_key, file_path |
get_jira_attachment_reference | Resolve an existing attachment into an ADF media node. | attachment_id |
delete_jira_attachment | Permanently delete an attachment by ID. | attachment_id |
download_jira_attachment| Parameter | Type | Description |
|---|---|---|
attachment_id | string | Jira attachment ID |
output_dir | string | Local directory for the saved file. Created automatically if it does not exist. |
filename | string (optional) | Override filename. Uses metadata filename when omitted. |
overwrite | bool (optional) | Replace an existing file. Defaults to false. |
Returns:
upload_jira_attachment| Parameter | Type | Description |
|---|---|---|
issue_key | string | Jira issue key or ID, for example PROJ-123 |
file_path | string | Path to the local file to upload. Must exist. |
filename | string (optional) | Name to store in Jira. Uses the local filename when omitted. |
Returns:
Each call adds a new attachment; Jira does not replace a same-named file. Uploads larger than the site attachment size limit fail with a 413.
get_jira_attachment_reference| Parameter | Type | Description |
|---|---|---|
attachment_id | string | Jira attachment ID |
Read-only. Returns mediaId for an attachment that is already on an issue:
After an upload you do not need this tool β upload_jira_attachment already returns mediaId, so embedding costs no extra call.
delete_jira_attachment| Parameter | Type | Description |
|---|---|---|
attachment_id | string | Jira attachment ID to delete permanently |
Needs write:jira-work. Metadata is read before the delete, so the result reports what was removed and a missing ID fails without attempting anything:
There is no undo. Jira deletes the file outright, and a second call to the same ID fails with
404.Deleting does not clean up references. If the attachment was embedded in a description or comment, the ADF media node stays exactly where it was and becomes a dangling reference β verified against a live issue. Remove the node yourself if you delete a file that was referenced.
Uploading a file attaches it, but nothing appears inline in the description or a comment. Rendering it requires an ADF media node β and that node identifies the file by its Media Services UUID, not by the numeric attachment ID:
No Jira attachment metadata endpoint exposes that UUID, which is why this server resolves it: GET /rest/api/3/attachment/content/{id} answers with a 303 to https://api.media.atlassian.com/file/{mediaId}/binary, so reading the Location header without following the redirect yields the UUID at no download cost. The UUID exists as soon as the file is attached β it does not depend on the attachment being referenced anywhere.
Both tools therefore return mediaId. Writing the node into the issue is deliberately left to a Jira content tool such as the official Atlassian MCP server, whose addCommentToJiraIssue and editJiraIssue accept contentFormat: "adf" β this server moves files and does not edit issue content:
upload_jira_attachment β take mediaId from the resultFor a description, read the existing ADF, append the node, and write the whole document back β PUT /rest/api/3/issue/{key} replaces the field rather than appending to it.
Notes:
media node is not rendered; it must be wrapped in mediaSingle (single file), mediaGroup (file-card list), or mediaInline (inline chip).collection is "" for Jira issue attachments.width/height on the media node set the intrinsic pixel size, and are only honoured inside mediaSingle.mediaId is best-effort: if the redirect cannot be read it comes back null, and the upload itself still succeeds.The older v2 endpoints still accept wiki markup and convert it to ADF server-side, resolving the attachment by filename β so no media UUID is needed:
Jira stores that as a proper media node with the correct UUID filled in. Confirmed working on Jira Cloud as of August 2026.
Two behaviours to know about, both verified against a live issue:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/atlassian-attachments)<a href="https://allmcps.com/mcp/atlassian-attachments"><img src="https://allmcps.com/api/badge/atlassian-attachments?style=directory" alt="Atlassian Attachments on AllMCPs" /></a>