Sponsored by Deepsite.site

JIRA MCP Server

Created By
boukeversteegh8 months ago
Content

JIRA MCP Server

This is a Model Context Protocol (MCP) server that provides tools for interacting with JIRA. It allows you to fetch tickets from active sprints and get detailed ticket information through the MCP interface.

Features

The server provides the following tools:

  1. list-sprint-tickets: Gets all tickets in the active sprint for a given project

    • Required parameter: projectKey (string)
  2. get-ticket-details: Gets detailed information about a specific ticket

    • Required parameter: issueKey (string)
  3. add-comment: Adds a comment to a specific ticket

    • Required parameter: issueKey (string)
    • Required parameter: comment (string)
  4. link-tickets: Links two tickets with a 'relates to' relationship

    • Required parameter: sourceIssueKey (string)
    • Required parameter: targetIssueKey (string)
  5. update-description: Updates the description of a specific ticket

    • Required parameter: issueKey (string)
    • Required parameter: description (string)
  6. list-child-issues: Gets all child issues of a parent ticket

    • Required parameter: parentKey (string)
  7. create-sub-ticket: Creates a sub-ticket (child issue) for a parent ticket

    • Required parameter: parentKey (string)
    • Required parameter: summary (string)
    • Optional parameter: description (string)
    • Optional parameter: issueType (string) - The name of the sub-task issue type (e.g., 'Sub-task')

Setup

  1. Install dependencies:

    npm install
    
  2. Build the TypeScript code:

This step is only needed for Cline on Windows, which currently has an issue executing npx

npm run build
  1. Configure the MCP settings in your Claude app settings file (usually located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json on Windows):

Settings for Claude:

{
  "mcpServers": {
    "jira": {
      "command": "npx",
      "args": ["path/to/this/repo/jira.ts"],
      "env": {
        "JIRA_HOST": "https://your-domain.atlassian.net",
        "JIRA_EMAIL": "your-email@example.com",
        "JIRA_API_TOKEN": "your-api-token"
      }
    }
  }
}

Settings for Cline:

{
  "mcpServers": {
    "jira": {
      "command": "node",
      "args": ["path/to/this/repo/dist/jira.js"],
      "env": {
        "JIRA_HOST": "https://your-domain.atlassian.net",
        "JIRA_EMAIL": "your-email@example.com",
        "JIRA_API_TOKEN": "your-api-token"
      }
    }
  }
}

Configuration

You'll need to set up the following environment variables in your MCP settings:

  1. JIRA_HOST: Your Atlassian domain URL (e.g., https://your-company.atlassian.net)
  2. JIRA_EMAIL: Your JIRA account email
  3. JIRA_API_TOKEN: Your JIRA API token

Usage

Once configured, you can use the tools through the MCP interface in Claude:

List Sprint Tickets

To get all tickets in the active sprint for a project:

<use_mcp_tool>
<server_name>jira</server_name>
<tool_name>list-sprint-tickets</tool_name>
<arguments>
{
  "projectKey": "YOUR_PROJECT_KEY"
}
</arguments>
</use_mcp_tool>

Get Ticket Details

To get detailed information about a specific ticket:

<use_mcp_tool>
<server_name>jira</server_name>
<tool_name>get-ticket-details</tool_name>
<arguments>
{
  "issueKey": "PROJECT-123"
}
</arguments>
</use_mcp_tool>

Development

The server is written in TypeScript and uses:

  • @modelcontextprotocol/sdk for MCP server implementation
  • jira.js for JIRA API integration

To modify the server:

  1. Make changes to jira.ts
  2. Run npm run build to compile to JavaScript
  3. Restart Claude to pick up the changes

Error Handling

The server includes error handling for:

  • Invalid JIRA credentials
  • Missing active sprints
  • Invalid project keys or issue keys
  • Network errors

Error messages will be returned in the tool response.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor
Tavily Mcp
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.