jira-pm-mcp
Click on "Install 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-mcpget 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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/panitw/jira-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server