jira-mcp
Provides tools for managing Jira Cloud issues, including searching, fetching, creating, updating, commenting, and transitioning issues.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jira-mcpShow all issues in PROJ that are in progress"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
jira-mcp
A token-lean MCP server in front of Jira Cloud. Seven tools, normalized text responses, ADF descriptions converted to Markdown.
Why
The official Atlassian MCP servers register ~45 tools and return raw REST JSON:
self URLs, avatarUrls in four sizes, iconUrl on every status and priority,
statusCategory sub-objects, and descriptions as Atlassian Document Format —
a JSON tree where a paragraph of text costs several hundred tokens.
This adapter does four things about that:
Field allowlists | Asks Jira for seven fields, not |
Collapsed objects |
|
ADF → Markdown | Via marklas. ~2.5–3.9x on body text. |
Acks, not echoes |
|
Measure it against your own issues rather than trusting those numbers — see Measuring.
Related MCP server: Jira Cloud MCP Server
Requirements
A Jira Cloud site and an API token from https://id.atlassian.com/manage-profile/security/api-tokens
Docker, or Python 3.12+
Quickstart
git clone https://github.com/jack-oval-traits/jira-mcp
cd jira-mcp
cp .env.example .envFill in four values in .env:
Variable | |
| your site, e.g. |
| the account the API token belongs to |
| from the link above |
| shared secret clients present — |
Then:
docker compose up -d --build
curl -fsS http://127.0.0.1:8787/healthz # -> okThat's the whole setup. Nothing external is required — no pre-created networks, no other compose projects.
Scoped API tokens
Atlassian issues two kinds of API token, and they do not accept the same URL:
Token |
|
classic (no scopes) |
|
scoped |
|
A scoped token sent to a site URL fails in the worst available way: it is not
rejected, it is ignored. Jira answers as if you were logged out, and since
anonymous users can see no issues, search_issues returns No matching issues.
— which reads exactly like an empty project.
So the server checks GET /rest/api/3/myself at startup and refuses to serve on
a 401, printing the gateway URL for your site. If you need the cloud id yourself:
curl -s https://your-org.atlassian.net/_edge/tenant_infoA scoped token also needs read:jira-work and write:jira-work; without them
the same call returns 403 and startup fails the same way.
Without Docker
uv pip install -e .
set -a && . ./.env && set +a
jira-mcp # listens on 127.0.0.1:8787Connecting a client
For Claude Code:
claude mcp add --transport http jira http://127.0.0.1:8787/mcp \
--header "Authorization: Bearer $JIRA_MCP_TOKEN"Any MCP client that speaks streamable HTTP works the same way: point it at
/mcp and send the bearer token in an Authorization header.
If you already have a full Atlassian MCP server registered, remove it — the savings come from removal, not addition. Two servers exposing the same Jira means both tool sets land in the context window:
claude mcp remove <your-atlassian-server-name>Keep one around if you need Confluence, Bitbucket, or JSM Ops; this adapter covers Jira issues only.
Tools
Tool | Returns |
| one line per issue, no descriptions |
| full issue, description as Markdown |
| comments as Markdown, newest first |
|
|
|
|
|
|
|
|
Markdown goes in and comes out; the adapter converts to and from ADF at the boundary.
search_issues returns lines shaped like:
PROJ-443 | Bug | In Progress | High | Jane Doe | 2026-08-03 | Roster import crashes on duplicate jerseySet JIRA_DEFAULT_PROJECT in .env and create_issue can omit the project.
Configuration
Everything is environment variables; .env.example documents each one.
Variable | Default | |
| — | required; site URL, or the gateway for a scoped token |
| — | required |
| — | required |
| — | required, the client-facing bearer |
| — | fallback project for |
|
| host side of the published port |
|
| host side of the published port |
|
| what the process itself binds; the image sets |
| — | public hostname, when behind a proxy |
| — | extra |
|
|
|
| off | log per-call token counts — see Measuring |
|
|
Missing required variables fail at startup, not on the first tool call — as do
credentials Jira turns down, which costs one round-trip to /myself per boot.
JIRA_MCP_STARTUP_CHECK=off skips that probe — and with it the scoped-token
diagnosis above — for environments with no Jira reachable, like CI.
Behind a reverse proxy
To serve this on a hostname with TLS, layer the optional overlay on top of the base compose file:
docker network create web # if the proxy's network doesn't exist
echo 'JIRA_MCP_HOST=jira-mcp.example.com' >> .env
echo 'PROXY_NETWORK=web' >> .env
docker compose -f compose.yaml -f compose.proxy.yaml up -d --buildThe overlay joins an existing external network so the proxy can reach the
container as jira-mcp:8787. With Caddy:
jira-mcp.example.com {
reverse_proxy jira-mcp:8787
}JIRA_MCP_HOST has to be set for the server too, not just the proxy — the MCP
SDK enables DNS-rebinding protection with an empty allowlist, so any hostname it
should answer to must be named explicitly. See _allowed_hosts in server.py.
Measuring
Runs the same JQL as a naive client and as this adapter, and counts both:
docker compose run --rm --entrypoint python jira-mcp \
scripts/token_compare.py 'project = PROJ ORDER BY updated DESC' 6Counting uses tiktoken, a GPT tokenizer, so absolute numbers are approximate for Claude. The ratio is the point.
Against real traffic
That script is a one-off against a synthetic second query. To track the same
thing continuously, set JIRA_MCP_MEASURE=1 and recreate the container. Every
tool call then prints one JSON record — jira.py holds Jira's response before
normalize.py shapes it, so both halves are there without a second request:
{"measure":"tool_call","tool":"search_issues","raw_tokens":8756,"out_tokens":523,
"jira_calls":1,"ms":760.6,"arg":"project = PROJ ORDER BY updated DESC","saved":0.94}Read them back with:
docker logs jira-mcp-jira-mcp-1 2>&1 | python3 scripts/measure_report.pytool calls from jira sent saved median
--------------------------------------------------------------
search_issues 1 8,756 523 94.0% 761ms
get_issue 1 3,662 828 77.4% 184ms
get_comments 1 18 8 55.6% 155ms
--------------------------------------------------------------
all 3 12,436 1,359 89.1% 184ms
11,077 tokens not spent across 3 calls.Reduction is weighted by size, not averaged per call — one 9k-token search and one 8-token ack should not count equally toward the headline.
These numbers are smaller than the script's, and deliberately so.
raw_tokens is what Jira sent for the fields this adapter asked for. The
allowlist — the biggest single win — has already been applied by then, upstream
of anything measurable here, so what these records show is the shaping alone:
collapsing, ADF→Markdown, one line per issue. token_compare.py measures
against fields=*navigable, which is why it reports ~99% where this reports
~94%. Both are true; they answer different questions. Measuring the
counterfactual continuously would mean issuing every request twice.
It is off by default for two reasons: encoding every response costs a few ms, and the records carry JQL and issue keys into wherever stdout goes. Records survive only as long as the container's logs, so redirect them somewhere if you want history.
Layout
src/jira_mcp/
server.py tool definitions, bearer auth, uvicorn wiring
jira.py async REST v3 client — takes field allowlists, returns raw JSON
normalize.py all shaping lives here: allowlists, collapsing, ADF conversion
measure.py optional per-call token accounting, off unless asked for
scripts/
token_compare.py
measure_report.py
tests/
test_normalize.py
test_credentials.py
test_measure.pynormalize.py is the file to edit when a response is still too fat, or when a
field you need got allowlisted out.
uv pip install -e ".[dev]"
pytest -q
ruff check .Security
The adapter authenticates to Jira with Basic auth (email + API token), so it acts as you: it has your permissions and its writes carry your name. The bearer token is the only thing between the network and that Jira token, and four of the seven tools write.
Bind to loopback unless something in front terminates TLS. /healthz is
deliberately unauthenticated; everything else is not. See
SECURITY.md.
Notes
Uses
POST /rest/api/3/search/jql, the token-paginated replacement for the removed/rest/api/3/search. There is no total count;search_issuesreports a page token when more results exist.Requires MCP SDK 2.x — the server class is
MCPServerthere andFastMCPon 1.x, so the pin inpyproject.tomlis load-bearing.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA comprehensive MCP server for Atlassian Jira that enables AI assistants to manage issues, sprints, comments, and worklogs through natural language.MIT
- Alicense-qualityCmaintenanceMCP server for interacting with Jira Cloud instances. Enables issue management, JQL queries, project and sprint management, and batch operations via natural language interfaces.2724MIT
- AlicenseAqualityDmaintenanceMinimal MCP server for Jira with configurable tools to reduce token usage, starting from ~150 tokens for basic issue retrieval.1MIT
- Alicense-qualityDmaintenanceA local-only MCP server providing safe, typed Jira tools for AI agents via Atlassian ACLI, enabling search, get issue, add comment, and transition issues with policy guardrails.MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jack-oval-traits/jira-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server