Skip to main content
Glama

Atlassian MCP Server

CI

An MCP server that gives AI agents safe, audited access to Jira and Confluence Cloud. Point Claude (or any MCP client) at it and ask things like "what's open in the OPS project?" or "find our VPN setup guide and summarize it".

It is built the way an enterprise IT team would want an AI integration to behave:

  • Read-only by default. The tools that change data are not even registered unless you turn them on.

  • Every tool call is audited as one JSON line: which tool, which arguments, outcome, duration.

  • Credentials stay in the environment. They never appear in tool results, errors or logs.

  • Runs anywhere: locally over stdio, or in Docker over HTTP behind an MCP gateway.

Tools

Tool

What it does

Mode

jira_search_issues

Search issues with JQL

read

jira_get_issue

One issue with description, status, people, dates

read

confluence_search

Search pages with CQL

read

confluence_get_page

Page content as plain text

read

jira_create_issue

Create an issue

write, opt-in

jira_add_comment

Comment on an issue

write, opt-in

Write tools appear only when ATLASSIAN_ALLOW_WRITES=true.

Related MCP server: MCP Atlassian

How it works

MCP client (Claude, agent, gateway)
        │  stdio  or  HTTP POST /mcp + bearer token
        ▼
  src/server.ts    tool definitions, input validation (zod), audit log
        ▼
  src/atlassian.ts REST client: auth, timeouts, readable errors
        ▼
  Jira Cloud REST v3  ·  Confluence Cloud REST

Jira's rich-text format (ADF) and Confluence's storage markup are converted to plain text before they reach the model, so it reads words instead of JSON and HTML.

Quick start

You need an Atlassian Cloud site and an API token.

cp .env.example .env   # then fill in the three ATLASSIAN_ values

With Docker (HTTP)

Set MCP_AUTH_TOKEN in .env to a long random string, then:

docker compose up --build

The server listens on http://localhost:3000/mcp. Clients must send Authorization: Bearer <MCP_AUTH_TOKEN>. GET /healthz is open for liveness probes.

With Claude Desktop or Claude Code (stdio)

npm ci && npm run build

Then add the server to your MCP config:

{
  "mcpServers": {
    "atlassian": {
      "command": "node",
      "args": ["/absolute/path/to/atlassian-mcp-server/dist/index.js"],
      "env": {
        "ATLASSIAN_BASE_URL": "https://your-site.atlassian.net",
        "ATLASSIAN_EMAIL": "you@example.com",
        "ATLASSIAN_API_TOKEN": "your-token"
      }
    }
  }
}

Configuration

Variable

Required

Default

Meaning

ATLASSIAN_BASE_URL

yes

https://your-site.atlassian.net

ATLASSIAN_EMAIL

yes

Account that owns the API token

ATLASSIAN_API_TOKEN

yes

Atlassian API token

ATLASSIAN_ALLOW_WRITES

no

false

true registers the write tools

MCP_TRANSPORT

no

stdio

stdio or http

PORT

no

3000

HTTP port

MCP_AUTH_TOKEN

with http

Bearer token clients must send

Security notes

  • Least privilege. The server can do what its Atlassian account can do, and no more. Use a dedicated service account that sees only the projects and spaces the agent should reach.

  • Input validation. Issue keys, project keys and page ids are checked against strict patterns before any request is made.

  • Audit trail. Audit lines go to stderr, so docker logs or any log collector picks them up:

    {"time":"2026-11-12T18:18:52.824Z","event":"tool_call","tool":"jira_get_issue","args":{"issueKey":"OPS-1"},"outcome":"ok","durationMs":212}
  • Container hardening. The image runs as a non-root user; the compose file adds a read-only filesystem and drops all Linux capabilities.

  • HTTP auth is a static bearer token compared in constant time. In production, put the server behind a gateway that handles OAuth/SSO.

Development

npm ci
npm test          # unit tests, no network needed (fetch is mocked)
npm run typecheck
npm run build

CI (GitHub Actions) runs typecheck, tests and build, then builds the Docker image, starts the container and checks that it is healthy, refuses requests without a token, and exposes only the read tools.

Possible next steps

  • OAuth 2.0 (3LO) so each user acts with their own Atlassian permissions

  • Jira transitions and Confluence page creation

  • Usage metrics per tool (calls, errors, latency) for KPI reporting

License

MIT

Available Tools

4 tools
confluence_get_pageGet a Confluence pageA
Read-only

Get the text of one Confluence page by id (use confluence_search to find the id).

Inputs: pageId (required).

jira_get_issueGet a Jira issueB
Read-only

Get one Jira issue with its description, status, people and dates.

Inputs: issueKey (required).

jira_search_issuesSearch Jira issuesA
Read-only

Search Jira with JQL, e.g. 'project = OPS AND status = "In Progress" ORDER BY updated DESC'. Returns key, summary, status and assignee.

Inputs: jql (required), maxResults.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool is a distinct product+action pair: search vs. get within Jira, and search vs. get within Confluence. The descriptions even cross-reference each other (confluence_get_page tells you to use confluence_search first), leaving no realistic chance of misselection.

    Naming Consistency5/5

    All four names follow the same product-prefixed verb_noun pattern (jira_/confluence_ + search/get + resource). The convention is predictable and maps cleanly onto the tool purposes.

    Tool Count4/5

    Four tools is a lean but coherent surface for a read-only Atlassian integration; each tool earns its place with no redundancy. It sits slightly on the thin side given the breadth of the Jira+Confluence domain, but it is not a mismatch.

    Completeness2/5

    The surface is strictly read-only: there is no way to create, update, transition, or comment on Jira issues, nor to create or edit Confluence pages, which are core lifecycle operations for this domain. Agents can read effectively but will hit dead ends on any write-oriented request.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers