atlassian-mcp-server

atlassian-mcp-server

An open-source Model Context Protocol (MCP) server for Atlassian Jira and Confluence Cloud, enabling LLMs to search, read, write, and manage issues and pages.

Category
Visit Server

README

Atlassian MCP Server

<a href="https://glama.ai/mcp/servers/@tingyiy/atlassian-mcp-server"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@tingyiy/atlassian-mcp-server/badge" /> </a>

A Model Context Protocol (MCP) server that provides powerful tools for interacting with Atlassian Jira and Confluence Cloud. Built with Python and the mcp SDK.

This server enables LLM agents (like Claude Desktop) to:

  • Jira: Search for issues using JQL, view issue details, add comments, transition issues, and create/update issues (with rich text support).
  • Confluence: Search space content, view pages, create new pages (including nested pages), and edit pages (with auto-versioning).

Features

Jira Tools

  • list_jira_issues: Search and list issues using JQL (Jira Query Language).
  • read_jira_issue: Retrieve full details of a specific issue.
  • jira_create_issue: Create new issues (Support for Projects, Issue Types, and ADF Descriptions).
  • jira_update_issue: Update issue summary and description.
  • jira_add_comment: Add comments to issues.
  • jira_get_comments: Retrieve all comments on an issue.
  • jira_download_attachment: Download an attachment (image/document) by its ID.
  • jira_transition_issue: Move issues through their workflow (e.g., To Do -> Done).

Confluence Tools

  • list_confluence_pages: List pages within a specific space.
  • view_confluence_page: Retrieve page content and metadata.
  • confluence_create_page: Create new pages, optionally nested under a parent page.
  • edit_confluence_page: Update page content (Automatically handles version increments).
    • Note: Includes guidance for handling Mermaid diagrams via the Mermaid Diagrams plugin.
  • confluence_delete_page: Delete a Confluence page.
  • confluence_search: Perform advanced searches using CQL (Confluence Query Language).
  • confluence_get_comments: Retrieve all comments on a page.

Prerequisites

  • Python: Version 3.10+ (Tested with 3.14.2)
  • Atlassian Account: An Atlassian account with an API Token.

Setup

  1. Clone and Install:

    git clone https://github.com/tingyiy/atlassian-mcp-server.git
    cd atlassian-mcp-server
    pip install -r requirements.txt
    
  2. Configuration: Create a .env file in the project root with your credentials:

    ATLASSIAN_USERNAME=your_email@example.com
    ATLASSIAN_API_KEY=your_api_token
    JIRA_URL=https://your-domain.atlassian.net/rest/api/3
    CONFLUENCE_URL=https://your-domain.atlassian.net/wiki
    CONFLUENCE_SPACE_KEY=your_default_space_key
    

    Note: JIRA_URL must point to the /rest/api/3 endpoint.

  3. Run the Server:

    python server.py
    

Usage

This MCP server can be used with any MCP-compliant client, including IDEs (like Cursor, VS Code) and desktop agents (like Claude Desktop).

Generic Configuration

Most MCP clients require the command to run the server and the environment variables.

  • Command: python /abs/path/to/atlassian-mcp-server/server.py
  • Environment: All variables from .env must be passed to the process.

Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "atlassian": {
      "command": "/path/to/python",
      "args": [
        "/path/to/atlassian-mcp-server/server.py"
      ],
      "env": {
        "ATLASSIAN_USERNAME": "your_email@example.com",
        "ATLASSIAN_API_KEY": "your_api_token",
        "JIRA_URL": "https://your-domain.atlassian.net/rest/api/3",
        "CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki",
        "CONFLUENCE_SPACE_KEY": "DS"
      }
    }
  }
}

Cursor

To use with Cursor (via the .cursor/mcp.json or settings):

{
  "mcpServers": {
    "namd": "atlassian",
    "command": "python3",
    "args": ["/path/to/atlassian-mcp-server/server.py"],
    "env": {
      "ATLASSIAN_USERNAME": "your_email@example.com",
      "ATLASSIAN_API_KEY": "your_api_token",
      "JIRA_URL": "https://your-domain.atlassian.net/rest/api/3",
      "CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki"
    }
  }
}

Note: Ensure the python environment has the required dependencies installed.

Confluence Tips: Mermaid Diagrams

The MCP tools cannot render Mermaid diagrams programmatically because the standard plugin stores source code internally. To reference a diagram, provide the Mermaid source in a code block and ask the user to manually render it in the Confluence UI.

Example Agent Output for a Diagram: "I've added the following code block to the page. Please select it in the editor and convert it to a Mermaid diagram:"

<ac:structured-macro ac:name="code" ac:schema-version="1">
    <ac:parameter ac:name="language">text</ac:parameter>
    <ac:plain-text-body><![CDATA[graph TD; A-->B;]]></ac:plain-text-body>
</ac:structured-macro>

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

License

Distributed under the MIT License. See LICENSE for more information.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured