Skip to main content
Glama

ttm-jira

MCP server cho Jira Server / Data Center. Chạy trên máy bạn bằng Personal Access Token của chính bạn. Không có dịch vụ http, không lưu token ở nơi khác.

Gồm các việc mà MCP Jira thông thường chưa làm được: mã issue dạng số, trường tùy chỉnh bất kỳ (tên thay cho customfield_xxx), Smart Checklist, chuyển trạng thái tự tìm đường, chuyển sub-task thành issue, báo cáo theo ngày/người/chức năng.

Cài nhanh (khuyến nghị, không cần Python)

Cài binary đã dựng sẵn cho macOS Apple Silicon, Linux (x64 và arm64) và Windows x64. Mac Intel tạm chưa có bản dựng sẵn.

macOS / Linux

curl -fsSL https://raw.githubusercontent.com/toantranmei/ttm-jira/main/install.sh | sh

Windows (PowerShell)

irm https://raw.githubusercontent.com/toantranmei/ttm-jira/main/install.ps1 | iex

Script tải file từ GitHub Releases, kiểm tra checksum, rồi cài vào ~/.local/bin (macOS/Linux) hoặc %LOCALAPPDATA%\ttm\bin (Windows).

Sau khi cài, đăng ký với Claude Code (thay giá trị trong <>):

claude mcp add ttm-jira \
  -e JIRA_URL=https://jira.example.com \
  -e JIRA_PERSONAL_TOKEN=<token-của-bạn> \
  -- "$HOME/.local/bin/ttm-jira"

Trên Windows, đường dẫn là %LOCALAPPDATA%\ttm\bin\ttm-jira.exe.

Token lấy tại Jira: Profile → Personal Access Tokens.

Related MCP server: JIRA MCP Server

Claude Desktop (không dùng terminal)

Tải file ttm-jira-*.mcpb mới nhất ở trang Releases, nhấp đúp để cài, rồi điền Địa chỉ Jira và Personal Access Token trong giao diện.

Cài bằng Python (tùy chọn)

Nếu bạn đã có uv:

claude mcp add ttm-jira -e JIRA_URL=… -e JIRA_PERSONAL_TOKEN=… -- uvx ttm-jira

Gói PyPI sẽ có sau khi phát hành lần đầu.

Biến môi trường

Biến

Bắt buộc

Mặc định

Mô tả

JIRA_URL

có

—

Địa chỉ Jira, ví dụ https://jira.example.com

JIRA_PERSONAL_TOKEN

có

—

Personal Access Token của bạn

JIRA_SSL_VERIFY

không

true

Đặt false chỉ khi Jira dùng chứng chỉ tự ký nội bộ

JIRA_DEFAULT_PROJECTS

không

—

Mã dự án mặc định, ví dụ 10000,10001

JIRA_TZ_OFFSET

không

7

Múi giờ (giờ) cho báo cáo theo ngày

JIRA_MODULE_RULES

không

—

JSON {"Tên nhóm": "regex"} để phân nhóm bug trong report_open_bugs

Ví dụ JIRA_MODULE_RULES:

{"Đăng nhập": "LOGIN|ĐĂNG NHẬP", "Thanh toán": "PAY|THANH TOÁN"}

Công cụ (20 tool)

  • Issue: jira_get_issue, jira_search, jira_find_field, jira_create_issue, jira_update_issue, jira_comment, jira_assign, jira_convert_subtask

  • Trạng thái và liên kết: jira_get_transitions, jira_transition, jira_link, jira_delete_link, jira_link_types

  • Sprint: jira_sprints, jira_add_to_sprint

  • Smart Checklist: jira_checklist_get, jira_checklist_set

  • Báo cáo: report_status_changes, report_open_bugs, report_user_activity

Bảo mật

  • Token nằm trong cấu hình của client trên máy bạn. Không đưa token vào repo, log hay ảnh chụp màn hình.

  • Server chỉ gọi tới JIRA_URL bạn cấu hình. Không mở cổng mạng.

Phát triển

git clone https://github.com/toantranmei/ttm-jira && cd ttm-jira
uv run --with-editable . ttm-jira            # chạy stdio
packaging/build.sh ttm-jira darwin-arm64     # dựng binary + archive trong dist/release/

Phát hành: đẩy tag v* để GitHub Actions dựng binary cho 4 nền tảng, đóng gói .mcpb và tạo Release.

Giấy phép

MIT. Xem LICENSE.

Available Tools

20 tools
jira_add_to_sprintC

Đưa issue vào sprint. issue_keys cách nhau dấu phẩy.

Inputs: sprint_id (required), issue_keys (required). Returns: result

jira_assignB

Giao issue cho người dùng (username Jira, vd nguyenvana). Chuỗi rỗng = bỏ giao.

Inputs: username (required), issue_key (required). Returns: result

jira_checklist_getC

Đọc Smart Checklist: danh sách mục và trạng thái.

Inputs: issue_key (required). Returns: result

jira_checklist_setB

Ghi Smart Checklist. Mỗi dòng một mục: '- việc' (TO DO), '~ việc' (IN PROGRESS), '+ việc' (DONE), '- [SKIPPED] việc'. replace=False để thêm vào cuối.

Inputs: markdown (required), issue_key (required), replace. Returns: result

jira_commentC

Thêm comment (cú pháp Jira wiki).

