Skip to content

MacWulf/jira-delivery-mcp

Repository files navigation

Jira Delivery MCP

Jira Delivery MCP is a Jira operations toolkit centered around a local MCP server, reusable policy modules, and an optional Codex skill package.

It is built for teams that want AI-assisted Jira execution without losing deterministic tooling, workflow awareness, or auditability.

Current release: v0.3.0

Who It Is For

Use this project if you want an assistant to help with Jira work such as:

  • creating and updating issues safely
  • linking blockers and dependencies explicitly
  • discovering the real workflow of a target project before acting
  • selecting the next eligible issue instead of guessing
  • bootstrapping a new project from a brief
  • layering Codex skills on top of a deterministic Jira tool surface

What You Can Do Today

  • run a local MCP server for Jira and optional Confluence operations
  • publish repo-first project documentation into Confluence with duplicate-aware upsert behavior
  • plan Confluence governance, staleness review, metadata policy, and documentation index structure without unsafe admin writes
  • create, update, transition, comment on, and link Jira issues
  • inspect project workflow and derive lifecycle semantics from the real tenant
  • discover issue-type and field-policy capability before attempting admin changes
  • bootstrap starter backlog structure from a project brief
  • generate validation work from acceptance criteria with tenant-aware fallback
  • create bugs with structured evidence and linked parent impact
  • classify incoming change scope and plan controlled Jira mutations with audit-ready outputs
  • plan retest loops without hardcoding a workflow or status set
  • store execution metadata in issue descriptions and resolve it during execution
  • validate dependency state before picking or starting work

Highlights In v0.3.0

  • Architect skill for architecture decisions, ADR guidance, hard constraints, proportional blocking, and downstream Jira skill routing
  • public-release-ready Architect documentation and bundled references
  • workflow-aware issue state reconciliation, including helper fallback for safe drift repair
  • readiness and quality-governance policy layers for disciplined delivery movement
  • change-control planning surface for classifying incoming scope change before mutation
  • Confluence publishing and governance planning as a first-class optional capability
  • expanded Codex skill package for bootstrap, execution, quality, documentation, and workflow administration

Quick Example

Typical flow:

  1. Start the MCP server.
  2. Read a target project and discover its workflow.
  3. Create or refine starter issues from a brief.
  4. Link blockers with explicit Jira issue links.
  5. Pick the next eligible issue.
  6. Transition it using a Jira-provided transition, not a hardcoded assumption.

Compatibility

Area Status Notes
Jira Cloud Supported Current implementation targets Jira Cloud REST APIs
Confluence integration Optional Only active when Confluence config is present
Team-managed projects Supported Discovery and execution are tenant-aware
Company-managed projects Supported Admin behavior is more sensitive and should be validated carefully
Workflow mutation Supported with caution Validate before rollout; treat as high-impact admin work
Codex skills Optional integration Useful, but not required to run the MCP server
Windows DPAPI secrets Supported Recommended Windows local-secret option
npm publication Disabled Root package is private to prevent accidental registry publication; GitHub release is supported

Installation

  1. Copy .env.example to .env.

  2. Fill in your Jira configuration.

  3. Install dependencies:

    npm install

Configuration

Minimum Jira configuration:

  • JIRA_BASE_URL
  • JIRA_EMAIL
  • JIRA_API_TOKEN or JIRA_API_TOKEN_DPAPI_FILE

Optional but useful:

  • JIRA_DEFAULT_PROJECT_KEY
  • CONFLUENCE_BASE_URL
  • CONFLUENCE_EMAIL
  • CONFLUENCE_API_TOKEN or CONFLUENCE_API_TOKEN_DPAPI_FILE
  • CONFLUENCE_DEFAULT_SPACE_ID

See Secret storage for local secret-handling guidance.

Quick Start

Validate connectivity:

npm run smoke

Start the MCP server:

npm run dev

Validate the workspace:

npm run check
npm run build

Common Commands

npm run check
npm run build
npm run smoke
npm run dev

Codex Skills

The repository also includes an optional Codex skill package under skills/:

Skill What it does
jira-core Core operating model: project discovery, tenant-aware Jira rules, issue classification, and safe tool usage.
jira-architect Architecture authority: ADRs, hard constraints, proportional blocking, system-boundary decisions, and routing to other skills.
jira-business-analysis Discovery and requirement shaping: goals, stakeholders, scope, open questions, and decision-ready analysis.
jira-project-bootstrap Project startup: creates initial Jira structure, epics, baseline documentation, and delivery flow.
jira-intake-refinement Backlog cleanup: splits, clarifies, prioritizes, and prepares issues for execution.
jira-quality-control Quality gate: plans validation, checks acceptance evidence, and prevents unnecessary user review.
jira-documentation-publishing Documentation bridge: keeps repo docs and Confluence pages aligned.
jira-execution-loop Delivery loop: selects next logical issue, moves work through statuses, and records evidence.
jira-workflow-admin Workflow management: designs or adjusts Jira workflows, statuses, and admin-facing configuration.

These skills are designed to stay tenant-aware:

  • they should inspect the target project before assuming workflow or issue-type behavior
  • they should adapt to different Jira project models where possible
  • when a requested action cannot be completed safely through the available AI tooling or public APIs, they should tell the operator which manual Jira step is required

To install the latest local Jira skill package and register the built MCP server in your Codex environment, run:

.\scripts\install-codex-local.ps1

This script:

  • runs npm run build
  • syncs the Jira skills from skills/ into ~/.codex/skills
  • updates ~/.codex/config.toml with a local jiraDelivery stdio MCP server that points to the built services/jira-mcp-server/dist/index.js

Re-run it whenever you want the local Codex install to pick up new MCP or skill changes from this repository.

Repository Structure

docs/                              Product and architecture documentation
fixtures/                          Reusable project-brief examples
scripts/                           Local helper utilities
services/jira-mcp-server/          MCP server, Jira client, policies, and tools
skills/                            Optional Codex skill package

Documentation

Start here:

Additional references:

Security

  • daily Jira and Confluence delivery writes execute live by default
  • only admin-risk writes require explicit confirmation
  • explicit preview mode is still available through JIRA_EXECUTION_MODE=dry-run
  • workflow changes should be validated before rollout
  • dependency logic is explicit and link-based
  • secrets should not be committed to the repository

Roadmap

Current focus areas include:

  • richer quality orchestration and bug evidence flow
  • change-request impact analysis
  • issue-type enablement across different Jira project models
  • better packaging for repeated installation and reuse

Contributing

See CONTRIBUTING.md.

License

This project is licensed under the MIT License.

About

Jira delivery toolkit with an MCP server, workflow-aware policies, and optional Codex skills.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors