
git jira mcp server
这是一个用于获取 Jira 需求信息的 MCP 服务器,基于当前 Git 分支名自动获取对应的 Jira 需求详情。
Repository Info
About This Server
这是一个用于获取 Jira 需求信息的 MCP 服务器,基于当前 Git 分支名自动获取对应的 Jira 需求详情。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Git Jira MCP Server
这是一个用于获取 Jira 需求信息的 MCP 服务器,基于当前 Git 分支名自动获取对应的 Jira 需求详情。
功能特性
- 自动分支识别:自动从当前 Git 分支名中提取 Jira ID
- 需求信息获取:获取 Jira 需求的详细信息,包括:
- 需求标题
- 需求描述
- 需求状态
- 优先级
- 负责人
- 错误处理:提供清晰的错误信息,包括:
- 分支名格式错误
- API 请求失败
- 环境变量缺失
使用方法
获取 Jira API Token
{
"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-123feature/new-ui-ABC-123bugfix/login-ABC-123
Quick Start
Clone the repository
git clone https://github.com/1pone/git-jira-mcp-serverInstall dependencies
cd git-jira-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.