KJ

kornbed/jira-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 9 forks 质量 64 趋势 14GPL-2.0

A TypeScript-based MCP server for Jira integration with Cursor

概览

A TypeScript-based MCP server that integrates with Jira, allowing Cursor to interact with Jira tickets. - List Jira tickets - Get ticket details - Get ticket comments - Create new tickets - Add comments to tickets - Update ticket status - Full MCP protocol support for Cursor integration To install Jira MCP Server for Cursor for Claude Desktop automatically via Smithery: 2. Create a .env file based on .env.example and fill in your Jira credentials: 1. Log in to https://id.atlassian.com/manage/api-tokens 2. Click "Create API token" 3. Copy the token and paste it in your .env file To use this MCP server with Cursor, you have two options: 2. Open Cursor's settings: - Click on the Cursor menu - Select "Settings" (or use the keyboard shortcut) - Navigate to the "Extensions" or "Integrations" section Replace /path/to/jira-mcp-cursor with the absolute path to your project.

README

以下为原文 README 节选,完整内容请查看原文。

Jira MCP Server for Cursor

A TypeScript-based MCP server that integrates with Jira, allowing Cursor to interact with Jira tickets.

Features

  • List Jira tickets
  • Get ticket details
  • Get ticket comments
  • Create new tickets
  • Add comments to tickets
  • Update ticket status
  • Full MCP protocol support for Cursor integration

Setup

Installing via Smithery

To install Jira MCP Server for Cursor for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @kornbed/jira-mcp-server --client claude
  1. Install dependencies:
npm install
  1. Create a .env file based on .env.example and fill in your Jira credentials:
JIRA_HOST=https://your-domain.atlassian.net
[email protected]
JIRA_API_TOKEN=your-api-token
PORT=3000

To get your Jira API token:

  1. Log in to
  2. Click “Create API token”
  3. Copy the token and paste it in your .env file

Development

Run the development server:

npm run dev

Build and Run

Build the project:

npm run build

Start the server:

npm start

Cursor Integration

To use this MCP server with Cursor, you have two options:

  1. Build the project:
npm run build
  1. Open Cursor’s settings:

    • Click on the Cursor menu
    • Select “Settings” (or use the keyboard shortcut)
    • Navigate to the “Extensions” or “Integrations” section
  2. Add the MCP configuration:

{
  "mcpServers": {
    "jira": {
      "command": "node",
      "args": ["/path/to/jira-mcp-cursor/dist/server.js"]
    }
  }
}

Replace /path/to/jira-mcp-cursor with the absolute path to your project.

Option 2: HTTP-based Integration (Alternative)

  1. Start the MCP server (if not already running):
npm start
  1. Open Cursor’s settings:

    • Click on the Cursor menu
    • Select “Settings” (or use the keyboard shortcut)
    • Navigate to the “Extensions” or “Integrations” section
  2. Add the MCP configuration:

{
  "mcpServers": {
    "jira": {
      "url": "http://localhost:3000",
      "capabilities": [
        "list_tickets",
        "get_ticket",
        "get_comments",
        "create_ticket",
        "update_status",
        "add_comment"
      ]
    }
  }
}
}

Using Jira in Cursor

After configuring the MCP server, you can use Jira commands directly in Cursor:

  • /jira list - List your tickets
  • /jira view TICKET-123 - View ticket details
在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @kornbed/jira-mcp-server --client claude
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "jira": { "command": "node", "args": ["/path/to/jira-mcp-cursor/dist/server.js"] } } }