# Atlassian Attachments [Health: Active]

**Category:** 📋 Product Management  
**Repository:** https://github.com/alyiox/mcp-atlassian-attachments  
**GitHub Stars:** 0  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/atlassian-attachments

## Description
MCP server for downloading Jira and Confluence Cloud attachments by attachment ID.

## Tools
Capabilities this server exposes over MCP:

- **download_jira_attachment** — [Atlassian] Download Jira attachment by ID to a local directory.
- **upload_jira_attachment** — [Atlassian] Upload local file as Jira attachment.

Returns mediaId, the Media Services UUID needed to embed the file in an issue
description or comment via a Jira content tool. An ADF media node references
this UUID, never attachmentId:
{"type":"media","attrs":{"type":"file","id":<mediaId>,"collection":"","alt":<filename>}}
Wrap it in mediaSingle (image), mediaGroup (file card), or mediaInline (chip);
a bare media node does not render. mediaId is null if it cannot be resolved.

- **get_jira_attachment_reference** — [Atlassian] Resolve Jira attachment ID into its ADF media UUID.

For an attachment already on an issue; after an upload use the mediaId that
upload_jira_attachment already returned instead of calling this. See that
tool for the ADF media node shape.

- **delete_jira_attachment** — [Atlassian] Delete Jira attachment by ID. Permanent, with no undo.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "atlassian-attachments": {
    "command": "uvx",
    "args": ["mcp-atlassian-attachments"],
    "env": {
      "ATLASSIAN_SITE_URL": "",
      "ATLASSIAN_EMAIL": "",
      "ATLASSIAN_API_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `ATLASSIAN_SITE_URL`, `ATLASSIAN_EMAIL`, `ATLASSIAN_API_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Atlassian Attachments MCP server does

The Atlassian Attachments MCP server handles file operations for Jira Cloud attachments. It can save an attachment identified by its numeric Jira ID to a local directory, add a local file to a Jira issue, resolve an existing attachment to its Atlassian Media Services UUID, and permanently remove an attachment.

The server complements Jira content tooling rather than replacing it. Uploading a file does not place it inline in a description or comment. To render an uploaded file in Jira content, use the returned `mediaId` to build an ADF media node, then send that ADF through a Jira content tool. This server does not modify issue descriptions or comments.

## How it works

The Atlassian Attachments MCP server authenticates against an Atlassian Cloud site using an email address and API token. Download requests use an attachment ID and output directory; the directory is created when needed, and callers can choose a filename or allow the stored metadata filename to be used. Existing files are not replaced unless `overwrite` is enabled.

Uploads require an issue key or ID and a path to an existing local file. Each upload creates a new Jira attachment, even when another attachment has the same filename. The response includes attachment metadata, a content URL, and a `mediaId`.

The reference tool obtains the Media Services UUID by inspecting the redirect returned for the attachment content URL instead of downloading the file. This UUID is needed in an ADF `media` node. A standalone media node is not enough for rendering; Jira content must wrap it in a supported container such as `mediaSingle`, `mediaGroup`, or `mediaInline`.

Deletion reads attachment metadata before removing the file and reports the removed item. The operation is irreversible. Existing ADF references are not cleaned up, so deleting a referenced attachment can leave a dangling media node.

## Setup and configuration

The server requires Python 3.13 or newer, an Atlassian Cloud account, and these settings:

- `ATLASSIAN_SITE_URL`: the Atlassian Cloud site URL
- `ATLASSIAN_EMAIL`: the account email
- `ATLASSIAN_API_TOKEN`: the API token

Settings can be supplied as environment variables or in `~/.config/mcp-atlassian-attachments/config.json`; environment variables take precedence. A token with `read:jira-work` is required for read operations. Uploading and deleting require `write:jira-work`. Classic API tokens are also supported.

The published package can be run with `uvx mcp-atlassian-attachments`; a local clone can be run with `uv run mcp-atlassian-attachments`. The README demonstrates both through MCP Inspector.

## Tools and capabilities

- `download_jira_attachment`: saves an attachment locally and returns its filename, MIME type, size, path, and URL.
- `upload_jira_attachment`: attaches a local file to a Jira issue and returns the new attachment details and `mediaId`.
- `get_jira_attachment_reference`: returns metadata and the `mediaId` for an attachment already on an issue.
- `delete_jira_attachment`: permanently deletes an attachment by ID.

Attachment uploads larger than the Jira site limit fail with HTTP 413. The reference lookup is read-only and is unnecessary immediately after upload because the upload response already contains the `mediaId`.

_Full upstream README: https://allmcps.com/mcp/atlassian-attachments/readme_

