jira-pm-mcp
Click on "Deploy 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-pm-mcp get sprint health for PROJ Sprint 5"
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-pm-mcp
An MCP server that wraps the JIRA Cloud REST API for AI-driven agile project management. Designed to be run as a daily batch by an AI agent (e.g. via OpenClaw) to monitor sprint health, sync labels, flag risks, and write audit receipts.
Requirements
Node.js 20+
JIRA Cloud instance
API token with edit-issues and add-comments permissions on the target projects
Related MCP server: Jira MCP Integration
Setup
npm install
npm run buildEnvironment variables
Variable | Required | Description |
| yes | Base URL of your JIRA instance (e.g. |
| yes | Email address tied to the API token |
| yes | JIRA Cloud API token |
| no | When set, starts an HTTP/SSE server on this port instead of stdio |
Transport modes
The server supports two transport modes selected at startup.
stdio (default)
The server process is spawned and managed by the MCP client. Env vars are passed through the client config. Best for local single-user setups.
{
"mcpServers": {
"jira-pm": {
"command": "node",
"args": ["/path/to/jira-pm-mcp/dist/index.js"],
"env": {
"JIRA_BASE_URL": "https://yourcompany.atlassian.net",
"JIRA_EMAIL": "you@company.com",
"JIRA_API_TOKEN": "your-token"
}
}
}
}HTTP/SSE
The server runs as a persistent HTTP process. The MCP client connects to it via SSE. Best for running the server as a system service or Docker container shared across multiple clients.
Start the server:
export JIRA_BASE_URL=https://yourcompany.atlassian.net
export JIRA_EMAIL=you@company.com
export JIRA_API_TOKEN=your-token
export PORT=3000
node dist/index.jsClaude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"jira-pm": {
"url": "http://localhost:3000/sse"
}
}
}Endpoints:
Endpoint | Method | Description |
| GET | SSE stream — MCP client connects here |
| POST | MCP message delivery (used internally by client) |
| GET | Liveness probe — returns |
Tools
setup_project
Configure a project for PM Agent monitoring. Must be run before any other tools. Validates connectivity and write permissions, then stores configuration as a YAML comment on the Root Epic and registers the project locally.
Parameter | Type | Required | Description |
| string | yes | JIRA project key (e.g. |
| string | yes | Key of the root epic that parents all cross-project tasks (e.g. |
| number | no | JIRA board ID (optional, for validation only) |
| string | no | JQL field for child tasks. |
| string[] | no | Status names that count as in-progress. Default: |
| string | no | Project delivery deadline |
| string | no | Custom field key for story points. Default: |
Returns: A checklist of validation results (root_epic, fix_versions, write_permissions, config_written) plus the config comment ID.
list_projects
List all projects registered with the PM Agent, with their configuration summary.
No parameters.
Returns: Array of projects with project_key, root_epic_key, committed_date, epic_link_field, active_statuses, and config_available.
list_fix_versions
List all fixVersions (sprints) for a project. Identifies the currently active sprint and how far through it we are.
Parameter | Type | Required | Description |
| string | yes | JIRA project key |
Returns: Array of versions with name, label_equivalent (spaces replaced with hyphens), start_date, release_date, is_active, is_released, and elapsed_pct.
get_sprint_health
Read-only full sprint health snapshot. Builds the full dependency graph — stories → blocking tasks → dates and status — without making any changes to JIRA. Safe to call at any time.
Parameter | Type | Required | Description |
| string | yes | JIRA project key |
| string | yes | fixVersion name identifying the sprint |
Returns:
Sprint metadata (dates,
elapsed_pct,committed_date)Summary counts (
total_stories,stories_with_no_tasks,stories_past_sprint_end,tasks_missing_dates,orphaned_tasks)Per-story breakdown:
effective_completion_date(max end date across blocking tasks),past_sprint_end,past_committed_date,has_date_gap, and the full list of blocking tasks with their dates, assignees, and currentpm-*labelsorphaned_tasks: tasks under the root epic that don't block any story in this sprint
run_sprint_audit
Run the daily PM audit for a sprint. This is the main write tool — it applies all label and date changes to JIRA and writes an audit receipt to the Root Epic.
Parameter | Type | Required | Description |
| string | yes | JIRA project key |
| string | yes | fixVersion name identifying the sprint |
| boolean | no | If |
What it does (in order):
Sync sprint labels — adds the sprint label (fixVersion with spaces → hyphens) to all blocking tasks in the sprint
Compute task flags — evaluates each blocking task and applies
pm-flag-*labels:Date slip: end date past sprint boundary (
pm-flag-critical-date-slip,pm-flag-warn-date-approaching)Commitment risk: end date past
committed_date(pm-flag-task-beyond-commitment)Not started: task in Backlog/Todo at mid-sprint (
pm-flag-critical-not-started,pm-flag-warn-not-started)Stalled: no status change for more than
stalled_threshold_days(pm-flag-warn-stalled)
Compute story flags — evaluates each story:
Stories whose
effective_completion_dateslips past the sprint end orcommitted_date(pm-flag-story-at-risk,pm-flag-story-beyond-commitment)Stories with missing blocking tasks (
pm-flag-missing-tasks)Stories with date gaps between blocking tasks (
pm-flag-date-gap)Stories recommended for deferral (
pm-flag-recommend-defer)
Update story due dates — sets each story's
duedateto itseffective_completion_date(max end date of blocking tasks)Velocity calculation — if
committed_dateis set, samples up to 5 past released sprints, computes average velocity, and projects expected completion dateWrite audit receipt — posts a YAML receipt comment to the Root Epic
Tasks with pm-acknowledged are skipped entirely (human override).
Returns: Summary of changes made, label_changes, story_date_changes, tasks_needing_dates, defer_recommendations, velocity result, and receipt_comment_id.
rollback_audit
Reverse the label and story date changes made by a previous run_sprint_audit. Reads the audit receipt from the Root Epic and applies the inverse diff. Never removes pm-acknowledged labels.
Parameter | Type | Required | Description |
| string | yes | JIRA project key |
| string | no | Timestamp from the receipt to roll back (e.g. |
Returns: rolled_back_audit, changes_reversed, errors, and rollback_receipt_comment_id.
search_issues
Escape hatch for ad-hoc JQL queries. Returns a page of matching issues with key, summary, status, assignee, labels, fixVersions, and due date. Use the high-level tools (get_sprint_health, run_sprint_audit) for routine PM operations.
Parameter | Type | Required | Description |
| string | yes | JQL query string |
| number | no | Pagination offset (default: |
| number | no | Results per page, max 100 (default: |
| string[] | no | Specific field keys to return |
Returns: total, start_at, max_results, returned, and issues array.
pm-* label taxonomy
The agent owns the full pm-* label namespace. All managed labels are cleared and recomputed on each audit run. The one exception is pm-acknowledged — set by a human to suppress all agent flags on that issue; the agent never removes it.
Label | Applied to | Meaning |
| Task or Story | Human override — agent skips this issue entirely |
| Task | End date is past the sprint boundary |
| Task | End date is within the last 20% of the sprint |
| Task | End date is past |
| Task | Still in Backlog/Todo past the 50% sprint mark |
| Task | Still in Backlog/Todo past the 25% sprint mark |
| Task | No status change for more than |
| Task | Task blocks stories in multiple projects |
| Story |
|
| Story |
|
| Story | Velocity projection shows project won't meet |
| Story | Story has no blocking tasks linked |
| Story | Gap exists between consecutive blocking task date windows |
| Story | Story is unlikely to complete in time; defer recommended |
Sprint labels (e.g. SIT-27-02-2026) are also applied to blocking tasks by the audit — these are derived from fixVersion names with spaces replaced by hyphens.
Authority model
Action | Who |
Set task start/end dates | Human only |
Set story due date | PM Agent (auto-set to |
Add/remove | PM Agent |
Add sprint label to tasks | PM Agent |
Add | Human only |
Remove | Human only |
Create fixVersions | Human only |
Sprint planning (assign stories to fixVersion) | Human only |
Architecture
src/
server.ts — MCP server entry point, registers all tools
tools/ — One file per MCP tool
jira/ — JIRA REST API client wrappers (client, search, issues, versions, comments)
audit/ — Core audit logic (graph, flags, velocity, receipt)
config/ — Project config schema, JIRA-backed storage, local registry
utils/ — Labels, dates, JQL builderConfiguration is stored as a YAML comment on the Root Epic in JIRA (prefixed with ## pm-agent-config), making it portable and version-controlled alongside the project. A local .jira-pm-registry.json maps project_key → root_epic_key to bootstrap config reads without a prior JIRA call.
Available Tools
4 toolsrun_sprint_auditA
Run the daily PM audit for a sprint. Syncs sprint labels on blocking tasks, computes and applies pm-* risk flags, auto-updates story due dates to effective_completion_date, calculates velocity if committed_date is configured, and writes an audit receipt to the Root Epic. Supports dry_run mode.
Inputs: fix_version (required), project_key (required), dry_run.
search_issuesA
Escape hatch for ad-hoc JQL queries. Returns a page of matching issues with key, summary, status, assignee, labels, and fixVersions. Use high-level tools (get_sprint_health, run_sprint_audit) for routine PM operations.
Inputs: jql (required), fields, start_at, max_results.
setup_projectA
Configure a project for PM Agent monitoring. Validates the root epic, board, fixVersions, and write permissions. Stores config as a YAML comment on the Root Epic. Must be run before any audit tools.
Inputs: project_key (required), root_epic_key (required), board_id, committed_date, +3 more.
sync_sprint_tasksA
Sync blocking task priorities and sprint labels to match user stories in a sprint. For each story in the sprint, finds all blocking Tasks and: (1) upgrades task priority if lower than the story priority, (2) adds the sprint label if missing. Excludes tasks with "SIT" or "UAT" in their summary. Supports resumable execution via a temp state file.
Inputs: sprint_name (required), project_keys (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: setup_project for configuration, run_sprint_audit for comprehensive sprint audit, sync_sprint_tasks for blocking task synchronization, and search_issues as an ad-hoc JQL escape hatch. No two tools overlap in functionality.
All tool names follow a consistent verb_noun pattern using snake_case (setup_project, run_sprint_audit, sync_sprint_tasks, search_issues), making the naming predictable and easy to understand.
With 4 tools, the server is well-scoped for its purpose as a PM monitoring assistant. Each tool serves a necessary function (setup, audit, sync, search), and the count fits comfortably within the typical 3-15 range.
The tool set covers the core PM workflow: configuration, audit, task synchronization, and ad-hoc queries. However, it references a 'get_sprint_health' tool that is not provided, and lacks tools for direct issue creation or manual updates, leaving minor gaps.
Maintenance
Related MCP Connectors
Task and sprint coordination for humans and AI agents, with scoped API keys and full audit trail.
Issue tracking for software projects: issues, epics, releases, docs and boards, from your AI.
AI-native project management + agent memory: tasks, sprints, risk, burnout, knowledge search.
Tasks, sprints, releases and docs for engineering teams with AI coding agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides integration with Jira's REST API, allowing AI assistants to manage Jira issues programmatically.32 npm11MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Jira Cloud through the REST API, supporting project management, issue operations (create, read, update, delete), JQL search, task assignments, and status transitions.-
- AlicenseNot gradedqualityCmaintenanceProvides comprehensive access to Jira Cloud and Data Center instances for managing issues, epics, and attachments with AI-optimized data cleaning. It supports relationship tracking and dual transport modes via STDIO and Streamable HTTP.708 npmMIT
- AlicenseNot gradedqualityDmaintenanceExposes Jira API calls as tools for use with AI models like Claude, enabling project listing, board management, issue creation/deletion/status updates, and more.1,667 npmApache 2.0