Jira MCP Tool for Cursor

Jira MCP Tool for Cursor

By navneet-ag GitHub

-

Overview

What is the Jira MCP Tool for Cursor?

The Jira MCP Tool for Cursor is a Model Context Protocol (MCP) tool that enables Cursor AI to read Jira issue descriptions and comments directly within your coding environment.

How to use the Jira MCP Tool?

To use the Jira MCP Tool, you need to set it up in Cursor by creating a .env file with your Jira credentials, installing dependencies, and registering the tool in Cursor settings. Once configured, you can interact with Cursor AI using natural language to retrieve Jira information.

Key features of the Jira MCP Tool?

  • Direct integration with Jira for issue tracking
  • Natural language queries to retrieve issue descriptions and comments
  • Easy setup and configuration within the Cursor environment

Use cases of the Jira MCP Tool?

  1. Quickly accessing Jira issue details without leaving the coding environment.
  2. Retrieving comments and feedback from team members on specific issues.
  3. Enhancing productivity by allowing developers to ask questions about Jira issues in natural language.

FAQ from the Jira MCP Tool?

  • How do I set up the tool?

Create a .env file, install dependencies, and register the tool in Cursor settings.

  • What commands can I use with Cursor AI?

You can ask for issue descriptions and comments using natural language queries.

  • What should I do if the tool isn't working?

Verify your credentials in the .env file and ensure the tool is correctly registered in Cursor.

Content

Jira MCP Tool for Cursor

A Model Context Protocol (MCP) tool that allows Cursor AI to read Jira issue descriptions and comments directly within your coding environment.

Setup in Cursor

  1. Create .env file

    • Create a new file named .env in the root folder of this repo.
    • Copy the contents from .env.example into the .env
    • Enter your jira username and password for using the basic authentication flow
    • Try with jira.dev.corp.company.com first as the jira URL, if that doesn't work then use jira.corp.comapny.com.
  2. Install the dependencies and build the package:

    npm install
    npm run build
    
  3. Configure your Jira credentials in the .env file: Make a copy of .env.example as .env and add all your credentials in that file

  4. Register the tool in Cursor:

    • Open Cursor
    • Go to Settings > MCP Tools
    • Click "Add Tool"
    • Enter the command: node /<clone_repo_parennt>/cursor-jira-mcp/build/index.js
    • Click "Add"

Using with Cursor AI

Once configured, you can ask Cursor AI to retrieve Jira information using natural language:

  • "Show me the description for PROJ-123"
  • "What are the comments on JIRA-456?"
  • "Get details about the bug in TEAM-789"

Available Commands

Cursor AI can use these commands through the MCP tool:

  1. Read Issue Description: Retrieves the full description of a Jira issue
  2. Read Issue Comments: Retrieves all comments on a Jira issue

Example Interactions

Asking about a Jira issue:

You: Can you tell me about PROJ-123?
Cursor AI: Let me check that Jira issue for you...
[Cursor AI retrieves and displays the issue description]

Asking about comments:

You: What feedback did the team leave on TEAM-456?
Cursor AI: Let me get the comments from that Jira issue...
[Cursor AI retrieves and displays the issue comments]

Troubleshooting

If the tool isn't working properly in Cursor:

  1. Verify your credentials are correctly set in your .env folder
  2. Try running npm run start to check if JIRA authentication is successful.
No tools information available.
No content found.