jirac-mcp mulhamna
Install jirac-mcp with WinGet
winget install --id=mulhamna.jirac-mcp -e jirac-mcp exposes Jira as typed MCP tools for editors and AI agents, with release archives for Windows, macOS, and Linux.
winget install --id=mulhamna.jirac-mcp -e jirac-mcp exposes Jira as typed MCP tools for editors and AI agents, with release archives for Windows, macOS, and Linux.
Jira on the command line.
jirac | jira-mcp | plugin | clawhub |
|---|---|---|---|
jirac is a Jira command-line client written in Rust. It ships as a single binary with no runtime dependencies and runs on macOS, Linux, and Windows. It supports Jira Cloud and Jira Data Center, stores multiple login profiles, and discovers custom fields at runtime so there is little to configure beyond your credentials.
<img src="assets/readme/sample_tui.jpeg" alt="jirac TUI issue list preview" />
<strong>TUI issue list</strong>
<img src="assets/readme/sample_tui_split.jpeg" alt="jirac split master-detail TUI preview" />
<strong>Split master-detail</strong>
<img src="assets/readme/sample-jql.jpeg" alt="jirac interactive JQL builder preview" />
<strong>Interactive JQL builder</strong>
| Feature | jirac | jira-cli (Go) | jira-cmd (Node) |
|---|---|---|---|
| Single binary, no runtime deps | ✅ | ✅ | ❌ (npm) |
| Interactive TUI | ✅ | ✅ | ❌ |
| Jira REST API version | v2 / v3 | v2 / v3 | v2 |
| Custom fields (runtime discovery) | ✅ | Partial (config-based) | Partial (field IDs) |
| Attachment upload | ✅ | ❌ | ❌ |
| Worklogs (add / list / delete) | ✅ | ❌ | Add / list only |
| Bulk transition | ✅ | ❌ | ❌ |
| Bulk update | ✅ | ❌ | ❌ |
| Bulk create / batch manifests | ✅ | ❌ | ❌ |
| Issue archive | ✅ | ❌ | ❌ |
| JQL builder (interactive) | ✅ | ❌ | ❌ |
| Raw API passthrough | ✅ | ❌ | ❌ |
| Cursor-based pagination | ✅ | ❌ (offset) | ❌ (offset) |
| MCP server | ✅ | ❌ | ❌ |
| Scoop | ✅ | ❌ | ❌ |
| Multi login / saved profiles | ✅ | ❌ | ❌ |
| macOS / Linux / Windows | ✅ / ✅ / ✅ | ✅ / ✅ / Partial | ✅ / ✅ / ✅ |
| Jira Data Center / self-managed | Cloud + Data Center | Cloud + self-managed | Cloud + self-managed |
# Homebrew (macOS / Linux)
brew tap mulhamna/tap
brew install jira-commands
# Optional MCP server
brew install jira-mcp
# Cargo
cargo install jira-commands
# Windows (Scoop)
scoop bucket add mulhamna https://github.com/mulhamna/scoop-bucket
scoop install mulhamna/jirac
scoop install mulhamna/jirac-mcp
# Windows (winget)
winget install mulhamna.jirac
More methods (install script, PowerShell, GitHub Releases): INSTALL.md
# Authenticate
jirac auth login
# List your assigned issues
jirac issue list
# View an issue
jirac issue view PROJ-123
jirac issue view PROJ-123 --versions
jirac PROJ-123 --web
# Browse or manage project fix versions
jirac issue versions -p PROJ --version "v1.2.0"
jirac issue versions -p PROJ --version "v1.2.0" --set-release-date 2026-05-30 --released
jirac issue versions -p PROJ --create --version "v1.3.0" --description "June release"
# Create an issue (interactive)
jirac issue create -p PROJ
# Transition an issue
jirac issue transition PROJ-123 "In Progress"
# Launch the TUI
jirac tui -p PROJ
jirac issue list # assigned to you
jirac issue list -p PROJ # by project
jirac issue list --jql "status = 'In Progress'" # custom JQL
jirac issue standup # daily standup summary
jirac issue sprint-summary -p PROJ # current sprint summary
jirac issue sprints -p PROJ # list project sprints
jirac issue sprint-create -p PROJ --name "Sprint 24" --board-id 12
jirac issue sprint-start -p PROJ --sprint "Sprint 24" --end-date 2026-06-03
jirac issue sprint-update -p PROJ --sprint "Sprint 24" --name "Sprint 24A" --end-date 2026-06-04
jirac issue sprint-complete -p PROJ --sprint "Sprint 24"
jirac issue sprint-delete -p PROJ --sprint "Sprint 24A" --force
jirac issue view PROJ-123 # view detail
jirac issue view PROJ-123 --versions # include fix-version backlog preview
jirac PROJ-123 --web # open issue in browser
jirac issue versions -p PROJ # list project fix versions
jirac issue versions -p PROJ --version "v1.2.0" # preview backlog for one fix version
jirac issue versions -p PROJ --version "v1.2.0" --set-start-date 2026-05-20
jirac issue versions -p PROJ --version "v1.2.0" --set-release-date 2026-05-30 --released
jirac issue versions -p PROJ --version "v1.2.0" --set-name "June 2026"
jirac issue versions -p PROJ --create --version "v1.3.0" --description "June release"
jirac issue create -p PROJ # create (interactive)
jirac issue create -p PROJ --issue-type Bug --summary "Login fails on Safari"
jirac issue render --input desc.md # preview Markdown -> ADF JSON
jirac issue render --input desc.md --output text # preview rendered plain text
jirac issue update PROJ-123 --summary "New title"
jirac issue update PROJ-123 --assignee user@co.com
jirac issue transition PROJ-123 # interactive picker
jirac issue transition PROJ-123 "In Progress"
jirac issue attach PROJ-123 ./screenshot.png
jirac issue attachment list PROJ-123 # list attachments on an issue
jirac issue attachment download 10100 --out ./tmp # download by attachment ID
jirac issue attachment delete 10100 --force # delete by attachment ID
jirac issue comment PROJ-123 update 10001 --body "Updated context"
jirac issue comment PROJ-123 delete 10001 # prompts before deletion
jirac issue worklog PROJ-123 update 10234 --time 3h --comment "Re-estimated"
jirac issue sprint-remove-issue PROJ-123 # return to board backlog
jirac issue rank PROJ-123 --before PROJ-456
jirac issue rank PROJ-123 --after PROJ-789 --json
jirac issue bulk-comment --jql 'project = PROJ AND status = "In Progress"' --body "QA is reviewing this now"
jirac issue bulk-comment --keys PROJ-123 PROJ-456 --file note.md
jirac issue delete PROJ-123
jirac issue change-type PROJ-123 Story
jirac issue move PROJ-123 OTHER
jirac issue clone PROJ-123
jirac issue link list-types # list available link types
jirac issue link add PROJ-123 PROJ-456 --link-type Blocks # link two issues
jirac issue link delete 10000 # delete link by ID
jirac issue batch --manifest ops.json
jirac issue bulk-create --manifest issues.json
Descriptions, comments, and worklog comments accept Markdown on both Cloud and
Data Center. jirac converts it to ADF for API v3 or Jira wiki markup for API v2,
including headings, emphasis, links, lists, tables, and code blocks.
With --description-file, use --description-format text for literal text or
--description-format adf for pre-built ADF. On API v2, supported ADF retains its
formatting in wiki markup. Unsupported structures, nodes, or marks produce a
warning and degrade to readable text instead of blocking the write. Labels and
URLs are retained where available; opaque nodes use a visible placeholder.
Malformed ADF and excessive nesting still return an error.
The CLI reports formatting warnings on stderr; the TUI shows a warning in its
status line. MCP write results include an optional warnings array alongside
result; bulk and batch warnings describe the call as a whole.
On API v2, code-language hints use Jira's bundled formatters. Plain-text aliases and unsupported languages retain the code block without syntax highlighting; unsupported languages produce a warning. List items support code blocks, quotes, headings, and continuation paragraphs. Nested lists followed by more parent content are flattened within the parent item so the continuation does not become part of the last nested child. Emphasis inside words retains its formatting. Links sharing a text run that Jira cannot render are shown as label plus URL with a warning, rather than raw wiki syntax. Pipe characters in link labels retain native links. Relative paths and unsupported URL schemes use readable label-plus-target fallback instead of Jira error markup; compatible URL schemes, protocol-relative URLs, and fragments retain native links. ADF mentions use Data Center login names or Cloud account IDs for the selected deployment. Existing API v2 descriptions copied when cloning issues and unchanged worklog comments are preserved verbatim.
input_format selects how descriptions, comments, worklog comments, and issue-link
comments are interpreted. The API version selects the representation sent to Jira:
input_format | API v2 | API v3 |
|---|---|---|
markdown (default) | Markdown → ADF → wiki markup | Markdown → ADF |
wiki | Send wiki markup unchanged | Reject: no wiki → ADF converter |
adf | ADF → wiki markup, warning about unsupported content | Send the ADF document |
ADF input must be JSON with type: "doc", version: 1, and a content array.
Invalid JSON or document root fields cause an error; Jira validates the remaining
ADF schema. API v2 uses the existing converter and can flatten unsupported content.
jirac config set input_format wiki # save in the active profile
JIRA_INPUT_FORMAT=wiki jirac issue comment PROJ-123 add --file note.wiki
jirac issue update PROJ-123 --description-file desc.wiki --description-format wiki
JIRA_INPUT_FORMAT=adf jirac issue comment PROJ-123 add --file note.adf.json
jirac config unset input_format # back to the Markdown default
JIRA_INPUT_FORMAT overrides the profile. An empty value selects Markdown; an
unknown value emits a warning and keeps the profile's value.
--description-format markdown|wiki|text|adf overrides the setting for one file
(md is accepted for markdown). The setting also applies to description in
bulk-create and batch manifests, including batch update. Pre-built ADF fields
keep their meaning. jirac auth status and jirac config show print the active
input format. The TUI follows the same setting for comments and worklogs. On API v2
it edits an existing description as its wiki source, so panels, colors and macros
survive a save.
On API v3, wiki is rejected before any request is sent when a command would write
text: lookups, searches, and earlier manifest operations are not run either.
Commands that write no text are not affected.
Issue descriptions and comments are rendered from Jira wiki markup on API v2
and ADF on API v3. CLI and TUI descriptions and MCP description excerpts support
wiki headings, lists, tables, links, mentions, images, emphasis, quotes, and
code/noformat blocks. Images use text placeholders; unknown macros remain visible
and are never executed. This is display rendering, not a lossless conversion for
editing. Raw issue descriptions remain available through issue view --json
and jirac api.
jirac issue worklog PROJ-123 list
jirac issue worklog PROJ-123 add --time 2h --comment "Fixed auth bug"
jirac issue worklog PROJ-123 add --time 2h --date 2026-04-21 --start 09:30 --comment "Backfilled worklog"
jirac issue worklog PROJ-123 add --time 2h --from 2026-04-21 --to 2026-04-25 --exclude-weekends --comment "Backfill week"
jirac issue worklog PROJ-123 delete 10234
jirac issue worklog PROJ-123 update 10234 --time 3h --comment "Re-estimated"
jirac issue worklog add also supports optional --date YYYY-MM-DD and --start HH:MM[:SS] flags to set the Jira worklog started timestamp explicitly. For backfills across multiple days, use --from YYYY-MM-DD --to YYYY-MM-DD, plus --exclude-weekends if Saturdays/Sundays should be skipped. In the TUI, pressing w opens the single-worklog modal, while b opens a bulk worklog modal for date ranges with weekend exclusion and a submit-confirm step.
jirac issue watch PROJ-123 add
jirac issue watch PROJ-123 add --account-id 5b10ac8d82e05b22cc7d4ef5
jirac issue watch PROJ-123 list
jirac issue watch PROJ-123 rm 5b10ac8d82e05b22cc7d4ef5
add defaults to the current authenticated user (resolved via /myself). rm prompts for confirmation unless --force is given. In the TUI, the Summary tab shows the watcher count and the first few display names, and pressing W adds yourself as a watcher in place.
watch ... list omits account IDs from terminal output. watch ... rm accepts an exact display name or account ID; ambiguous display names require an account ID.
jirac board list # all boards
jirac board list -p PROJ # filter by project
jirac board list -p PROJ -t scrum # filter by board type (scrum|kanban|simple)
jirac board get 12 # board detail
jirac board issues 12 # issues currently on the board
jirac board issues 12 --jql 'status = "To Do"' --max 50
jirac board backlog 12 # issues not in an active/future sprint
jirac board list -p PROJ --json # JSON output for scripting
# Move an issue from its sprint back to backlog and adjust board order
jirac issue sprint-remove-issue PROJ-123
jirac issue rank PROJ-123 --before PROJ-456
jirac issue rank PROJ-123 --after PROJ-789 --json
Each board subcommand accepts --json for machine-readable output. Wraps the same /rest/agile/1.0/board endpoints used by the TUI board picker (press B).
jirac issue bulk-comment --jql 'project = PROJ AND sprint = openSprints()' --body 'Please post status before standup'
jirac issue bulk-comment --keys PROJ-123 PROJ-456 --file note.md
jirac issue bulk-transition --jql 'project = PROJ AND status = "To Do"' --to "In Progress"
jirac issue bulk-update --jql 'project = PROJ AND assignee = EMPTY' --assignee me
jirac issue archive --jql 'project = PROJ AND status = Done AND updated < -90d'
jirac issue bulk-create --manifest issues.json
jirac issue batch --manifest ops.json
In the TUI, press : to open a bulk-comment modal. It supports the current JQL view or an explicit issue-key list, then asks for one more Ctrl+S confirmation before posting.
jirac issue jql # interactive prompts
jirac issue jql --run # run the generated query
jirac issue jql --params '{"project":"PROJ","status":["In Progress"]}'
jirac issue jql --params @query.json --run # load params from a file
The builder composes JQL through jira_core::jql::compose_jql, escaping user-supplied values and rejecting control characters / unsafe field names. The same structured JqlParams schema is exposed over MCP as the jira_jql_build tool.
Check the active profile and API version with jirac auth status (which may
contact Jira). Raw paths and bodies are passed through unchanged: API v3
(normally Cloud) uses /rest/api/3/... and generally uses ADF for descriptions
and comments; API v2 (normally Data Center) uses /rest/api/2/... and generally
uses wiki-markup strings. Check the endpoint schema before sending a request.
# Cloud / API v3
jirac api get /rest/api/3/serverInfo
jirac api post /rest/api/3/issue --body '{"fields":{"project":{"key":"PROJ"},"summary":"Issue title","issuetype":{"name":"Task"}}}'
# Data Center / API v2
jirac api get /rest/api/2/serverInfo
jirac plan list
jirac auth login
jirac auth profiles
jirac auth use work-cloud
jirac auth status
jirac auth update --profile client-dc --token NEW_SECRET
jirac auth logout --profile client-dc
# Jira Cloud
jirac auth login --profile work-cloud
# Jira Data Center with PAT
jirac auth login --profile client-dc
# Switch active account
jirac auth use client-dc
The TUI is a full-screen terminal interface for browsing and managing issues. Recent builds include a split master-detail layout, a project-level fix-version browser (V) with backlog preview plus in-place version creation (n) and metadata editing (e), a project-scoped Agile board picker (B), saved JQL picker, theme picker, server summary, config summary overlays, in-TUI modals for native issue type changes and project moves, both single (w) and bulk (b) worklog flows, and a self-watch shortcut (W) with watcher count rendered on the Summary tab. Press ? inside the TUI for a complete shortcut reference.
The TUI also accepts full mouse input: click any issue row to select, double-click (or click a tab) to open the detail view, click picker options to apply or toggle, scroll the wheel to navigate, and click outside any popup to dismiss it. Form modals stay keyboard-only so in-flight input isn't lost.
jirac tui -p PROJ
Full keybinding and mouse reference: TUI.md
Config file: ~/.config/jira/config.toml
current_profile = "work-cloud"
[profiles.work-cloud]
base_url = "https://yourcompany.atlassian.net"
email = "you@example.com"
token = "your_api_token"
project = "PROJ"
timeout_secs = 30
deployment = "cloud"
auth_type = "cloud_api_token"
api_version = 3
[profiles.client-dc]
base_url = "https://jira.company.internal"
email = "ops-user"
token = "your_pat"
project = "OPS"
timeout_secs = 30
deployment = "data_center"
auth_type = "datacenter_pat"
api_version = 2
ca_bundle = "/path/to/internal-ca.pem"
ca_bundle is optional — point it at a PEM file with your CA certificate(s) when
a self-hosted Jira presents a cert from an internal CA. You can also set it with
jirac auth login --cacert /path/to/ca.pem (the interactive flow offers it for
Data Center) or the JIRA_CA_BUNDLE env var.
input_format is optional too: markdown (default), wiki (API v2 only), or
adf — see Rich-text input formats.
Set it with jirac config set input_format wiki or the JIRA_INPUT_FORMAT env var.
Environment variables override the active profile:
export JIRA_PROFILE=work-cloud
export JIRA_URL=https://yourcompany.atlassian.net
export JIRA_EMAIL=you@example.com
export JIRA_TOKEN=your_api_token
export JIRA_CA_BUNDLE=/path/to/internal-ca.pem
For a Data Center (API v2) profile that should take native wiki markup:
export JIRA_PROFILE=client-dc
export JIRA_INPUT_FORMAT=wiki
jirac-mcp exposes Jira as typed Model Context Protocol tools for editors, agents, and desktop apps. See the jirac-mcp README for setup and available tools.
Run jirac mcp install with no arguments for an interactive picker that first verifies the prerequisites (jirac-mcp binary on PATH, Jira auth configured) and then registers the server through Kurir. Pass --client to skip the picker for scripts, or jirac mcp doctor to check prerequisites and Kurir harness readiness without writing anything.
Supported helpers include ARSY CODE, Claude Code, Claude Code CLI, Claude Desktop, Cursor, Gemini CLI, Codex, VS Code (GitHub Copilot), GitHub Copilot CLI, OpenCode, Windsurf, Zed, OpenClaw, Hermes, generic JSON snippets, Antigravity CLI, and Antigravity Desktop.
See INSTALL.md for the supported target matrix, client-specific notes, and recommended install flow.
The jira-core crate can be used independently:
[dependencies]
jira-core = "0.12"
use jira_core::{JiraClient, config::JiraConfig};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let config = JiraConfig::load()?;
let client = JiraClient::new(config);
let results = client.search_issues("project = PROJ", None, Some(10)).await?;
for issue in results.issues {
println!("{}: {}", issue.key, issue.summary);
}
Ok(())
}
See jira-core on crates.io for full API documentation.
git clone https://github.com/mulhamna/jira-commands
cd jira-commands
make build # or: cargo build --all
make test # or: cargo test --all
make smoke # fmt-check + clippy + test + build (CI gate)
make help # list all targets
cargo install --path crates/jira --locked # installs `jirac`
cargo install --path crates/jira-mcp --locked # installs `jirac-mcp`
crates/
jira-core/ # shared client, models, config, auth
jira/ # CLI app
jira-mcp/ # MCP server
assets/ # screenshots and images
packaging/ # release/install packaging
Thanks to everyone helping shape jirac. This footer is refreshed automatically during the release lane.