logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

atlassian_issue_aggregator

Orchestrates retrieval of granular weekly issue data from specified Jira environments using tailored JQL filters, with an optional post-processing step to generate high-level executive summaries leveraging the agent's integrated language modeling capabilities.

Author

atlassian_issue_aggregator logo

Jongryong

No License

Quick Info

GitHub GitHub Stars 0
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

jira_reporterjqljirareports jirajira_reporter generatejira instances

Atlassian Issue Aggregator Server for FastMCP

Python Version License: Apache 2.0

This component implements a FastMCP service designed to securely interface with Atlassian Jira platforms (Cloud or self-hosted Server/Data Center). Its primary function is to construct comprehensive weekly status reports derived from user-defined JQL specifications. Furthermore, it possesses the advanced feature of invoking the host client's Large Language Model (LLM) to abstract the raw data into an easily digestible executive brief.

Core Capabilities

  • Secure Connectivity: Establishes authenticated links to Jira instances utilizing credentials supplied via environment variables (.env configuration).
  • MCP Interface: Exposes the fetch_jira_metrics tool endpoint compatible with the Model Context Protocol.
  • Customizable Data Extraction:
    • By default, retrieves records modified within the trailing seven-day period.
    • Accepts arbitrary, complex JQL strings for precise data targeting.
    • Allows scoping results to a specific Jira Project Identifier (e.g., 'PROJ-123').
    • Implements a configurable cap on the volume of records fetched.
  • Intelligent Synthesis (Optional): If activated, utilizes the connected agent's LLM capability (via context.synthesize()) to generate a narrative summary of the report findings.
  • Concurrency Management: Ensures that blocking I/O operations inherent to the external Jira API client are correctly managed within the asynchronous FastMCP server context using asyncio.to_thread.

📚 Prerequisites & Installation

Ensure the following dependencies are met before deployment:

  1. Runtime Environment: Python version 3.10 or newer.
  2. Environment Management: Installation via uv is preferred for dependency resolution.
  3. Jira Access: Credentials and URL for your target Jira environment.
  4. Tooling: The FastMCP Command Line Interface must be installed.

Setup Steps

  1. Acquire Source (If applicable): bash git clone cd

  2. Dependency Installation: Recommended installation sequence: bash uv pip install fastmcp "jira[cli]" python-dotenv httpx anyio

  3. Configuration File (.env): Create a .env file in the root execution directory containing sensitive parameters: dotenv # .env JIRA_BASE_URL=https://your-organization.atlassian.net JIRA_USER_EMAIL=user@organization.com
    JIRA_AUTH_TOKEN=secure_api_key_or_pat

    • Security Notice: This file must be explicitly excluded from source control (add to .gitignore).
    • Token Generation: Refer to Atlassian documentation for generating API tokens (Cloud) or Personal Access Tokens (Server).

🚀 Server Operation

Execution can be managed in two primary ways:

  1. Direct Python Execution: bash python jira_reporter_server.py

  2. Via FastMCP CLI: bash fastmcp execute jira_reporter_server.py

    For optimized network transport (e.g., remote access): bash fastmcp execute jira_reporter_server.py --transport sse --port 8001

🖥️ Integration with Claude Desktop Application

To expose this functionality seamlessly within the Claude Desktop environment, modify the local configuration file (claude_desktop_config.json).

  1. Locate Configuration: The file path varies by OS (e.g., ~/Library/Application Support/Claude/ on macOS).

  2. Update mcpServers Block: Integrate the following definition into the mcpServers section, substituting the placeholder path with the absolute file system path to your server script:

    { "mcpServers": { // ... existing entries ...

    "jira_data_fetcher": {
      "command": "fastmcp",
      "args": [
        "execute",
        "/absolute/path/to/your/jira_reporter_server.py" 
      ]
    }
    

    } }

  3. Restart Client: Save the configuration and relaunch the Claude Desktop application to activate the tool binding.

  4. Tool Invocation Example: Initiate the process within a Claude prompt: @jira_data_fetcher retrieve status updates for project 'FINANCE' and produce a summary.

🔩 Tool Specification

  • Tool Identifier: fetch_jira_metrics
  • Purpose: Fetches Jira ticket data according to JQL/Project constraints and optionally triggers LLM-based report narrative generation.

Input Arguments:

Argument Name Data Type Mandatory Default Value Description
jql_filter string No updated >= -7d ORDER BY updated DESC The precise JQL string to execute against the Jira search endpoint.
scope_project string No null Limits the search scope by adding project = 'KEY' AND ... to the JQL.
result_limit integer No 50 The maximum count of issue objects returned by the API call.
generate_abstract boolean No false If set to true, the server sends the fetched data to the client's LLM context for summarization.

📦 Mandatory Libraries

The FastMCP setup utilizes the dependencies=["jira"] declaration, ensuring the necessary Python package is installed when using automated environment setup tools.

🤝 Contribution Guide

We welcome external contributions, including feature suggestions, issue reporting, and pull requests.

📄 Licensing

Distributed under the Apache 2.0 License.

ISO: Cloud computing involves a collection of services that are delivered over the internet. These services are categorized into Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).

NIST Essential Characteristics (2011 Refined)

The defining traits of a cloud system, as articulated by NIST, are:

  1. Self-Service Provisioning: Users provision resources autonomously without provider intervention.
  2. Ubiquitous Connectivity: Access is network-enabled via standard protocols, supporting diverse client devices.
  3. Shared Tenancy (Resource Pooling): Provider resources are dynamically allocated across multiple consumers.
  4. Elastic Scalability: Resources can be rapidly scaled up or down in response to fluctuating demand.
  5. Usage Metering: Resource consumption is transparently tracked, controlled, and reported for billing and optimization.

See Also

`