Logotipo de Jira

Jira

Organización
redhat-community-ai-tools

A server for querying Jira issues, requiring a Jira token for authentication.

Editorredhat-community-ai-tools
Repositoriojira-mcp
IdiomaPython
Forks
23
Estrellas
17
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Jira ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés de la comunidad en el repositorio

    17 estrellas y 23 forks en el repositorio enlazado.

redhat-ai-tools/jira-mcp

A containerized Python MCP server for Cursor to provide access to Jira.

[!IMPORTANT] This project is experimental and was initially created as a learning exercise. Be aware there are more capable and mature Jira MCP solutions available, such as sooperset/mcp-atlassian, and Atlassian's own MCP Server.

See also redhat-ai-tools/jira-mcp-snowflake which provides another way to access Red Hat Jira data.

Quick Start

  1. Prepare a Jira token

  2. Configure Cursor

    • In Cursor go to "Settings", "Tools & Integrations", and click "New MCP Server"
    • Paste in the following JSON, (or insert just the jiraMcp object under the mcpServers key).
    • Update "/path/to/your/dotenv/file.env" to point to the file from step 1.
    • Save
{
  "mcpServers": {
    "jiraMcp": {
      "command": "podman",
      "args": [
        "run",
        "-i",
        "--rm",
        "--env-file",
        "/path/to/your/dotenv/file.env",
        "quay.io/sbaird/jira-mcp:latest"
      ],
      "description": "A containerized MCP server to query Jira issues"
    }
  }
}

Quick Start (for developers)

  1. Prerequisites

    • podman - Install with sudo dnf install podman (Fedora/RHEL) or brew install podman (macOS)
    • yq - Install with sudo dnf install yq (Fedora/RHEL) or brew install yq (macOS)
    • make - Usually pre-installed on most systems
  2. Get the code

bash
git clone git@github.com:redhat-ai-tools/jira-mcp.git
cd jira-mcp
  1. Build the image & configure Cursor This also creates a ~/.rh-jira-mcp.env file like this.
bash
make setup
  1. Prepare a Jira token

  2. Decide whether to enable write operations

Enabling your MCP server to make edits to Jira can be very useful, but can also cause a lot of problems if you are not careful in how you use the MCP tools. By default, the server has write operations turned off. If you want to turn it on, edit the .rh-jira-mcp.env file in your home directory to set JIRA_ENABLE_WRITE=true.

  1. Check if it is working in Cursor

To confirm it's working, run Cursor, go to Settings and click on "Tools & Integrations". Under MCP Tools you should see "jiraMcp" with 20 tools enabled if JIRA_ENABLE_WRITE=false (the default value) or 30 tools enabled if JIRA_ENABLE_WRITE=true.

Using with an HTTP-based MCP application

If you want to use this MCP server with an application that communicates via HTTP, then you need to run the server with an HTTP-based transport mechanism. Here is an example of how to do this using Streamable HTTP, which is the current recommended http-based transport mechanism for MCP:

export $(grep -v '^#' ~/.rh-jira-mcp.env | xargs) && python server.py --transport http --port 3075

Here is an example of how to do this using SSE, which is a deprecated http-based transport mechanism (e.g., because you have an older MCP client application that depends on SSE):

export $(grep -v '^#' ~/.rh-jira-mcp.env | xargs) && python server.py --transport sse --port 3075

For either Streamable HTTP or SSE, the JIRA_API_KEY in your environment is ignored (and not neeed). This is an important security feature, because otherwise anyone who had access to the HTTP service would have access to the account information for whoever configured and ran that server. Instead, calling applications must send in their own Jira token as a Bearer token. Here is an example of how to do that using Llama Stack:

python
from llama_stack_client import LlamaStackClient

client = LlamaStackClient(base_url=LLAMA_STACK_URL)
mcp_llama_stack_client_response = client.responses.create(
    model=LLAMA_STACK_MODEL_ID,
    input="Tell me about RHAISTRAT-24.",
    tools=[
        {
            "type": "mcp",
            "server_url": JIRA_MCP_URL,
            "server_label": "Jira_tools",            
            "headers": {
                "Authorization": f"Bearer {JIRA_API_TOKEN}"
            }
        }
    ]
)