Inputs: body (required), issue_key (required). Returns: result

jira_convert_subtaskB

Chuyển sub-task/sub-bug thành issue thường (giữ mã, lịch sử, comment) qua màn chuyển đổi của Jira. field_values_json: giá trị cho trường bắt buộc của loại mới, theo id option, vd {"customfield_11102":"11023"}. Nếu bỏ trống Severity, tool tự chọn theo priority (Highest/High->Major, Medium->Medium, Low->Low).

Inputs: issue_key (required), issue_type, field_values_json. Returns: result

jira_create_issueC

Tạo issue (kể cả Bug có trường bắt buộc). description theo cú pháp Jira wiki. fields_json: {"Severity":"Major","Bug Type":"Normal Function","priority":"High","labels":["release-1"], "Epic Link":"10001-5750","Sprint":1264,"duedate":"2026-10-30","Start Date":"2026-10-27"} links_json: [{"type":"Relates","from":"10000-2544","to":"NEW"}] ('NEW' = issue vừa tạo) checklist_markdown: '- việc 1\n- việc 2' (Smart Checklist).

Inputs: summary (required), issue_type (required), project_key (required), assignee, +4 more. Returns: result

jira_find_fieldB

Tìm id trường (vd 'severity' -> customfield_11102) và kiểu dữ liệu.

Inputs: keyword (required). Returns: result

jira_get_issueC

Đọc một issue (mã dạng số được). fields: danh sách trường cách nhau dấu phẩy, '*all' để lấy tất cả.

Inputs: issue_key (required), fields, comment_limit, include_comments. Returns: result

jira_get_transitionsC

Liệt kê các bước chuyển trạng thái đang có.

Inputs: issue_key (required). Returns: result

jira_sprintsC

Liệt kê sprint của board (state: active, future, closed).

Inputs: board_id (required), state. Returns: result

jira_transitionA

Chuyển issue tới trạng thái đích (vd Closed, Rejected, Ready For Testing). Nếu không có bước trực tiếp, tự đi qua trạng thái trung gian trong via_statuses (cách nhau dấu phẩy). comment được thêm sau khi chuyển.

Inputs: issue_key (required), to_status (required), comment, max_hops, +2 more. Returns: result

jira_update_issueC

Sửa issue. fields_json dùng tên trường hoặc id: {"summary":"...","description":"...","priority":"High", "Severity":"Major","Epic Link":"10000-2480","Sprint":1264,"duedate":"2026-10-30"}. add_labels/remove_labels: danh sách nhãn cách nhau dấu phẩy.

Inputs: issue_key (required), add_labels, fields_json, remove_labels. Returns: result

report_open_bugsB

Bug còn tồn, nhóm theo chức năng x độ ưu tiên x trạng thái x người. scope: 'all' | 'sprint' (bug trong sprint_id hoặc openSprints() + bug liên kết tới issue trong sprint). list_priorities: liệt kê chi tiết các bug thuộc các mức này.

Inputs: scope, projects, extra_jql, sprint_id, +1 more. Returns: result

report_status_changesB

Thống kê chuyển trạng thái trong khoảng ngày (YYYY-MM-DD, giờ VN): đếm theo dự án/from->to/người, và liệt kê chi tiết các lần chuyển sang detail_statuses (vd Reopened) kèm người sửa trước đó.

Inputs: date_from (required), date_to, projects, extra_jql, +1 more. Returns: result

report_user_activityC

Hoạt động của một người theo ngày (tạo issue, chuyển trạng thái, sửa trường, comment) – dùng để log work.

Inputs: date_to (required), username (required), date_from (required), projects. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 20 tools

    Disambiguation4/5

    Each tool maps to a distinct action/resource: transitions (list vs perform), links (create/delete/list types), checklist (get/set), issues (get/search/create/update), plus three separate report tools. The only blur is that jira_create_issue and jira_update_issue bundle link/checklist/field conveniences that also exist as standalone tools (jira_link, jira_checklist_set), which could make an agent pick either path.

    Naming Consistency4/5

    The bulk of tools follow a clean jira_<noun>_<verb> / jira_<verb>_<noun> snake_case pattern with a shared prefix. Deviations are the three unprefixed report_* tools and mixed ordering (jira_get_issue vs jira_checklist_get), but everything remains predictable and readable.

    Tool Count4/5

    Twenty tools is on the heavy side but each one covers a genuinely distinct Jira operation (field lookup, link types, checklist, sprints, conversion, reporting) that would otherwise be impossible to do via the API. Nothing looks like filler, though a few conveniences could be folded into create/update.

    Completeness4/5

    Core Jira lifecycle is well covered: search, get, create, update, transition, assign, link management, sprint membership, comments, checklists, subtask conversion, and reporting. Gaps are secondary (no delete issue, no worklog write despite report_user_activity mentioning log work, no attachment or watcher operations), which agents can mostly work around.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Connects Jira with Claude, enabling users to search issues, view issue details, update issues, add comments, and retrieve project information through natural language commands.
      1
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude AI to interact with JIRA for project management and issue tracking, supporting JQL queries, comprehensive issue details retrieval with subtasks and linked issues, and release planning analysis.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables Claude AI and other MCP clients to interact with Jira Server/Data Center through tools like listing issues, logging work, and updating issues, requiring user confirmation for write operations.
      8
      1
      MIT