Git Jira MCP Server logo

Git Jira MCP Server

by 1pone

This is an MCP server that retrieves Jira issue information. It automatically fetches Jira issue details based on the current Git branch name.

View on GitHub

Last updated: N/A

What is Git Jira MCP Server?

The Git Jira MCP Server is a tool that automates the process of retrieving Jira issue details based on the current Git branch name. It simplifies the workflow by automatically extracting the Jira ID from the branch name and fetching the corresponding issue information from Jira.

How to use Git Jira MCP Server?

To use the server, you need to configure the necessary environment variables (JIRA_INSTANCE_URL, JIRA_USER_EMAIL, JIRA_API_KEY, JIRA_BRANCH_PATTERNS) and then run the server using the provided command. The server will then automatically extract the Jira ID from the current Git branch name and fetch the issue details.

Key features of Git Jira MCP Server

  • Automatic branch identification

  • Retrieval of Jira issue details (title, description, status, priority, assignee)

  • Clear error handling for branch name format errors, API request failures, and missing environment variables

  • Support for multiple branch naming patterns

Use cases of Git Jira MCP Server

  • Displaying Jira issue details in a development environment

  • Automating the process of linking Git branches to Jira issues

  • Providing developers with quick access to Jira issue information

  • Integrating Jira issue information into other tools and workflows

FAQ from Git Jira MCP Server

How do I get a Jira API token?

You can obtain a Jira API token from your Atlassian account settings: https://id.atlassian.com/manage-profile/security/api-tokens

What branch naming conventions are supported?

The server supports the following branch naming formats: dev_[name]-[JIRA-ID], feature/[name]-[JIRA-ID], bugfix/[name]-[JIRA-ID]

What information about the Jira issue is retrieved?

The server retrieves the issue title, description, status, priority, and assignee.

What happens if the branch name does not match the expected format?

The server will return an error message indicating that the branch name format is incorrect.

What if the Jira API request fails?

The server will return an error message indicating that the API request failed. Check your API key and Jira instance URL.