mcp-jira-git
This project is an MCP server that facilitates integration between Jira and Git for automating development workflows. It enhances productivity by automatically updating Jira issue statuses based on Git changes and offers MCP tools for interacting with these platforms.
MCP Server - Jira & Git Integration
Overview
This project provides an MCP server that integrates with Jira and Git to automate development workflows. It watches a Git repository for file changes, checks for a Jira issue key on the current branch, and updates the issue status.
Features
- Automatic Jira Status Updates: Monitors file changes and updates Jira issues.
- MCP Tool Integration: Exposes tools like
getJiraIssue
,createGitBranchAndPR
, andupdateJiraStatus
. - Configurable: Uses environment variables for Jira and Git settings.
Setup
Clone the repository, install dependencies, and configure environment variables such as JIRA_BASE_URL
, JIRA_EMAIL
, GIT_REPO_PATH
, and more.
Running the Server
Start in development mode with npm run dev
or production with npm run build
and npm start
.
Usage (MCP Client)
Connect via STDIN/STDOUT to call tools like getJiraIssue
, createGitBranchAndPR
, and updateJiraStatus
.
File Watching Behavior
Monitors GIT_REPO_PATH
for changes, checks the branch name and updates Jira status if changes are detected.