Git Jira MCP Server
About
这是一个用于获取 Jira 需求信息的 MCP 服务器,基于当前 Git 分支名自动获取对应的 Jira 需求详情。
Details
- Author
- 1pone
- Downloads
- 200
- Categories
- Developer Tools
Jump to
- Automatically extracts Jira ID from current Git branch
- Fetches Jira issue title, description, status, priority, assignee
- Configurable branch naming patterns via environment variables
- Clear error messages for branch format, API failure, missing env vars
- Lightweight, no persistent storage – fetches live data
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Git Jira MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Configure the server in your MCP client’s mcp.json file with the command npx -y git-jira-mcp-server and set the required environment variables: JIRA_INSTANCE_URL, JIRA_USER_EMAIL, JIRA_API_KEY, and optionally JIRA_BRANCH_PATTERNS. The server will then match your current Git branch against the configured patterns and fetch the corresponding Jira issue.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"git jira mcp server": {
"git-jira": {
"command": "npx",
"args": [
"-y",
"git-jira-mcp-server"
],
"env": {
"JIRA_INSTANCE_URL": "https://your-domain.atlassian.net",
"JIRA_USER_EMAIL": "your.email@example.com",
"JIRA_API_KEY": "your_api_token",
"JIRA_BRANCH_PATTERNS": "dev_[a-zA-Z]+-([A-Z]+-\\d+),feature/[a-zA-Z]+-([A-Z]+-\\d+),bugfix/[a-zA-Z]+-([A-Z]+-\\d+),dev_[a-zA-Z]+_([A-Z]+-\\d+)"
}
}
}
}
}
McpServers
{
"git-jira": {
"command": "npx",
"args": [
"-y",
"git-jira-mcp-server"
],
"env": {
"JIRA_INSTANCE_URL": "https://your-domain.atlassian.net",
"JIRA_USER_EMAIL": "your.email@example.com",
"JIRA_API_KEY": "your_api_token",
"JIRA_BRANCH_PATTERNS": "dev_[a-zA-Z]+-([A-Z]+-\\d+),feature/[a-zA-Z]+-([A-Z]+-\\d+),bugfix/[a-zA-Z]+-([A-Z]+-\\d+),dev_[a-zA-Z]+_([A-Z]+-\\d+)"
}
}
}
Git Jira MCP Server
这是一个用于获取 Jira 需求信息的 MCP 服务器,基于当前 Git 分支名自动获取对应的 Jira 需求详情。
功能特性
- 自动分支识别:自动从当前 Git 分支名中提取 Jira ID
- 需求信息获取:获取 Jira 需求的详细信息,包括:
- 需求标题
- 需求描述
- 需求状态
- 优先级
- 负责人
- 错误处理:提供清晰的错误信息,包括:
- 分支名格式错误
- API 请求失败
- 环境变量缺失
使用方法
{
"git-jira": {
"command": "npx",
"args": [
"-y",
"git-jira-mcp-server"
],
"env": {
"JIRA_INSTANCE_URL": "https://your-domain.atlassian.net",
"JIRA_USER_EMAIL": "your.email@example.com",
"JIRA_API_KEY": "your_api_token",
"JIRA_BRANCH_PATTERNS": "dev_[a-zA-Z]+-([A-Z]+-\\d+),feature/[a-zA-Z]+-([A-Z]+-\\d+),bugfix/[a-zA-Z]+-([A-Z]+-\\d+),dev_[a-zA-Z]+_([A-Z]+-\\d+)"
}
}
}
分支命名规范
支持以下分支命名格式:
- dev_[name]-[JIRA-ID]
- feature/[name]-[JIRA-ID]
- bugfix/[name]-[JIRA-ID]
例如:
- dev_feature-ABC-123
- feature/new-ui-ABC-123
- bugfix/login-ABC-123
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





