jira-alerts-mcp
jira-alerts-mcp
Jira Service Management Operations REST API용 MCP 서버 — 알림(alerts) 및 온콜(on-call) 기능을 제공합니다.
왜 필요한가
알림은 작업 항목(work item)이 아닙니다. 알림은 /jsm/ops/api라는 별도의 API(리호스팅된 Opsgenie 표면) 뒤에 있으며, 고유한 스코프, 고유한 ID 형식, 고유한 비동기 쓰기 의미론을 가집니다. MCP Registry에는 30개의 Jira 서버가 등록되어 있는데, 그 모두가 작업 항목만 다룹니다. 그중 어느 것도 지금 당신에게 페이지(paging)를 보내는 대상을 알려주지 못합니다.
공식 Atlassian MCP 서버도 이 격차를 메우지 못합니다. atlassian/atlassian-mcp-server는 Jira, Confluence, Jira Service Management 요청, Bitbucket, Compass 및 Teamwork Graph를 다룹니다. 알림, 일정 또는 온콜을 위한 도구는 없습니다. 또한 호스팅된 폐쇄형 서버이므로 — 저장소에는 핸들러가 아닌 매니페스트와 스킬만 들어 있습니다 — 이 격차는 기여로 해결할 수 있는 것이 아니라 Atlassian이 해결해야 할 문제입니다.
실제로 존재하는 Opsgenie MCP 서버들은 종료일이 정해진 API를 사용합니다. giantswarm/mcp-opsgenie, burakdirin/opsgenie-mcp-server, daviddykeuk/opsgenie-mcp는 모두 GenieKey로 api.opsgenie.com을 호출합니다. Opsgenie는 2025년 6월 4일 판매 종료, 2027년 4월 5일 서비스 종료되었으며, 그 시점부터 해당 REST API는 응답을 중단합니다. 해당 기능은 Jira Service Management로 이전되었습니다.
이 서버는 그 기능을 대체하는 표면을 대상으로 합니다: OAuth 또는 Atlassian API 토큰을 사용하는 api.atlassian.com/jsm/ops/api/{cloudId}. 알림 검색, 메모 및 활동 타임라인 읽기, 확인(acknowledge) / 종료(close) / 주석(annotate) / 응답자 추가, 그리고 현재 및 다음 온콜 담당자 조회를 지원합니다.
Related MCP server: pagerduty-mcp
호환성
JSM Operations가 있는 Atlassian Cloud 테넌트 — 즉, 독립형 Opsgenie에서 이미 마이그레이션했거나 병합 이후에 프로비저닝된 사이트 — 를 대상으로 합니다. 팀이 여전히 app.opsgenie.com에 로그인하고 GenieKey로 인증한다면, 이 서버는 데이터에 접근할 수 없습니다. 위에 나열된 Opsgenie 서버 중 하나가 2027년까지는 그 역할을 할 수 있습니다.
기본 URL: https://api.atlassian.com/jsm/ops/api/{cloudId}/v1
도구
도구 | 엔드포인트 | 읽기/쓰기 |
|
| 읽기 |
|
| 읽기 |
|
| 읽기 |
|
| 읽기 |
|
| 읽기 |
|
| 쓰기 |
|
| 쓰기 |
|
| 쓰기 |
|
| 쓰기 |
|
| 읽기 |
|
| 읽기 |
|
| 읽기 |
의도적으로 구현하지 않은 것: DELETE /v1/alerts/{id} 및 알림 생성. 알림 삭제는 실행 취소가 없는 감사 기록을 파괴하며, 알림 생성은 대화형 에이전트가 아닌 통합 API(/jsm/ops/integration/v2/alerts)와 통합 키에 속합니다. 구체적인 필요가 있다면 이슈를 열어 주세요.
도구 설명에 인코딩된 세 가지 API 동작
이것들은 순진한 통합을 조용히 깨뜨리는 것들이므로, 모델이 실제로 읽을 도구 설명에 명시되어 있습니다:
쓰기는 비동기입니다. 모든 변경 엔드포인트는 즉시
{ result, requestId, took }를 반환하고 변경 사항을 대역 외로 적용합니다. 알림을 확인(ack)한 직후 다시 읽으면 여전히 미확인 상태로 보이는 경우가 많습니다.jsm_get_request_status가 올바른 검증 경로이며, 각 쓰기 도구가 이를 가리킵니다.tinyId는 ID가 아닙니다. JSM UI의 짧은 숫자(#4821)는/v1/alerts/{id}에서 거부되며, 전체uuid-timestampID만 허용합니다. 별칭은 완전히 다른 엔드포인트(/v1/alerts/alias?alias=)가 필요합니다. 스키마 설명과 404 핸들러 모두 이를 명시적으로 언급하므로, 모델은 같은 호출을 재시도하는 대신 스스로 수정합니다.검색 창은 20,000으로 제한됩니다.
offset + limit는 그 아래에 있어야 합니다.jsm_list_alerts는 더 깊은 페이지네이션을 로컬에서 거부하며, 모델에게 쿼리를 좁히라고 알리는 메시지를 반환합니다. 보장된 400에 왕복을 낭비하지 않도록 하기 위함입니다.
설정
Node ≥ 22가 필요합니다.
git clone https://github.com/rrvrs/jira-alerts-mcp.git
cd jira-alerts-mcp
npm install
npm run build구성
참고용으로 .env.example을 복사하세요. 서버는 자체적으로 .env를 읽지 않습니다 — MCP 서버는 클라이언트가 시작하며, 환경은 클라이언트가 소유합니다. 파일을 클라이언트의 env 블록에 대한 체크리스트로 사용하거나, 로컬 개발에서는 set -a; source .env; set +a를 사용하세요.
변수 | 필수 여부 | 참고 |
| 예 | Atlassian 사이트의 클라우드 ID(UUID) |
| 둘 중 하나 | |
| 둘 중 하나 | OAuth 3LO 베어러; 설정 시 우선함 |
| 아니요 |
|
| 아니요 | HTTP 전송; 기본값은 |
| 아니요 | 쉼표로 구분된 |
자격 증명은 시작 시 검증되므로, 잘못된 구성은 첫 도구 호출이 아닌 즉시 실행 가능한 메시지로 실패합니다.
클라우드 ID 찾기. 로그인한 상태에서 https://<your-site>.atlassian.net/_edgeAuth/tenantInfo를 열거나, 토큰으로 GET https://api.atlassian.com/oauth/token/accessible-resources를 호출하세요.
필요한 스코프. 읽기 도구는 read:ops-alert:jira-service-management가 필요하고, 쓰기 도구는 write:ops-alert:jira-service-management가 필요합니다. 읽기 스코프만 부여하는 것도 지원되는 구성입니다 — 쓰기 도구는 누락된 스코프를 명시하는 403으로 실패합니다.
계정에는 관련 팀에 대한 JSM Operations 접근 권한도 필요합니다. 알림과 일정은 팀의 Operations 페이지에 연결되므로, 팀을 볼 수 없는 자격 증명은 오류가 아닌 빈 목록을 얻게 됩니다.
Claude Code에 연결
claude mcp add jsm-alerts \
--env JSM_CLOUD_ID='your-cloud-id' \
--env JSM_EMAIL='you@example.com' \
--env JSM_API_TOKEN="${JSM_API_TOKEN}" \
-- node /absolute/path/to/jira-alerts-mcp/dist/index.js사람들이 자주 실수하는 두 가지: 서버 이름은 플래그보다 앞에 오는 첫 번째 위치 인수이며, zsh에서는 ${VAR}에 따옴표가 필요합니다. GUI로 시작된 세션의 경우 토큰은 ~/.claude/settings.json의 env 블록에 있어야 합니다 — 셸 환경은 상속되지 않습니다.
테스트
npm test # offline test suite — no network, no tenant
npm run inspect # MCP Inspector against dist/index.js — needs credentials실제 확인을 위해 jsm_list_schedules로 시작하세요. ID가 필요 없으며 인증, 스코프 및 팀 가시성을 한 번에 확인합니다.
엔드포인트 검증 상태
경로는 추측이 아닌 JSM ops REST API 참조를 기준으로 확인되었습니다:
게시된 문서에서 확인됨:
/v1/alerts,/v1/alerts/{id},/v1/alerts/alias,/v1/alerts/requests/{id},/v1/alerts/{id}/acknowledge,/v1/alerts/{id}/close,/v1/alerts/{id}/responders,/v1/alerts/{id}/notes,/v1/schedules/{id}/on-calls,/v1/schedules/{id}/next-on-calls.Opsgenie와 동일, 첫 실행 시 확인할 가치 있음:
GET /v1/alerts/{id}/logs및 노트/로그 페이지네이션의 정확한 쿼리 매개변수(order,offset커서). JSM Operations는 Opsgenie API의 리호스팅이며 여기서는 변경되지 않았지만, 문서 사이트는 클라이언트 측 렌더링이라 끝까지 읽을 수 없었습니다.컬렉션 래퍼: Atlassian은 컬렉션이
data아래에 오는지values아래에 오는지 일관성이 없습니다.JsmClient.getCollection은 둘 다 허용하고 정규화하므로 어느 쪽이든 변경이 필요 없습니다 — 하지만 목록 도구가 존재하는 데이터에 대해 0개 항목을 반환한다면, 그 정규화기가 가장 먼저 살펴볼 곳입니다.
아키텍처
src/
├── index.ts # transports and startup credential validation
├── server.ts # assembles the tool domains
├── constants.ts # API root, limits
├── types.ts # JSM API interfaces
├── schemas/common.ts # Zod fragments shared across domains
├── services/
│ ├── client.ts # auth, request, envelope normalisation, error mapping
│ └── format.ts # markdown rendering, truncation, result envelopes
└── tools/
├── define.ts # defineTool() + registerTools()
├── list-executor.ts # the shared list pipeline
├── alerts/ # read tools — one file per tool, plus shapes.ts
├── actions/ # write tools, all via execute-action.ts
└── oncall/ # schedules and on-call도구당 파일 하나. 도구 모듈은 입력 형태, 설명 및 핸들러만 소유하며 그 외에는 아무것도 없습니다 — 가장 큰 것은 약 100줄입니다. server.ts는 세 도메인의 내보낸 배열을 연결하고, index.ts는 전송만 알고 있습니다.
확장할 때 보존할 가치가 있는 세 가지 규칙:
모든 목록 도구는
executeList를 거칩니다 (tools/list-executor.ts). 이 함수가 가져오기, 빈 결과 분기, 25,000자로의 잘림, 페이지네이션 블록 및 형식 전환을 소유합니다. 이 로직의 도구별 복사본에 두 가지 버그가 있었습니다 — 빈 페이지가 SDK가 거부하는 결과를 반환했고,next_offset가 잘림이 버린 레코드를 건너뛰었습니다. 이제 의도적으로 하나의 복사본만 있습니다.모든 쓰기는
executeAction을 거칩니다 (tools/actions/execute-action.ts), 따라서 비동기 수신 계약이 네 개의 쓰기 도구 사이에서 어긋날 수 없습니다.페이지네이션은 가져온 것이 아니라 전달된 것을 보고합니다.
count와next_offset는 실제 응답에 있는 레코드를 설명하며,truncated는 API가 맞는 것보다 더 많이 반환했을 때 표시됩니다.
inputSchema에 대한 참고
MCP TypeScript SDK의 registerTool은 원시 Zod 형태(Zod 유형의 일반 객체)를 기대하며, z.object(...)가 아닙니다. 일부 예제에서 보여주는 것처럼 z.object를 전달하면 실패합니다. 여기의 도구는 일반 형태를 정의하고 z.infer<z.ZodObject<typeof shape>>로 입력 유형을 파생합니다. 한 가지 결과: .strict()는 원시 형태에 적용할 수 없으므로, 알 수 없는 키는 거부되는 대신 제거됩니다.
관련하여, ToolResult는 인터페이스가 아닌 유형 별칭입니다: SDK의 CallToolResult는 인덱스 시그니처를 가지며, TypeScript는 유형 별칭에만 암시적 인덱스 시그니처를 부여합니다.
기여
개발 루프, 보존할 가치가 있는 규칙, 도구 추가 방법은 CONTRIBUTING.md를 참조하세요. 이슈와 PR에는 클라우드 ID, 토큰 또는 실제 알림 데이터가 포함되어서는 안 됩니다.
보안
이 서버는 Atlassian 자격 증명을 보유하며, HTTP 전송은 자체 인증을 수행하지 않습니다 — 위협 모델, 강화 노트 및 취약점을 비공개로 신고하는 방법은 SECURITY.md를 참조하세요.
라이선스
Available Tools
28 toolsjsm_acknowledge_alertAcknowledge a JSM alertAIdempotent
Acknowledge an open JSM alert, stopping further escalation notifications for it.
Acknowledging signals that a human has picked the alert up. It does not resolve the alert — use jsm_close_alert for that. Acknowledging an already-acknowledged alert is a no-op.
Args:
alert_id (string): the full alert id (not the tinyId)
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. The response confirms the request was accepted, not that the alert changed. Verify with jsm_get_request_status using the returned requestId.
Examples:
"Ack the Redis latency alert, I'm on it" -> alert_id=, note="Investigating, RVS"
Inputs: alert_id (required). Returns: result, alert_id, requestId
jsm_add_alert_extra_propertiesAttach key/value properties to a JSM alertADestructiveIdempotent
Attach arbitrary key/value context to a JSM alert, or overwrite properties already on it.
Extra properties are the structured half of an alert, next to the prose in its description: a runbook link, the region, the deploy that preceded it, a trace id. Unlike a note they can be read back programmatically by whatever picks the alert up next.
Args:
alert_id (string): the full alert id (not the tinyId)
extra_properties (object): key/value pairs; values may be strings, numbers or booleans
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
This merges by key: keys not mentioned are left alone, and a key that already exists is overwritten without warning. Read the alert first with jsm_get_alert if you need to know what a key currently holds.
Examples:
"Note the runbook on this alert" -> extra_properties={"runbook": "https://wiki/runbooks/db-failover"}
Inputs: alert_id (required), extra_properties (required). Returns: result, alert_id, requestId
jsm_add_alert_noteAdd a note to a JSM alertA
Append a note to a JSM alert's activity timeline without changing its state.
Use this to record triage findings, link a runbook or dashboard, or leave context for the next responder. It does not acknowledge, close, or reassign the alert.
Args:
alert_id (string): the full alert id (not the tinyId)
note (string): the note text
user (string, optional): actor name/email; defaults to the credential owner
source (string, optional): source label for the activity log
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Examples:
"Note that this correlates with the 14:02 deploy" -> alert_id=, note="Correlates with deploy 4412 at 14:02 UTC"
Inputs: note (required), alert_id (required). Returns: result, alert_id, requestId
jsm_add_alert_responderAdd a responder to a JSM alertAIdempotent
Add a responder (user, team, escalation or schedule) to an existing JSM alert so they are notified and become accountable for it.
Use this to pull in another team once triage shows the alert belongs elsewhere. Responders are additive — this does not remove the existing ones.
Args:
alert_id (string): the full alert id (not the tinyId)
responder_id (string): id of the user/team/escalation/schedule to add
responder_type ('user' | 'team' | 'escalation' | 'schedule'): what responder_id refers to
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Examples:
"Page the database team on this" -> responder_id=, responder_type="team"
Error handling:
HTTP 422 or a failed request status usually means responder_id doesn't exist or its type is wrong. Team and schedule ids can be found with jsm_list_schedules or the JSM UI.
Inputs: alert_id (required), responder_id (required), responder_type (required). Returns: result, alert_id, requestId
jsm_add_alert_tagsAdd tags to a JSM alertAIdempotent
Add one or more tags to a JSM alert. Tags are additive — existing ones stay.
Tags are how alerts get grouped and found later: jsm_list_alerts can filter on them (tag:"db"), and they are what turns a scattering of individual alerts into "the seventeen from last night's storage incident".
Args:
alert_id (string): the full alert id (not the tinyId)
tags (string[]): one or more tag names
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Tags are case-sensitive. 'DB' and 'db' are two tags, and searches will not find one by the other — so match whatever the team already uses rather than inventing a casing.
Examples:
"Tag this as part of the storage incident" -> tags=["incident-2026-09-05", "storage"]
Inputs: tags (required), alert_id (required). Returns: result, alert_id, requestId
jsm_assign_alertAssign a JSM alert to a personAIdempotent
Make one person the owner of a JSM alert, so it is clear who is working it.
Assigning names an owner; jsm_add_alert_responder adds people to notify without taking ownership away. Reach for this when triage has decided whose problem it is, and for that one alert rather than a class of them — routing rules, not assignment, are how a class of alerts finds its team.
Args:
alert_id (string): the full alert id (not the tinyId)
account_id (string): Atlassian account id of the assignee
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
account_id is an Atlassian account id, not an email address and not a display name. It looks like '712020:9ae5385e-6a4c-4f0e-9c02-6f8a1e21d7b1'. Both other forms are rejected. To find one: jsm_get_on_call and jsm_get_alert both return account ids for the people they name, so read the id from there rather than guessing from a name.
Examples:
"Assign this to whoever is on call for payments" -> jsm_get_on_call first, take the account id from the result, then assign
Constraints and errors:
HTTP 422 or a failed request status usually means the account id is wrong, or the account has no JSM Operations access on that team.
Inputs: alert_id (required), account_id (required). Returns: result, alert_id, requestId
jsm_close_alertClose a JSM alertADestructiveIdempotent
Close a JSM alert, marking it resolved and ending all notifications for it.
Closing is how an alert leaves the open queue. Treat it as effectively one-way: a closed alert cannot be reopened through this API, and a recurring condition will create a fresh alert (or increment a deduplicated one) rather than reviving this record. Prefer jsm_acknowledge_alert while work is still in progress.
Args:
alert_id (string): the full alert id (not the tinyId)
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Examples:
"Close it, the deploy fixed it" -> alert_id=, note="Resolved by rollback of build 4412"
Don't use when: the alert is still being worked — acknowledge instead.
Inputs: alert_id (required). Returns: result, alert_id, requestId
jsm_create_alertCreate a JSM alertA
Create a new alert in Jira Service Management Operations.
This pages people. A created alert enters the team's routing and escalation rules exactly as one raised by a monitoring integration would, so someone's phone may ring. Create one when a human wants an incident tracked and escalated — not to leave a note, which is jsm_add_alert_note, and not to record something nobody needs to act on.
Args:
message (string): one-line summary. The ONLY required field.
alias (string, optional): de-duplication key — see below
description (string, optional): longer detail, impact, what to try
priority ('P1'..'P5', optional): P1 highest; omit to let routing rules decide
responders (array, optional): [{ id, type }] with type 'user' | 'team' | 'escalation' | 'schedule'
visible_to (array, optional): [{ id, type }] with type 'user' | 'team'; max 50
entity (string, optional): what the alert is about, e.g. 'payments-api'
tags (string[], optional)
actions (string[], optional): names of custom actions configured in your org
extra_properties (object, optional): arbitrary key/value context
note (string, optional): note recorded on the new alert's timeline
source (string, optional): where the alert came from, e.g. 'claude-mcp'
There is no 'user' argument, unlike the other write tools: this endpoint has no actor override, and the alert is created as the owner of the credentials.
Returns: { "requestId": string, "result": string, "alias": string }
IMPORTANT: this is asynchronous, and it does not return the new alert's id. The response confirms the request was accepted, not that an alert exists. Unusually for this API the status code is 200 rather than 202, which does not make it synchronous. To get the id: call jsm_get_request_status with the returned requestId, or — if you set an alias — jsm_get_alert with identifier_type='alias'.
Alias is the de-duplication key, and it is the difference between a safe retry and a silent no-op. Creating with an alias that already has an OPEN alert does not create a second alert; it increments the existing one's count and leaves everything else alone. That makes a retried create safe. It also means reusing an alias from an earlier, still-open incident quietly does nothing visible — so make aliases specific to the occurrence, not to the check.
Examples:
"Raise a P1 for the payments API being down" -> message="Payments API returning 503", priority="P1", entity="payments-api"
Retryable create -> alias="payments-api-503-2026-09-05T11:00"
Constraints and errors:
Needs write:ops-alert:jira-service-management alongside the read scope. A token with only read scopes gets 403.
Responders bypass the team's routing rules. Omit them unless you specifically want to route around routing.
HTTP 422 usually means a responder id doesn't exist or its type is wrong.
Inputs: message (required), note, tags, alias, +8 more. Returns: alias, result, requestId
jsm_delete_alertPermanently delete a JSM alertADestructiveIdempotent
Permanently delete a JSM alert and everything recorded on it.
This is almost never the right tool. Closing an alert with jsm_close_alert takes it out of the open queue and keeps the record: who was paged, what they tried, when it resolved. Deleting throws that away, for everyone, with no undo — the notes, the activity log, the attachments and the timing all go with it. A closed alert costs nothing to keep.
The cases that justify it are narrow: an alert containing credentials or personal data that must not persist, or a flood of alerts from a misconfigured integration that never represented anything real.
Args:
alert_id (string): the full alert id (not the tinyId)
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Before calling this, read the alert back with jsm_get_alert and show the user what they are about to lose — its message, its state and how many notes it carries — and get an explicit yes. Never call it to tidy up, to clear a queue, or in a loop over search results.
Constraints and errors:
Needs delete:ops-alert:jira-service-management, a separate grant from write:ops-alert. A token that can close alerts usually cannot delete them, and that is a deliberate configuration rather than a problem to work around.
Inputs: alert_id (required). Returns: result, alert_id, requestId
jsm_delete_alert_noteDelete a note from a JSM alertADestructiveIdempotent
Permanently remove a note from a JSM alert's timeline.
Reach for this only for a note that should never have been written — a pasted credential, someone's personal information, a note on the wrong alert. Not for a note that turned out to be wrong: that is what jsm_update_alert_note is for, and being able to see what a responder believed at the time is most of what the timeline is worth.
Args:
alert_id (string): the full alert id (not the tinyId)
note_id (string): id of the note to delete, from jsm_list_alert_notes
Returns: { "deleted": true, "note_id": string }
There is no undo, and no confirmation step at the API. The note is gone the moment this returns. Confirm with the user before calling it, and quote the note's text back to them first so they are deleting the thing they think they are.
Unlike most alert writes this is synchronous: the API answers 204 with no body, so there is no requestId to verify.
Constraints and errors:
Needs delete:ops-alert:jira-service-management, which is a separate grant from write:ops-alert. A token that can edit notes may still get 403 here.
Inputs: note_id (required), alert_id (required). Returns: deleted, note_id
jsm_escalate_alertEscalate a JSM alert through an escalation policyAIdempotent
Push a JSM alert into an escalation policy immediately, rather than waiting for it to escalate on its own.
Use this when an alert is not getting picked up and waiting out the escalation timer is not acceptable. It pages the next people in that policy now.
Args:
alert_id (string): the full alert id (not the tinyId)
escalation_id (string): id of the escalation policy to run
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
This pages people out of band, ahead of the schedule they agreed to. Confirm with the user before escalating on their behalf.
escalation_id is an escalation policy id — not a team id and not a schedule id. The three are separate objects with separate ids, and passing the wrong one fails with 422 rather than escalating to something adjacent.
Examples:
"Nobody has picked this up, escalate it" -> get the escalation id for the team, then escalate
Constraints and errors:
HTTP 422 or a failed request status usually means escalation_id is not an escalation, or belongs to a different team than the alert.
Inputs: alert_id (required), escalation_id (required). Returns: result, alert_id, requestId
jsm_execute_alert_actionRun a custom action on a JSM alertADestructive
Run one of your organisation's own custom alert actions — the buttons a team wires up on an integration, like "Restart service" or "Roll back deploy".
What these do is entirely up to whoever configured them, and this server cannot see it. An action name is a request to run somebody's automation against production.
Args:
alert_id (string): the full alert id (not the tinyId)
action_name (string): the configured action's name, exactly as configured
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Do not guess an action name. There is no endpoint that lists them, so a plausible-sounding guess is exactly as likely to be a real destructive automation as it is to be nothing. An unrecognised name is accepted and silently does nothing, which means a successful receipt is not evidence that anything ran. Ask the user which action they mean, and confirm before running it.
Constraints and errors:
Names are configured per integration, so an action that exists for one alert's source may not exist for another's.
Inputs: alert_id (required), action_name (required). Returns: result, alert_id, requestId
jsm_get_alertGet JSM alert detailsARead-onlyIdempotent
Retrieve the full detail of a single JSM alert, including its description, custom details/extraProperties, responders, tags and dedupe count.
Use this after jsm_list_alerts when you need the payload an integration attached to the alert (host, service, metric values, runbook links) — the list endpoint returns a thinner record without the description or details map.
Args:
identifier (string): the full alert id, or an alias when identifier_type='alias'
identifier_type ('id' | 'alias'): default 'id'
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): a single alert object with id, tinyId, message, description, status, acknowledged, snoozed, priority, source, owner, tags, responders, details (custom key/value map), extraProperties, count, createdAt, updatedAt, lastOccurredAt, and a report block with acknowledgedBy/closedBy. Responder ids are resolved to names where the credentials allow it.
Examples:
"What does alert #4821 actually say?" -> resolve the id via jsm_list_alerts, then call with identifier=
"Look up the alert our pipeline created with alias 'redis-latency-prod'" -> identifier="redis-latency-prod", identifier_type="alias"
Error handling:
HTTP 404 usually means a tinyId was passed instead of the full id. Resolve it with jsm_list_alerts first.
Aliases only resolve against OPEN alerts; a closed alert must be fetched by id.
Inputs: identifier (required), identifier_type, response_format. Returns: alert
jsm_get_next_on_callGet who is on-call nextARead-onlyIdempotent
Return the responders who take over the next shift on a JSM schedule, and when that shift begins.
Use this for handover messages and for deciding whether an alert can wait for the next rotation.
Args:
schedule_id (string): schedule id, or name if schedule_identifier_type='name'
schedule_identifier_type ('id' | 'name'): default 'id'
date (string, optional): ISO 8601 reference point; "next" is computed relative to it. Defaults to now
flat (boolean): default true — flat list of user identifiers; false shows rotation/escalation nesting
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): { "next_on_call": { ... }, // the API response, unmodified "participants": [ // resolved, and the field to read { "id": string, "type": string, "displayName": string, "emailAddress": string } ] }
Responders are Atlassian account ids; this tool resolves them to names for you. If the credentials lack the Jira user scope the ids are still returned, with a note saying so.
Examples:
"Who picks up after this shift?" -> schedule_id=
"Who is on after the shift that covers Thursday?" -> date="2026-08-27T12:00:00Z"
"Draft a handover note" -> combine with jsm_list_alerts query="status:open"
Error handling:
HTTP 401 here while alert tools work means the token is missing read:ops-config:jira-service-management — schedules and on-call sit behind a different scope from alerts, so this is a scope gap, not a bad credential.
Inputs: schedule_id (required), date, flat, response_format, +1 more. Returns: shift, next_on_call, participants
jsm_get_on_callGet who is on-call nowARead-onlyIdempotent
Return the responders currently on-call for a JSM schedule, optionally evaluated at a past or future timestamp.
This is the tool for "who do I wake up?" and, with the 'date' argument, for "who was on-call when this incident started?" — which is often the more useful question during a post-incident review.
Args:
schedule_id (string): schedule id, or name if schedule_identifier_type='name'
schedule_identifier_type ('id' | 'name'): default 'id'
date (string, optional): ISO 8601 timestamp to evaluate at; defaults to now
flat (boolean): default true — flat list of user identifiers; false shows rotation/escalation nesting
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): { "on_call": { ... }, // the API response, unmodified "participants": [ // resolved, and the field to read { "id": string, "type": string, "displayName": string, "emailAddress": string } ] }
Responders are Atlassian account ids; this tool resolves them to names for you, so there is no need to look an id up elsewhere. If the credentials lack the Jira user scope the ids are still returned, with a note saying so.
Examples:
"Who's on-call for platform right now?" -> schedule_id="platform", schedule_identifier_type="name"
"Who was on-call at 03:14 UTC yesterday?" -> date="2026-08-20T03:14:00Z"
Error handling:
An empty result means nobody is rostered at that moment — a real and important answer, not a failure.
HTTP 404 means the schedule id/name is wrong; list them with jsm_list_schedules.
HTTP 401 here while alert tools work means the token is missing read:ops-config:jira-service-management — schedules and on-call sit behind a different scope from alerts, so this is a scope gap, not a bad credential.
Inputs: schedule_id (required), date, flat, response_format, +1 more. Returns: shift, on_call, participants
jsm_get_request_statusCheck JSM async request statusARead-onlyIdempotent
Check whether an asynchronous alert action actually succeeded.
Every JSM alert write (acknowledge, close, add note, assign, snooze) returns immediately with a requestId and does NOT apply the change synchronously. Pass that requestId here to confirm the action landed — this is the correct way to verify a write, rather than immediately re-reading the alert and finding it unchanged.
Args:
request_id (string): the requestId returned by a write tool
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): { "action": string, // e.g. "Acknowledge" "isSuccess": boolean, "status": string, // human-readable outcome, e.g. "Alert acknowledged" "processedAt": string, // ISO 8601 "alertId": string, "alias": string }
Examples:
After jsm_acknowledge_alert returns requestId "d383c6e9-..." -> request_id="d383c6e9-..."
Error handling:
HTTP 404 shortly after a write usually means the request is still queued; wait a second and retry.
Inputs: request_id (required), response_format. Returns: request
jsm_get_schedule_timelineGet a schedule's shift boundariesARead-onlyIdempotent
Return the on-call rotation periods for a JSM schedule — who covers each shift, and exactly when each shift starts and ends.
This is the tool for any question about shift boundaries rather than a single moment: "when does the current shift end?", "when is the handover?", "who covers the weekend?", "show me next week's rota". Answering those by calling jsm_get_on_call at guessed timestamps takes many calls and still cannot find a boundary exactly; this takes one.
Responders are resolved to names, so periods come back with people rather than bare account ids.
Args:
schedule_id (string): schedule id, or name if schedule_identifier_type='name'
schedule_identifier_type ('id' | 'name'): default 'id'
date (string, optional): ISO 8601 instant the window should cover; defaults to now
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): { "shifts": [ { "start": string, // ISO 8601 "end": string, // ISO 8601 "rotation_name": string, "type": "base" | "override" | "forwarding" | "historical", "responders": [ { "id": string, "displayName": string, "emailAddress": string } ] } ] }
The window spans roughly three weeks around the requested date, so both the shift in progress and the ones on either side of it are included.
Examples:
"When does the current on-call shift end?" -> schedule_id=
"Who has the rota next week?" -> date=
"When did the handover happen on Tuesday?" -> date="2026-08-25T00:00:00Z"
Error handling:
Periods of type 'historical' are in the past; 'override' means someone swapped in.
HTTP 401 here while alert tools work means the token is missing read:ops-config:jira-service-management — the same scope the other on-call tools need.
Inputs: schedule_id (required), date, response_format, schedule_identifier_type. Returns: shifts
jsm_list_alert_logsList JSM alert activity logsARead-onlyIdempotent
List the system activity log for a JSM alert — every state transition, notification, escalation and automated action, newest first by default.
Use this to answer "why did nobody get paged?" or "when was this escalated and to whom?". Logs are system-generated; human comments live in jsm_list_alert_notes instead.
Args:
alert_id (string): the full alert id (not the tinyId)
limit (number): 1-100, default 20
order ('asc' | 'desc'): default 'desc'
offset (string, optional): opaque cursor from a previous response's next_cursor
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): { "logs": [{ "log": string, "owner": string, "createdAt": string, "type": string, "offset": string }], "pagination": { "count": number, "has_more": boolean, "next_cursor": string } }
Examples:
"Trace the escalation path for this alert" -> alert_id=, order="asc", limit=100
"Who acked this and when?" -> alert_id=, limit=20
Inputs: alert_id (required), limit, order, offset, +1 more. Returns: logs, pagination
jsm_list_alert_notesList JSM alert notesARead-onlyIdempotent
List the notes (human comments) recorded on a JSM alert's activity timeline, newest first by default.
Notes are where responders write triage context, and where integrations append re-fire and resolution updates for a deduplicated alert. Read them before acting on an alert so you don't repeat work someone already did.
Args:
alert_id (string): the full alert id (not the tinyId)
limit (number): 1-100, default 20
order ('asc' | 'desc'): default 'desc'
offset (string, optional): opaque cursor from a previous response's next_cursor
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): { "notes": [{ "note": string, "owner": string, "createdAt": string, "offset": string }], "pagination": { "count": number, "has_more": boolean, "next_cursor": string } }
Examples:
"Has anyone looked at this alert yet?" -> alert_id=, limit=10
"Read the full triage history oldest first" -> order="asc", limit=100
Note: these endpoints page with opaque cursors, not numeric offsets — pass next_cursor back as 'offset'.
Inputs: alert_id (required), limit, order, offset, +1 more. Returns: notes, pagination
jsm_list_alertsSearch JSM alertsARead-onlyIdempotent
Search and list alerts in Jira Service Management Operations.
This is the entry point for almost every alert workflow: use it to find open or unacknowledged alerts, filter by priority/team/tag, and to resolve a short tinyId (as shown in the JSM UI) into the full alert id that every other alert tool requires. It reads only — it never creates or modifies alerts.
Args:
query (string, optional): field:value search, e.g. "status:open AND priority:P1"
limit (number): 1-100, default 20
offset (number): records to skip, default 0
sort (string): field to sort by, default "createdAt"
order ('asc' | 'desc'): default "desc"
response_format ('markdown' | 'json'): default "markdown"
Returns (json format): { "alerts": [ { "id": string, // full alert id — pass this to other tools "tinyId": string, // short id shown in the JSM UI "message": string, "status": "open" | "closed", "acknowledged": boolean, "priority": "P1".."P5", "count": number, // dedupe count "tags": string[], "owner": string, "createdAt": string, // ISO 8601 "lastOccurredAt": string } ], "pagination": { "count": number, "offset": number, "has_more": boolean, "next_offset": number } }
Examples:
"What's on fire right now?" -> query="status:open AND acknowledged:false", sort="createdAt"
"Show P1s from the Payments team" -> query="priority:P1 AND teams:Payments"
"Find the alert about Redis latency" -> query="message:Redis"
Constraints and errors:
offset + limit must stay below 20000; the API refuses to page deeper.
A malformed query returns HTTP 400 — field names are case-sensitive.
Inputs: sort, limit, order, query, +2 more. Returns: alerts, pagination
jsm_list_capabilitiesList this server's toolsetsARead-onlyIdempotent
Report every toolset this server knows about, whether it is currently loaded, and how to load one that is not.
Call this before telling the user something is impossible. This server carries far more of the Jira Service Management Operations API than any one install registers — the operator chooses which families load, so an absent tool usually means "not enabled here", not "not supported". This tool tells you which of the two it is, and names the exact environment variable to change.
It takes no arguments, makes no API call, and needs no credentials, so it also answers when the token is missing or wrong.
Args: none beyond response_format.
response_format ('markdown' | 'json'): default "markdown"
Returns (json format): { "requested": string[], // the names this process was configured with "read_only": boolean, "tool_count": number, // tools actually registered "toolsets": [ { "name": string, "enabled": boolean, // whether any of its tools are registered "selected": boolean, // whether the selection asked for it; false enabled with true // selected means read-only mode withheld the tools "summary": string, "scopes": string[], // OAuth scopes this family needs "tool_count": number, "tools": string[], "unverified": string // present only when the family was never seen to work } ] }
A toolset carrying unverified ships but no profile loads it, 'all' included — it has to be named on its own, as JSM_TOOLSETS=all,. The string says what blocked it: a JSM plan that excludes the feature, or a permission no credential on the test site held. Enabling it is allowed and may well work on a different site, but say what the limit was before suggesting it.
Examples:
User asks for something no loaded tool covers -> call this, then tell them which toolset covers it and that JSM_TOOLSETS needs to include it.
Tool exists but its toolset is unverified -> say so plainly, quote the reason, and let the user decide whether their plan differs.
"What can you do here?" -> call this rather than guessing from your tool list.
Note: changing JSM_TOOLSETS requires restarting the server. You cannot enable a toolset from inside a conversation.
Inputs: response_format. Returns: toolsets, code_mode, read_only, requested, +2 more
jsm_list_schedulesList JSM on-call schedulesARead-onlyIdempotent
List the on-call schedules configured in JSM Operations, with their ids, owning teams and timezones.
Start here when you need a schedule id for jsm_get_on_call or jsm_get_next_on_call, or when you want to know which rotations exist at all.
Args:
limit (number): 1-100, default 20
offset (number): records to skip, default 0
response_format ('markdown' | 'json'): default 'markdown'
Returns (json format): { "schedules": [ { "id": string, "name": string, "description": string, "timezone": string, "enabled": boolean, "ownerTeam": { "id": string, "name": string } } ], "pagination": { "count": number, "offset": number, "has_more": boolean, "next_offset": number } }
Examples:
"What on-call rotations do we have?" -> no args
"Find the schedule id for the platform rotation" -> then match on name
Error handling:
HTTP 401 here while alert tools work means the token is missing read:ops-config:jira-service-management — schedules and on-call sit behind a different scope from alerts, so this is a scope gap, not a bad credential.
Inputs: limit, offset, response_format. Returns: schedules, pagination
jsm_remove_alert_extra_propertiesRemove key/value properties from a JSM alertADestructiveIdempotent
Remove properties from a JSM alert by key.
Args:
alert_id (string): the full alert id (not the tinyId)
keys (string[]): the property keys to remove — keys, not values
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
A key that is not present is not an error, so a receipt here does not prove anything was removed. Read the alert back if that matters.
Constraints and errors:
Needs delete:ops-alert:jira-service-management, a separate grant from write:ops-alert.
Inputs: keys (required), alert_id (required). Returns: result, alert_id, requestId
jsm_remove_alert_tagsRemove tags from a JSM alertADestructiveIdempotent
Remove one or more tags from a JSM alert.
Args:
alert_id (string): the full alert id (not the tinyId)
tags (string[]): the tag names to remove
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Removal matches exactly and is case-sensitive, so removing 'DB' leaves 'db' in place. Read the alert's current tags with jsm_get_alert first rather than guessing the casing — a removal that silently matches nothing still returns a successful receipt.
Constraints and errors:
Needs delete:ops-alert:jira-service-management, a separate grant from write:ops-alert. Adding tags can work where removing them returns 403.
Inputs: tags (required), alert_id (required). Returns: result, alert_id, requestId
jsm_snooze_alertSnooze a JSM alert until a given timeAIdempotent
Silence a JSM alert's notifications until a specific instant, after which it resumes as if untouched.
Snoozing is the right tool for "we know, and there is nothing to do until the maintenance window ends" — it stops the paging without pretending the alert is resolved. Closing it would remove it from the open queue and lose the fact that it is still an open problem.
Args:
alert_id (string): the full alert id (not the tinyId)
end_time (string): ISO 8601 instant with an offset, e.g. "2026-09-05T18:30:00Z"
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Time handling is the sharp edge here. end_time is an absolute instant, not a duration — "snooze for two hours" means computing the instant yourself from the current time. A past instant is accepted, and the alert un-snoozes immediately, which looks exactly like the call having failed. Send an explicit offset ('Z' or '+05:30') rather than a bare local time.
Examples:
"Snooze this until the deploy finishes at 6pm UTC" -> end_time="2026-09-05T18:00:00Z"
"Give it an hour" -> compute now + 1h as an ISO instant, then pass it
Constraints and errors:
Snoozing a closed alert has no useful effect; close is terminal for notification purposes.
Inputs: alert_id (required), end_time (required). Returns: result, alert_id, requestId
jsm_unacknowledge_alertTake back an acknowledgement on a JSM alertAIdempotent
Return an acknowledged JSM alert to unacknowledged, so escalation notifications resume.
Use this when someone acked an alert they cannot actually work — picked it up by mistake, or got pulled onto something else — and it needs to go back into the escalation path so the next responder is paged. It does not close, snooze or reassign the alert.
Args:
alert_id (string): the full alert id (not the tinyId)
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
This restarts paging. Say so before doing it on someone's behalf — the practical effect is that a phone rings.
Examples:
"I can't take this one after all, put it back" -> alert_id=, note="Handing back, on another incident"
Constraints and errors:
Unacknowledging an alert that was never acknowledged is a no-op, not an error.
Inputs: alert_id (required). Returns: result, alert_id, requestId
jsm_update_alert_fieldUpdate a JSM alert's priority, message or descriptionADestructiveIdempotent
Overwrite one field on an existing JSM alert: its priority, its message, or its description.
This is how an alert gets corrected once triage knows more than the integration that raised it did — a P3 that turns out to be customer-facing, a message that says "check failed" when it should say which check, a description that should carry what has been tried.
Args:
alert_id (string): the full alert id (not the tinyId)
field ('priority' | 'message' | 'description'): which field to overwrite
value (string): the new value
There are no 'user' or 'source' arguments here, unlike the other write tools: these three endpoints take only the value.
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
This overwrites, it does not append. Reading the current value first with jsm_get_alert is the difference between adding context to a description and destroying what someone else wrote in it. If you mean to add to the record without replacing anything, use jsm_add_alert_note instead — notes are additive and are what the activity timeline is for.
For field='priority', value must be exactly one of P1, P2, P3, P4, P5 — not "high", not "1", not "p1".
Examples:
"This is worse than we thought, make it a P1" -> field="priority", value="P1"
"Fix the alert title to name the failing endpoint" -> read it first, then field="message"
Constraints and errors:
Raising priority may change who is paged, since routing and escalation rules read it.
Inputs: field (required), value (required), alert_id (required). Returns: result, alert_id, requestId
jsm_update_alert_noteEdit a note on a JSM alertADestructiveIdempotent
Replace the text of an existing note on a JSM alert.
Use it to correct a note you just wrote — a wrong hostname, a stale conclusion. Prefer adding a new note with jsm_add_alert_note for anything that reads as a development rather than a correction: the timeline is the record of what responders knew and when, and editing history out of it costs more than an extra line.
Args:
alert_id (string): the full alert id (not the tinyId)
note_id (string): id of the note to edit, from jsm_list_alert_notes
note (string): the replacement text
Returns the updated note: { "alert_id", "note_id", "note", "owner", "createdAt", "updatedAt" }
Unlike every other alert write, this one is synchronous. It answers with the note itself, so there is no requestId and nothing to verify with jsm_get_request_status.
This replaces the note's whole text. There is no append. Read the note first if you mean to add to it.
Examples:
"Fix my last note, the host is db-3 not db-2" -> jsm_list_alert_notes, take the id, then update with the corrected text
Constraints and errors:
HTTP 404 means the note id does not belong to that alert. Note ids come from jsm_list_alert_notes, not from the note's text.
Inputs: note (required), note_id (required), alert_id (required). Returns: id, note, owner, note_id, +3 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Almost every tool targets a distinct resource+action, and the descriptions actively disambiguate the risky pairs (close vs delete, assign vs add_responder, ack vs unack, note vs extra_properties). The only soft overlaps are within the on-call family (get_on_call / get_next_on_call / get_schedule_timeline) and the responder-type overlap between assign, add_responder and escalate, but the prose makes the intended choice clear.
Every tool is namespaced with the `jsm_` prefix and follows a verb_noun pattern (list_alerts, get_alert, create_alert, acknowledge_alert, add_alert_note, delete_alert_note). Sub-resources are consistently qualified with the parent noun (jsm_add_alert_tags, jsm_list_alert_logs), so the surface reads predictably.
28 tools is heavy for one server and sits at the top of the acceptable band; the granular pairs (add/remove tags, add/remove extra properties, unacknowledge, get_next_on_call) could plausibly be collapsed. Each tool does map to a real API operation, so nothing is truly redundant, but the surface is larger than a typical agent session needs.
Alert lifecycle, note CRUD, tags, extra properties and on-call read coverage are thorough, but there are notable dead ends: jsm_escalate_alert requires an escalation_id yet no tool lists escalation policies or teams, and jsm_add_alert_responder has no matching remove_alert_responder. Schedule management is read-only (list/get/timeline, no create or override), which is workable but limiting.
Maintenance
Related MCP Connectors
Manage incidents and on-call: list/create/update incidents, who is on call, on-call overrides.
Read incidents, services, teams, on-call schedules; acknowledge, resolve and note incidents.
Read SIGNL4 alerts, teams, users and duty schedules; raise, acknowledge, close and annotate alerts.
Read on-call schedules and incidents; create and update incidents and notes in Zenduty.
1
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive Opsgenie alert management including listing, creating, acknowledging, and closing alerts, as well as managing alert notes, logs, and custom properties through natural language.937 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables PagerDuty incident response operations including listing incidents, acknowledging and resolving incidents, looking up on-call schedules, and listing services.MIT
- AlicenseAqualityDmaintenanceEnables issue search, creation, updates, comments, status transitions, and project listing in Jira, purpose-built for security incident management and SOC workflows.98 npmApache 2.0
- FlicenseNot gradedqualityCmaintenanceMCP server for Opsgenie (Atlassian's incident/alert management and on-call platform) exposing the full public Opsgenie REST API as MCP tools.-