TJ

tbreeding/jira-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

6 stars 4 forks 品質 58 トレンド 14MIT

Jira MCP Server

概要

A collection of tools designed for interacting with Jira via the Model Context Protocol (MCP), providing core Jira functionalities and a unified, guided Issue Creation and Update Wizard. For running locally, you can put the DEBUG and LOG_FILE_PATH into your .env. This application exposes the following tools via the Model Context Protocol: - getJiraIssue: Fetches a Jira issue by its key. - analyzeJiraIssue: Performs comprehensive analysis of a Jira issue. - jiraGet: Fetches data from any Jira API GET endpoint. - getIssuesByJql: Searches for Jira issues using a JQL query. These tools provide a step-by-step, guided process for creating new Jira issues.

README

以下は原文 README の抜粋です。原文を見る。

Jira MCP Server

A collection of tools designed for interacting with Jira via the Model Context Protocol (MCP), providing core Jira functionalities and a unified, guided Issue Creation and Update Wizard.

Installation

To install this into a client:

{
  "mcpServers": {
    "JiraMCP_Published": {
      "command": "npx",
      "args": [
        "@timbreeding/jira-mcp-server@latest",
        "--jira-base-url=https://example.atlassian.net",
        "[email protected]",
        "--jira-api-token="
      ],
      "env": {
        "DEBUG": "true",
        "LOG_FILE_PATH": "" // Some full path. If blank, it will not write logs to a file.
      }
    }
  }
}

Usage

…

Configuration

Environment Variables

For running locally, you can put the DEBUG and LOG_FILE_PATH into your .env.

Available Tools

This application exposes the following tools via the Model Context Protocol:

Core Jira Tools

  • getJiraIssue: Fetches a Jira issue by its key.
  • analyzeJiraIssue: Performs comprehensive analysis of a Jira issue.
  • jiraGet: Fetches data from any Jira API GET endpoint.
  • getIssuesByJql: Searches for Jira issues using a JQL query.

Issue Creation Wizard Tools

These tools provide a step-by-step, guided process for creating new Jira issues. The wizard maintains state throughout the creation flow, typically involving these stages: initiating the process, selecting a project (getProjects), choosing an issue type (getIssueTypes), retrieving and populating the necessary fields (getFields, updateFields), optionally analyzing the issue details, and finally confirming and creating the issue (createIssue). Use getState and getStatus to monitor progress, and resetState to start over.

  • issueCreation_getState: Gets the current internal state of the wizard.
  • issueCreation_getStatus: Gets the high-level status of the wizard.
  • issueCreation_initiateState: Initializes a new wizard state.
  • issueCreation_resetState: Resets the wizard state.
  • issueCreation_updateState: Updates the wizard state (project, issue type, fields, step).
  • issueCreation_createIssue: Creates a Jira issue using the wizard’s state.
  • issueCreation_getProjects: Retrieves available Jira projects.
  • issueCreation_getIssueTypes: Gets available issue types for the selected project.
  • issueCreation_getFields: Retrieves fields required for the selected project/issue type.
  • issueCreation_updateFields: Updates specific field values in the wizard state.
  • issueCreation_setAnalysisComplete: Sets the analysis complete flag.
  • issueCreation_setUserConfirmation: Sets the user confirmation flag before creation.
  • issueCreation_analyzeIssue: Analyzes the issue details within the wizard context.

Issue Update Wizard Tools (Unified Update Workflow)

GitHub で README 全文を見る

インストール

npx @timbreeding/jira-mcp-server@latest --jira-base-url=https://example.atlassian.net [email protected] --jira-api-token=<your jira token>
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "JiraMCP_Published": { "command": "npx", "args": [ "@timbreeding/jira-mcp-server@latest", "--jira-base-url=https://example.atlassian.net", "[email protected]", "--jira-api-token=<your jira token>" ], "env": { "DEBUG": "true", "LOG_FILE_PATH": "" // Some full path. If blank, it will not write logs to a file. } } } }