MCP ExplorerExplorer

Jira Mcp Snowflake

@rshemtov13on 10 months ago
2 MIT
FreeCommunity
AI Systems
A Jira MCP Server for querying and analyzing JIRA issues from Snowflake CSV files.

Overview

What is Jira Mcp Snowflake

jira-mcp-snowflake is a Model Context Protocol (MCP) server that allows access to JIRA issue data stored in CSV files exported from Snowflake. It enables AI assistants to query, filter, and analyze JIRA issues through a standardized interface.

Use cases

Use cases include querying specific JIRA issues for detailed analysis, generating project summaries for reporting, and filtering issues based on various criteria to assist in project management and decision-making.

How to use

To use jira-mcp-snowflake, you can utilize three main tools: ‘list_issues’ to query and filter JIRA issues, ‘get_issue_details’ to retrieve detailed information about a specific issue by its key, and ‘get_project_summary’ to obtain statistics and summaries for all projects.

Key features

Key features include the ability to filter JIRA issues by project, issue type, status, priority, and text search. It also provides detailed issue information and project statistics, with data sourced from various CSV files.

Where to use

jira-mcp-snowflake can be used in software development and project management environments where JIRA is utilized for issue tracking and management, particularly in organizations that export JIRA data to Snowflake.

Content

Jira MCP Server

A Model Context Protocol (MCP) server that provides access to JIRA issue data stored in CSV files exported from Snowflake. This server enables AI assistants to query, filter, and analyze JIRA issues through a standardized interface.

Overview

This MCP server reads JIRA data from CSV files and provides three main tools for interacting with the data:

  • list_issues - Query and filter JIRA issues with various criteria
  • get_issue_details - Get detailed information for a specific issue by key
  • get_project_summary - Get statistics and summaries for all projects

Features

Data Sources

The server reads from the following CSV files in the Snowflake_CSV/ directory:

  • JIRA_ISSUE_NON_PII.csv - Main issue data (non-personally identifiable information)
  • JIRA_LABEL_RHAI.csv - Issue labels and tags
  • JIRA_COMPONENT_RHAI.csv - Component information
  • JIRA_COMMENT_NON_PII.csv - Issue comments (non-PII)

Available Tools

1. List Issues (list_issues)

Query JIRA issues with optional filtering:

  • Project filtering - Filter by project key (e.g., ‘SMQE’, ‘OSIM’)
  • Issue type filtering - Filter by issue type ID
  • Status filtering - Filter by issue status ID
  • Priority filtering - Filter by priority ID
  • Text search - Search in summary and description fields
  • Result limiting - Control number of results returned (default: 50)

2. Get Issue Details (get_issue_details)

Retrieve comprehensive information for a specific JIRA issue by its key (e.g., ‘SMQE-1280’), including:

  • Basic issue information (summary, description, status, priority)
  • Timestamps (created, updated, due date, resolution date)
  • Time tracking (original estimate, current estimate, time spent)
  • Metadata (votes, watches, environment, components)
  • Associated labels

3. Get Project Summary (get_project_summary)

Generate statistics across all projects:

  • Total issue counts per project
  • Status distribution per project
  • Priority distribution per project
  • Overall statistics

Prerequisites

  • Python 3.8+
  • Podman or Docker
  • CSV data files in Snowflake_CSV/ directory

Installation & Setup

Local Development

  1. Clone the repository:
git clone <repository-url>
cd jira-mcp-snowflake
  1. Install dependencies:
pip install -r requirements.txt
  1. Ensure CSV data files are present in Snowflake_CSV/ directory

  2. Run the server:

python mcp_server.py

Container Deployment

Building locally

To build the container image locally using Podman, run:

podman build -t jira-mcp-snowflake:latest .

This will create a local image named jira-mcp-snowflake:latest that you can use to run the server.

Running with Podman or Docker

Example configuration for running with Podman:

{
  "mcpServers": {
    "jira-mcp-snowflake": {
      "command": "podman",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT=stdio",
        "localhost/jira-mcp-snowflake:latest"
      ]
    }
  }
}

VS Code Continue Integration

Example configuration to add to VS Code Continue:

{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "name": "jira-mcp-snowflake",
        "transport": {
          "type": "stdio",
          "command": "podman",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "MCP_TRANSPORT=stdio",
            "localhost/jira-mcp-snowflake:latest"
          ]
        }
      }
    ]
  }
}

Usage Examples

Query Issues by Project

# List all issues from the SMQE project
result = await list_issues(project="SMQE", limit=10)

Search Issues by Text

# Search for issues containing "authentication" in summary or description
result = await list_issues(search_text="authentication", limit=20)

Get Specific Issue Details

# Get detailed information for a specific issue
result = await get_issue_details(issue_key="SMQE-1280")

Get Project Overview

# Get statistics for all projects
result = await get_project_summary()

Environment Variables

  • MCP_TRANSPORT - Transport protocol for MCP communication (default: “stdio”)

Data Privacy

This server is designed to work with non-personally identifiable information (non-PII) data only. The CSV files should be sanitized to remove any sensitive personal information before use.

Dependencies

  • httpx - HTTP client library
  • fastmcp - Fast MCP server framework
  • aiofiles - Asynchronous file operations

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers