Atlassian MCP server

Integrates with Atlassian's Confluence and JIRA APIs to enable content creation, issue tracking, and project management within Atlassian ecosystems.
Back to servers
Provider
Sam Wang
Release date
Feb 27, 2025
Language
TypeScript
Stats
3 stars

The MCP Atlassian server acts as a bridge between AI agents and Atlassian products (Confluence and Jira), providing standardized tools to search content, retrieve information, and interact with these platforms through a consistent interface.

Prerequisites

Before installing the MCP Atlassian server, ensure you have:

  • Node.js (v16 or higher)
  • npm or yarn
  • Atlassian account with API token
  • Docker (optional, for containerized deployment)

Installation

Standard Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/mcp-atlassian.git
    cd mcp-atlassian
    
  2. Install dependencies:

    npm install
    # or using make
    make install
    
  3. Create a .env file in the root directory with your Atlassian credentials:

    ATLASSIAN_HOST=https://your-domain.atlassian.net
    [email protected]
    ATLASSIAN_API_TOKEN=your-api-token
    

Docker Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/mcp-atlassian.git
    cd mcp-atlassian
    
  2. Create a .env file as described above.

  3. Build and run the Docker container:

    # Build the Docker image
    make docker-build
    
    # Run the Docker container
    make docker-run
    
    # Or use Docker Compose
    make docker-compose
    

Usage

Starting the Server

To start the MCP server:

# Using npm
npm start

# Using make
make start

# Using Docker
make docker-run

The server will listen for requests on stdin and respond on stdout.

Available Tools

Confluence Tools

The server provides several tools for interacting with Confluence:

  • search-confluence: Search for content in Confluence using CQL

    • Parameters: query (string)
  • get-confluence-space: Get information about a specific Confluence space

    • Parameters: spaceKey (string)
  • get-confluence-content: Get specific content by ID

    • Parameters: contentId (string)
  • get-confluence-pages: Get all pages in a space

    • Parameters: spaceKey (string), limit (number, optional)

Jira Tools

For Jira interactions, the following tools are available:

  • search-jira-issues: Search for issues using JQL

    • Parameters: jql (string), maxResults (number, optional)
  • get-jira-issue: Get a specific issue by key

    • Parameters: issueKey (string)
  • get-jira-projects: Get all projects

    • Parameters: none
  • get-jira-project: Get a specific project by key

    • Parameters: projectKey (string)
  • get-jira-issue-types: Get all issue types

    • Parameters: none

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later