CJ

camdenclark/jira-mcp

Developer tools

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

28 stars 10 forks 品質 66 トレンド 11MIT

An MCP server that enables Large Language Models (LLMs) to interact with JIRA through standardized tools and context.

概要

An MCP server that enables Large Language Models (LLMs) to interact with JIRA through standardized tools and context. This server provides capabilities for searching issues using JQL and retrieving detailed issue information. - : Execute complex JQL queries with pagination support - : Retrieve detailed information about specific JIRA issues - npm installed - A JIRA instance with API access - JIRA API token or Personal Access Token - JIRA user email associated with the API token 1. Log in to your Atlassian account at https://id.atlassian.com 2. Navigate to Security settings 3. Under API tokens, select "Create API token" 4. Give your token a meaningful name (e.g., "MCP Server") 5. Copy the generated token - you won't be able to see it again! 6. Use this token as your JIRA_API_KEY 7. Use the email address associated with your Atlassian account as JIRA_USER_EMAIL 1.

README

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

JIRA MCP Server

An MCP server that enables Large Language Models (LLMs) to interact with JIRA through standardized tools and context. This server provides capabilities for searching issues using JQL and retrieving detailed issue information.

Features

  • JQL Search: Execute complex JQL queries with pagination support
  • Issue Details: Retrieve detailed information about specific JIRA issues

Prerequisites

  • npm installed
  • A JIRA instance with API access
  • JIRA API token or Personal Access Token
  • JIRA user email associated with the API token

Getting JIRA API Credentials

  1. Log in to your Atlassian account at https://id.atlassian.com
  2. Navigate to Security settings
  3. Under API tokens, select “Create API token”
  4. Give your token a meaningful name (e.g., “MCP Server”)
  5. Copy the generated token - you won’t be able to see it again!
  6. Use this token as your JIRA_API_KEY
  7. Use the email address associated with your Atlassian account as JIRA_USER_EMAIL

Usage

Integration with Claude Desktop

  1. Add the server configuration to Claude Desktop’s config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "jira": {
      "command": "npx",
      "args": ["-y", "jira-mcp"],
      "env": {
        "JIRA_INSTANCE_URL": "https://your-instance.atlassian.net",
        "JIRA_USER_EMAIL": "[email protected]",
        "JIRA_API_KEY": "your-api-token"
      }
    }
  }
}
  1. Restart Claude Desktop to load the new configuration.

Available Tools

1. JQL Search (jql_search)

Executes a JQL search query with customizable parameters.

Parameters:

  • jql (required): JQL query string
  • nextPageToken: Token for pagination
  • maxResults: Maximum number of results to return
  • fields: Array of field names to include
  • expand: Additional information to include

Example:

{
  "jql": "project = 'MyProject' AND status = 'In Progress'",
  "maxResults": 10,
  "fields": ["summary", "status", "assignee"]
}

2. Get Issue (get_issue)

Retrieves detailed information about a specific issue.

Parameters:

  • issueIdOrKey (required): Issue ID or key
  • fields: Array of field names to include
  • expand: Additional information to include
  • properties: Array of properties to include
  • failFast: Whether to fail quickly on errors

Example:

{
  "issueIdOrKey": "PROJ-123",
  "fields": ["summary", "description", "status"],
  "expand": "renderedFields,names"
}

Development

Configuration

Set up your environment variables before running the server. Create a .env file in the root directory:

GitHub で README 全文を見る

インストール

npx -y jira-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "jira": { "command": "npx", "args": ["-y", "jira-mcp"], "env": { "JIRA_INSTANCE_URL": "https://your-instance.atlassian.net", "JIRA_USER_EMAIL": "[email protected]", "JIRA_API_KEY": "your-api-token" } } } }