Sponsored by Deepsite.site

MCP Server for Jira

Created By
rihofujino9 months ago
Content

MCP Server for Jira

Jira API と連携するためのMCPサーバー

機能

  • Jira課題の検索
  • 課題の詳細情報取得
  • 課題の作成
  • 課題の更新
  • コメントの追加
  • 課題ステータスの移行(ワークフロー)

インストール

# 依存関係のインストール
npm install

# 環境変数設定
cp .env.example .env
# .envファイルを編集して適切なJira API資格情報を設定

環境変数の設定

.envファイルに以下の環境変数を設定してください:

  • PORT: サーバーのポート番号(デフォルト: 3000)
  • JIRA_API_URL: JiraのAPIのURL(例: https://your-domain.atlassian.net/rest/api/3)
  • JIRA_API_EMAIL: JiraのAPIアクセス用のメールアドレス
  • JIRA_API_TOKEN: JiraのAPIトークン
  • LOG_LEVEL: ログレベル(debug, info, warn, error)

起動方法

# 開発モード
npm run dev

# 本番モード
npm start

API エンドポイント

課題検索

GET /api/jira/issues?jql=project=PROJ

クエリパラメーター:

  • jql: 検索用のJQLクエリ(必須)
  • maxResults: 最大結果数(オプション、デフォルト: 50)

課題詳細取得

GET /api/jira/issues/:issueKey

パスパラメーター:

  • issueKey: 課題キー(例: PROJ-123)

課題作成

POST /api/jira/issues

リクエストボディ例:

{
  "fields": {
    "project": {
      "key": "PROJ"
    },
    "summary": "課題のタイトル",
    "issuetype": {
      "id": "10001"
    },
    "priority": {
      "id": "3"
    }
  }
}

課題更新

PUT /api/jira/issues/:issueKey

パスパラメーター:

  • issueKey: 課題キー

リクエストボディ例:

{
  "fields": {
    "summary": "更新されたタイトル",
    "description": {
      "type": "doc",
      "version": 1,
      "content": [
        {
          "type": "paragraph",
          "content": [
            {
              "type": "text",
              "text": "更新された説明"
            }
          ]
        }
      ]
    }
  }
}

コメント追加

POST /api/jira/issues/:issueKey/comments

パスパラメーター:

  • issueKey: 課題キー

リクエストボディ例:

{
  "comment": "これは新しいコメントです"
}

課題の移行(ステータス変更)

POST /api/jira/issues/:issueKey/transitions

パスパラメーター:

  • issueKey: 課題キー

リクエストボディ例:

{
  "transitionId": "21"
}

ロギング

ログは以下の場所に保存されます:

  • logs/combined.log: すべてのログ
  • logs/error.log: エラーログのみ
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
Amap Maps高德地图官方 MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code