MCP Hub
Back to servers

jtk

Jira CLI & MCP Server — dual-mode Go binary for Jira Cloud with 9 tools, 4 prompts, permission introspection, and dev-status API.

glama
Stars
1
Forks
1
Updated
Mar 16, 2026

jtk — Jira Toolkit

CI Go Report Card Documentation License

The most comprehensive dedicated Jira MCP server in the open-source ecosystem. A dual-mode Go binary that works as both a rich CLI tool and an MCP server for AI agents.

11 MCP tools · 4 prompt templates · Full CLI · Single binary · Zero dependencies

Why jtk?

jtkmcp-atlassian (Python)
LanguageGo (single ~15MB binary)Python (pip install + deps)
Jira tools11 dedicated tools~30 mixed Jira+Confluence
Startup~50ms~2s
Permission introspectionDynamic at startupNone
Dev status APIBranches, PRs, commitsNot available
Issue metricsCycle time, lead time, time-in-statusNot available
MCP prompts4 built-in templatesNone
AuthClassic + scoped tokensClassic only

Features

  • Dual Mode — CLI for humans, MCP server for AI agents, same binary
  • Git Awareness — Auto-detects Jira issue keys from branch names (e.g., feature/PROJ-123-add-loginPROJ-123)
  • Dynamic Permission Introspection — Queries /mypermissions at MCP startup, only registers mutation tools your token allows
  • Dev Status API — Surfaces branches, PRs, and commits linked to any issue via Jira's 3-step dev-status endpoint
  • Issue Metrics — Cycle time, lead time, time-in-status breakdown with status transition history
  • MCP Prompts — Standup summary, sprint status, release notes, dev dependency tree
  • Token-Efficient — Consolidated action-based tools minimize schema overhead. ResponseFlattener strips bloated JSON. Full ADF↔Markdown conversion
  • Agile-First — Boards, sprints, backlogs, sprint mutations, active sprint detection

Installation

# From source
git clone https://github.com/zach-snell/jtk.git && cd jtk
./install.sh  # builds and copies to ~/.local/bin

# Or build manually
go build -o jtk ./cmd/jtk

Pre-built binaries available on the Releases page.

Quick Start

# Authenticate
jtk auth

# Get current issue from git branch
jtk issues get

# Search with JQL
jtk issues search --jql "project = PROJ AND status = 'In Progress'"

# Create an issue
jtk issues create --project PROJ --type Task --summary "Fix login bug"

# Sprint overview
jtk boards list
jtk boards active-sprint --board 1

CLI Commands

jtk auth                    Authenticate with Jira Cloud
jtk issues                  Issue CRUD, search, comments, transitions, links
jtk boards                  Agile boards, sprints, backlogs
jtk projects                List, get, create projects
jtk users                   Search and get users
jtk versions                Project versions/releases
jtk worklogs                Time tracking

MCP Server

Stdio Transport (Claude Desktop, Cursor, OpenCode, etc.)

{
  "mcpServers": {
    "jira": {
      "command": "/path/to/jtk",
      "args": ["mcp"],
      "env": {
        "JIRA_DOMAIN": "your-domain",
        "JIRA_EMAIL": "you@example.com",
        "JIRA_API_TOKEN": "your-api-token"
      }
    }
  }
}

Streamable HTTP Transport

jtk mcp --port 8080

Environment Variables

VariableDescriptionRequired
JIRA_DOMAINAtlassian domain (e.g., acme for acme.atlassian.net)Yes
JIRA_EMAILEmail for the API tokenYes
JIRA_API_TOKENAtlassian API tokenYes
JIRA_TOKEN_TYPEclassic or scoped (auto-detected if omitted)No
JIRA_DISABLED_TOOLSComma-separated tool names to hideNo

MCP Tools (11)

ToolActions
manage_issuesget, create, update, assign, transition, delete, add_comment, edit_comment, list_comments, list_types, get_links, get_history, link, list_link_types, get_watchers, add_watcher, remove_watcher
manage_searchjql, quick
manage_boardslist_boards, get_board, list_sprints, get_sprint_issues, get_backlog, get_active_sprint, search_sprints, create_sprint, update_sprint, move_to_sprint
manage_projectslist, get, list_statuses, create
manage_devinfoget_dev_info
manage_worklogslist, add
manage_versionslist, get, create
manage_attachmentslist, download, upload, delete
manage_usersget_current, search, get
manage_metricsget_dates, get_metrics

MCP Prompts (4)

PromptDescription
standup_summaryGenerate a standup report from recent activity
sprint_statusAnalyze sprint health and progress
release_notesDraft release notes from a version's issues
dev_dependency_treeMap development dependencies across linked issues

Security

Three-layer safety model:

  1. Token scopes — Atlassian scopes control which APIs the token can call (403 if missing)
  2. Permission introspection — jtk queries /mypermissions at startup and dynamically hides mutation tools your account lacks
  3. Tool denial — Explicitly hide tools: JIRA_DISABLED_TOOLS="manage_boards,manage_worklogs"

Development

go test -race ./...          # Run tests
golangci-lint run ./...      # Lint
go build -o jtk ./cmd/jtk   # Build

License

Apache 2.0

Reviews

No reviews yet

Sign in to write a review