jira-context-mcp
jira-context-mcp
jira-context-mcp は、Jira URLから構造化されたJira課題コンテキストを取得するための、本番環境向けのMCPサーバーです。CodexやClaude Codeのようなコーディングエージェントが、課題の意図や実装の背景を迅速に理解できるように設計されています。
このサーバーの機能
1つのMCPツール
get_jira_issue_from_urlを提供入力されたURLが
JIRA_BASE_URLに属していることを検証さまざまな形式のJira URLからJira課題キーを抽出
Jira Cloud REST APIを呼び出し:
GET /rest/api/3/issue/{issueIdOrKey}?expand=names,renderedFields
Jiraのリッチテキスト(Atlassian Document Format)をプレーンテキストに変換
エージェントが扱いやすい簡潔な構造化課題コンテキストを返却
Related MCP server: Jira MCP Server
サポートされているJira課題タイプ
このサーバーは課題タイプに依存しません。以下を含むあらゆるJira課題タイプで動作します:
バグ
機能リクエスト
タスク
ストーリー
エピック
要件
改善
サポートチケット
カスタム課題タイプ
必要な環境変数
JIRA_EMAIL: JiraアカウントのメールアドレスJIRA_API_TOKEN: Jira APIトークンJIRA_BASE_URL: Jira CloudテナントURL(例:https://your-domain.atlassian.net)
クイックセットアップコマンド
Codex (グローバルインストールなし)
codex mcp add jira \
--env JIRA_EMAIL=you@example.com \
--env JIRA_API_TOKEN=your-token \
--env JIRA_BASE_URL=https://your-domain.atlassian.net \
-- npx -y github:TastyHeadphones/jira-context-mcpClaude Code (グローバルインストールなし)
claude mcp add jira \
-e JIRA_EMAIL=you@example.com \
-e JIRA_API_TOKEN=your-token \
-e JIRA_BASE_URL=https://your-domain.atlassian.net \
-- npx -y github:TastyHeadphones/jira-context-mcpオプション: 最初にグローバルインストールする場合
npm install -g github:TastyHeadphones/jira-context-mcpその後、ローカルバイナリで追加:
codex mcp add jira \
--env JIRA_EMAIL=you@example.com \
--env JIRA_API_TOKEN=your-token \
--env JIRA_BASE_URL=https://your-domain.atlassian.net \
-- jira-context-mcpclaude mcp add jira \
-e JIRA_EMAIL=you@example.com \
-e JIRA_API_TOKEN=your-token \
-e JIRA_BASE_URL=https://your-domain.atlassian.net \
-- jira-context-mcpツール
get_jira_issue_from_url
入力:
{
"url": "string"
}サポートされているURLの例:
${JIRA_BASE_URL}/browse/ABC-123${JIRA_BASE_URL}/jira/software/projects/ABC/boards/1/backlog?selectedIssue=ABC-123JIRA_BASE_URL配下にあるABC-123のような課題キーを含むすべてのJira URL
返却される構造化データには以下が含まれます:
issueKey,issueUrl,summarydescription(可能な限りプレーンテキスト)issueType,status,statusCategory,priorityassignee,reporterlabels,componentsfixVersions,affectedVersionscreated,updated,dueDateparent,epicsubtasks,linkedIssuesattachments(メタデータのみ)comments(最新の10件)acceptanceCriteria(説明やカスタムフィールドから可能な限り抽出)customFields(空ではなく、正規化され、人間が読み取れる形式)
Jira APIトークンの作成
Atlassian APIトークン設定 を開きます。
APIトークンを作成 をクリックします。
トークンに名前を付けてコピーします。
その値を
JIRA_API_TOKENとして使用します。
ローカルでの実行
依存関係をインストール:
npm install環境変数を設定します(シェルやセッションの
.envなどを使用)。ビルド:
npm run build起動:
npm start開発モード:
npm run devMCP設定例
MCPクライアント設定でこのサーバーエントリを使用します:
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["/absolute/path/to/jira-context-mcp/dist/index.js"],
"env": {
"JIRA_EMAIL": "you@example.com",
"JIRA_API_TOKEN": "your-token",
"JIRA_BASE_URL": "https://your-domain.atlassian.net"
}
}
}
}Claude Code MCP設定例
Claude Code MCPサーバー設定ファイルで、上記のJSONブロックと同じものを使用してください。
Codex MCP設定例
Codex MCPサーバー設定ファイルで、上記のJSONブロックと同じものを使用してください。
ツール呼び出しの例
{
"name": "get_jira_issue_from_url",
"arguments": {
"url": "https://your-domain.atlassian.net/browse/ABC-123"
}
}出力例
{
"issueKey": "ABC-123",
"issueUrl": "https://your-domain.atlassian.net/browse/ABC-123",
"summary": "Prevent duplicate webhook retries",
"description": "As a platform engineer, I need retry deduplication ...",
"acceptanceCriteria": "- Duplicate deliveries are ignored\n- Metrics include dropped duplicates",
"issueType": "Story",
"status": "In Progress",
"statusCategory": "In Progress",
"priority": "High",
"assignee": {
"accountId": "5b10ac8d82e05b22cc7d4ef5",
"displayName": "Alex Example",
"emailAddress": null,
"active": true
},
"labels": ["webhook", "idempotency"],
"components": ["API"],
"fixVersions": ["2026.05"],
"affectedVersions": ["2026.04"],
"subtasks": [],
"linkedIssues": [],
"attachments": [],
"comments": [],
"customFields": []
}セキュリティ上の注意
JIRA_API_TOKENは秘密にしてください。ソース管理には決してコミットしないでください。トークンに関連付けられたアカウントには、最小権限のJiraアクセス権を付与してください。
このサーバーは課題データと添付ファイルのメタデータのみを取得します。添付ファイル自体はダウンロードしません。
URL検証により、設定された
JIRA_BASE_URL以外のURLは拒否されます。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Fetch any URL as clean markdown, HTML, or a screenshot for AI agents.
Extract clean markdown, DESIGN.md specs, and link graphs from any URL for LLMs.
Turns any URL into SEO metadata, contacts, tech stack, and AI-ready Markdown, in one call.
Scan a URL before your agent reads it: hidden prompt injection, phishing, clean markdown.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables ChatGPT and other AI assistants to directly interact with JIRA issues, currently offering the ability to retrieve issue details.-
- AlicenseBqualityDmaintenanceEnables fetching and viewing Jira issue details directly through Claude Desktop using secure API token authentication. Provides comprehensive issue information including status, assignee, priority, and descriptions in both human-readable and structured formats.101ISC
- AlicenseAqualityDmaintenanceEnables AI assistants to fetch ProofHub task details, comments, and bug tracker links from a URL, streamlining development workflows.6MIT
- AlicenseNot gradedqualityFmaintenanceIntegrates Jira tickets with GitHub Copilot Chat, fetching ticket details, linked tickets, and metadata to enhance context for AI-driven code suggestions.AGPL 3.0