Atlassian MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add --transport http atlassian-mcp http://localhost:8084/mcp
Required:ATLASSIAN_SITEOAUTH_CLIENT_IDOAUTH_CLIENT_SECRETTOKEN_ENCRYPTION_KEYREDIS_PASSWORD
README.md

Search Jira and Confluence directly from your IDE — no browser needed.

Atlassian MCP Server

Search Jira and Confluence directly from your IDE — no browser needed.

Status: 416 tests passing | Hexagonal Architecture (DDD) | Jira v3 + Confluence v2


What Does This Do?

Talk to your AI assistant and get Atlassian data:

You: "What tickets are assigned to me?"
AI:  Shows your Jira tickets

You: "Find our deployment documentation"
AI:  Shows Confluence pages about deployment

Works with Cursor, Claude Code, or any MCP-compatible client.


Quick Start

1. Get Atlassian OAuth Credentials

  1. Go to https://developer.atlassian.com/console/myapps/
  2. Click Create > OAuth 2.0 integration
  3. Name it: MCP Server
  4. Callback URL: http://localhost:8084/auth/callback
  5. Add permissions:
    • Jira: read:jira-work, read:jira-user
    • Confluence: read:confluence-content.all, search:confluence, read:confluence-space.summary
  6. Copy your Client ID and Client Secret

2. Configure

cp env.example .env

Edit .env:

ATLASSIAN_SITE=yourcompany.atlassian.net   # no https://
OAUTH_CLIENT_ID=your_client_id
OAUTH_CLIENT_SECRET=your_client_secret

# Generate these:
TOKEN_ENCRYPTION_KEY=$(node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
REDIS_PASSWORD=$(node -e "console.log(require('crypto').randomBytes(16).toString('hex'))")

3. Start

docker-compose up -d

4. Authenticate

open http://localhost:8084/auth/login

Click "Accept" when Atlassian asks for permission.

5. Connect Your IDE

Cursor — edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "atlassian": {
      "url": "http://localhost:8084/mcp",
      "type": "http"
    }
  }
}

Claude Code — edit ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "atlassian": {
      "url": "http://localhost:8084/mcp"
    }
  }
}

Restart your IDE after adding the config.

6. Test It

  • "What Jira tickets are assigned to me?"
  • "Find deployment documentation in Confluence"
  • "Show me ticket ENG-123"

Available Tools

Tool Description
search_jira Search Jira with JQL filters
get_jira_ticket Get full ticket details
list_my_tickets List your assigned tickets
search_confluence Search Confluence with CQL
get_confluence_page Get full page content

Architecture

                              MCP Protocol (HTTP)
  IDE / AI Client ──────────── http://localhost:8084/mcp
                                        │
  ┌─────────────────────────────────────┼─────────────────────────────┐
  │  Atlassian MCP Server               │                             │
  │                                     │                             │
  │  ┌──────────────┐   ┌───────────────┼────────────┐                │
  │  │ Domain       │   │ Application   │            │                │
  │  │              │   │               ▼            │                │
  │  │ Models       │◄──│ Use Cases (5)              │                │
  │  │ Services     │   │ Ports (interfaces)         │                │
  │  │ Value Objects│   │ DTOs (Zod validated)       │                │
  │  └──────────────┘   └──────────────┬─────────────┘                │
  │                                    │                              │
  │  ┌─────────────────────────────────┼────────────────────────────┐ │
  │  │ Infrastructure                  │                            │ │
  │  │                                 ▼                            │ │
  │  │ Adapters:  JiraRestAdapter, ConfluenceRestAdapter            │ │
  │  │ Auth:      OAuthAdapter, RedisTokenAdapter                   │ │
  │  │ Cache:     RedisCacheAdapter                                 │ │
  │  │ MCP:       McpToolRouter, toolDefinitions                    │ │
  │  │ Server:    Express routes, middleware                        │ │
  │  └──────┬──────────────┬───────────────────┬────────────────────┘ │
  └─────────┼──────────────┼───────────────────┼──────────────────────┘
            │              │                   │
   ┌────────▼────────┐ ┌──▼────────────┐ ┌────▼──────┐
   │ Jira REST API   │ │ Confluence    │ │ Redis     │
   │ v3 (search/JQL) │ │ v1 (search)   │ │ Cache +   │
   │                 │ │ v2 (pages)    │ │ Tokens    │
   └─────────────────┘ └───────────────┘ └───────────┘

Key design decisions:

  • Hexagonal / DDD — Domain has zero infrastructure imports. Application layer defines port interfaces. Infrastructure implements adapters.
  • Strangler Fig migration — Confluence v1 /content/{id} migrated to v2 /pages/{id}. v1 search (/content/search) stays (not deprecated).
  • ESLint enforced layer boundariesimport-x/no-restricted-paths prevents domain from importing infrastructure.
  • Composition Root — All wiring i

Tools (5)

search_jiraSearch Jira with JQL filters
get_jira_ticketGet full ticket details
list_my_ticketsList your assigned tickets
search_confluenceSearch Confluence with CQL
get_confluence_pageGet full page content

Environment Variables

ATLASSIAN_SITErequiredThe Atlassian site URL (e.g., yourcompany.atlassian.net)
OAUTH_CLIENT_IDrequiredOAuth 2.0 Client ID from Atlassian developer console
OAUTH_CLIENT_SECRETrequiredOAuth 2.0 Client Secret from Atlassian developer console
TOKEN_ENCRYPTION_KEYrequiredEncryption key for tokens
REDIS_PASSWORDrequiredPassword for Redis cache

Configuration

claude_desktop_config.json
{"mcpServers": {"atlassian": {"url": "http://localhost:8084/mcp"}}}

Try it

What Jira tickets are assigned to me?
Find deployment documentation in Confluence
Show me ticket ENG-123
Search for Jira tickets related to the login bug
Get the content of the project onboarding page from Confluence

Frequently Asked Questions

What are the key features of Atlassian MCP Server?

Search Jira using JQL filters directly from your IDE. Retrieve full details for specific Jira tickets. Search Confluence documentation using CQL. Access full Confluence page content. Secure OAuth 2.0 authentication for Atlassian services.

What can I use Atlassian MCP Server for?

Quickly checking assigned Jira tickets without switching context to a browser. Retrieving technical documentation from Confluence while writing code. Referencing specific ticket details during development tasks. Searching for project requirements or deployment guides within the IDE.

How do I install Atlassian MCP Server?

Install Atlassian MCP Server by running: docker-compose up -d

What MCP clients work with Atlassian MCP Server?

Atlassian MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Atlassian MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare