Jira 通信服务器 MCP 服务器
与 Jira 交谈
这是一个基于 TypeScript 的 MCP 服务器,提供与 Jira 交互的工具。它通过以下方式演示了 MCP 的核心概念:
- 执行 JQL 查询的工具
- 用于创建、编辑和删除 Jira 票证的工具
- 列出 Jira 项目和状态的工具
特征
Jira 工具
execute_jql
- 目的:运行 JQL 查询。
- 参数:
jql
,number_of_results
(默认值:1)。
get_only_ticket_name_and_description
- 目的:获取票证名称和描述。
- 参数:
jql
,number_of_results
(默认值:1)。
create_ticket
- 目的:创建 Jira 票证。
- 参数:
project.key
、summary
、description
、issuetype.name
、parent
(可选)。
list_projects
- 目的:列出 Jira 项目。
- 参数:
number_of_results
(默认值:1)。
delete_ticket
- 目的:删除一张票。
- 参数:
issueIdOrKey
。
edit_ticket
- 目的:修改票证。
- 参数:
issueIdOrKey
、summary
(可选)、description
(可选)、labels
(可选)、parent
(可选)。
get_all_statuses
- 目的:检索所有状态。
- 参数:
number_of_results
(默认值:1)。
assign_ticket
- 目的:将票分配给用户。
- 参数:
accountId
、issueIdOrKey
。
query_assignable
- 目的:查找项目中可分配的用户。
- 参数:
project_key
。
add_attachment
- 目的:向票证添加附件。
- 参数:
issueIdOrKey
、imageUrl
。
发展
安装依赖项:
构建服务器:
对于使用自动重建的开发:
安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
Related MCP Servers
- AsecurityAlicenseAqualityProvides capabilities for searching Jira issues using JQL and retrieving detailed issue information.Last updated -262217JavaScriptMIT License
- -securityFlicense-qualityA server implementation that allows AI models to interact with Jira through the Model Context Protocol, enabling tasks like JQL searches and retrieving issue details.Last updated -Python
- -securityFlicense-qualityA Model Context Protocol server that enables seamless integration between Cursor IDE and JIRA, allowing users to retrieve issues, execute JQL searches, and log work through natural language interactions.Last updated -Python
- -securityFlicense-qualityA TypeScript implementation of Model Context Protocol that provides integration tools for JIRA ticket creation and TODO management, allowing users to manage tasks through natural language interfaces.Last updated -TypeScript