Available Tools

This MCP server provides the following tools:

Issue Search & Retrieval

  • get_jira - Get details for a specific Jira issue by key.
  • search_issues - Search issues using JQL

Issue Creation & Management

  • create_issue - Create a new Jira issue with summary, description, type, priority, and assignee
  • update_issue - Update an existing issue's summary, description, priority, or assignee
  • delete_issue - Delete a Jira issue (use with caution)

Issue Comments

  • get_issue_comments - Get all comments for a Jira issue
  • add_comment - Add a comment to a Jira issue
  • delete_comment - Delete a comment from a Jira issue

Issue Assignment

  • assign_issue - Assign a Jira issue to a user
  • unassign_issue - Unassign a Jira issue

Issue Workflow & Status

  • transition_issue - Transition a Jira issue to a new status (e.g., "In Progress", "Done")
  • get_issue_transitions - Get available transitions for a Jira issue

Issue Labels

  • add_issue_labels - Add labels to a Jira issue
  • remove_issue_labels - Remove labels from a Jira issue

Project Management

  • list_projects - List all projects
  • get_project - Get project details by key
  • get_project_components - Get components for a project
  • get_project_versions - Get versions for a project
  • get_project_roles - Get roles for a project
  • get_project_permission_scheme - Get permission scheme for a project
  • get_project_issue_types - Get issue types for a project

Board & Sprint Management

  • list_boards - List all boards
  • list_sprints - List sprints for a board
  • get_sprint - Get sprint details by ID
  • get_sprints_by_name - Get sprints by name for a board, optionally filtered by state

User Management

  • search_users - Search users by query
  • get_user - Get user details by account ID
  • get_current_user - Get current user info
  • get_assignable_users_for_project - Get assignable users for a project
  • get_assignable_users_for_issue - Get assignable users for an issue

Development Commands

  • make build - Build the image
  • make run - Run the container
  • make clean - Clean up the built image
  • make cursor-config - Modify ~/.cursor/mcp.json to install this MCP Server
  • make setup - Builds the image, configures Cursor, and creates ~/.rh-jira-mcp.env if it doesn't exist

Troubleshooting

Server Not Starting

  • Confirm that make run works
  • Check that the JIRA_API_TOKEN is correct
  • Verify the image was built successfully with podman images jira-mcp
  • Go to the "Output" tab in Cursor's bottom pane, choose "MCP Logs" from the drop-down select and examine the logs there
  • (MacOS) jiraMcp shows up in Cursor tools section but shows no active tools:
    • Edit args section of jiraMcp of your mcp.json file to include your full path to the .rh-jira-mcp.env file.
    • Example: "~/.rh-jira-mcp.env", to "/Users/your_username/.rh-jira-mcp.env",

Connection Issues

  • Restart Cursor after configuration changes
  • Check Cursor's developer console for error messages
  • Verify the Jira URL is accessible from your network

License

This project is licensed under the MIT License. See the LICENSE file for details.

Usa el MCP de Jira con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Jira, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Jira como servidor

Cuando el estado del conector sea «Listo», haz clic en «Editar servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en «Editar servidores».
  3. Pega la configuración del servidor MCP de Jira.
  4. Guarda la lista de servidores.
  5. Actualiza si quieres comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Editar servidores»
{
  "mcpServers": {
    "redhat-community-ai-tools-jira-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la conexión con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Jira y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Jira.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Jira para ayudarme con esta tarea?
Jira
Claro. Lo he leído.
Esto es lo que he encontrado con Jira.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Jira?

Jira es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas externas y acceder a información de contexto de fuentes externas. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Jira con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Jira con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el servidor MCP Jira con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves API y herramientas MCP en un solo espacio de trabajo. Con Jira conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu trabajo con los chats en TypingMind.

¿Cómo conecto el servidor MCP Jira a TypingMind?

Jira funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Jira en TypingMind?

Jira ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves API con TypingMind para usar el servidor MCP Jira?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves API, prompts y configuración MCP. Si Jira requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