Jira MCP Server

Integrations

  • Allows AI assistants to interact with Jira tickets by fetching assigned tickets, adding comments, getting available status transitions, and updating ticket status.

Jira MCP サーバー

AIアシスタントがJiraと連携できるようにする、Simple Model Context Protocol(MCP)サーバー。このサーバーにより、AIは以下のようなアクションを実行できます。

  • ユーザーに割り当てられたチケットを取得しています
  • チケットにコメントを追加する
  • 利用可能なステータス遷移を取得する
  • チケットステータスの更新

前提条件

  • ドッカー
  • APIアクセスを持つJiraアカウント
  • 環境変数が設定されています(下記参照)

環境変数

ルート ディレクトリに次の.envファイルを作成します。

JIRA_SERVER=https://yourcompany.atlassian.net JIRA_USERNAME=yourname@yourcompany.com JIRA_API_KEY=yourapikey JIRA_PROJECT_KEY=yourprojectkey

API キーは次の場所から取得します: https://id.atlassian.com/manage-profile/security/api-tokens

ローカルで実行

オプション1: Dockerを使用する

# Build and run with Docker chmod +x run_docker_locally.sh ./run_docker_locally.sh

オプション2: Pythonを使用する

  1. 依存関係をインストールします:
pip install -r requirements.txt
  1. サーバーを実行します。
uvicorn src.server:app --reload

これによりhttp://localhost:8000でサーバーが起動します。

MCPサーバーの使用

MCP サーバーはhttp://localhost:8000/mcpで公開されます。

-
security - not tested
A
license - permissive license
-
quality - not tested

AI アシスタントが Jira と対話し、チケットの取得、コメントの追加、チケット ステータスの更新などの操作を実行できるようにするシンプル モデル コンテキスト プロトコル サーバー。

  1. Prerequisites
    1. Environment Variables
      1. Running Locally
        1. Option 1: Using Docker
        2. Option 2: Using Python
      2. Using the MCP Server
        ID: zit184vptz