Enables interaction with Jira to query issue details and lists, create and update work items, manage projects, and handle Jira attachments with automated download and organization capabilities.
Personal JIRA MCP
一个基于FastMCP框架的个人JIRA集成插件,用于查询JIRA问题详情、列表及进行基本操作,支持JIRA附件管理。
什么是MCP?
MCP (Model Context Protocol) 是一种为大型语言模型(LLM)提供上下文和工具的标准化协议。它被称为"AI的USB-C接口",提供了统一的方式连接LLM与各种资源和功能。
本项目是一个MCP服务器,专门针对JIRA集成,允许AI通过标准化接口访问JIRA数据和功能,使得人工智能助手能够:
- 查询和检索JIRA问题
- 创建和更新工作项
- 下载和管理附件
- 执行JIRA相关操作
主要功能
- 查询JIRA问题详情和问题列表
- 创建和更新JIRA问题
- 获取项目列表和详情
- 管理和下载JIRA问题附件
- 自动将附件保存到~/.jira_mcp目录
- 按问题ID组织的子目录结构
- 支持下载单个或所有附件
安装
前提条件
- Python 3.10 或更高版本
- 安装 uv (推荐) 或 pip
安装 uv
uv 是一个快速的 Python 包管理器,推荐用于安装和管理 Python 包。
Linux / macOS
Windows
验证安装
从PyPI安装
从GitHub安装
本地开发安装
配置
创建一个.env
文件,设置以下环境变量:
Cursor配置
在 .cursor/mcp.json
中添加以下配置(推荐使用uvx方式):
如果您已经本地安装了personal-jira-mcp(不推荐),也可以直接使用命令:
其他MCP客户端配置
如果你使用其他支持MCP协议的客户端或IDE,可以使用以下两种方式配置:
基于命令行方式
基于HTTP方式(需要单独运行服务器)
快速开始
启动MCP服务器
命令行工具
在Cursor中使用
配置好mcp.json后,可以在Cursor中使用以下自然语言命令:
详细文档
更详细的使用指南和API参考,请查看使用指南。
MCP提供的工具
本MCP服务器提供以下工具:
工具名称 | 描述 | 示例 |
---|---|---|
get_issue | 获取JIRA问题详情 | ERP-123 |
search_issues | 搜索JIRA问题列表 | project = ERP AND status = "In Progress" |
create_issue | 创建JIRA问题 | 创建一个标题为"修复登录问题"的任务 |
update_issue | 更新JIRA问题 | 将ERP-123的状态改为"已完成" |
get_projects | 获取JIRA项目列表 | 列出所有可访问的项目 |
get_project | 获取项目详情 | 获取ERP项目的详细信息 |
get_issue_attachments | 获取问题的所有附件 | 列出ERP-123的所有附件 |
download_all_attachments | 下载问题的所有附件 | 下载ERP-123的全部附件 |
get_attachment_by_filename | 获取特定附件 | 从ERP-123获取名为"截图.png"的附件 |
开发
安装开发依赖
发布
使用自动化脚本发布
手动构建并发布到PyPI
许可证
MIT
This server cannot be installed
An MCP server that enables AI assistants to interact with JIRA, allowing for querying issue details, creating and updating work items, and managing attachments through a standardized interface.
Related MCP Servers
- -securityAlicense-qualityEnables AI applications to manage JIRA issues, workflows, and tasks through a standardized MCP interface, facilitating real-time updates and seamless interaction with JIRA's API.Last updated -6PythonMIT License
- -securityFlicense-qualityAn MCP server that enables AI agents to interact with Atlassian products (Confluence and Jira) for content management, issue tracking, and project management through a standardized interface.Last updated -2TypeScript
- AsecurityFlicenseAqualityAn MCP server implementation that enables AI assistants to interact with and manage Sakura Cloud infrastructure, including servers, disks, networks, and containerized applications.Last updated -462JavaScript
- -securityFlicense-qualityA MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.Last updated -5TypeScript