Jira MCP Server

Jira MCP Server

Enables managing Jira tickets via Cursor AI, allowing users to create, search, update, and comment on issues directly from the AI assistant.

Category
访问服务器

README

Jira MCP Server

A Model Context Protocol (MCP) server that integrates Jira with Cursor AI, allowing you to create and manage Jira tickets directly from your AI assistant.

Features

  • ✅ Create Jira issues (Stories, Bugs, Tasks, Epics, Subtasks)
  • ✅ Search issues using JQL (Jira Query Language)
  • ✅ Get issue details
  • ✅ Update existing issues
  • ✅ Add comments to issues
  • ✅ Get project information

Prerequisites

Setup

1. Install Dependencies

npm install

2. Configure Environment Variables

Copy the example environment file and fill in your Jira credentials:

cp .env.example .env

Edit .env with your Jira details:

JIRA_BASE_URL=https://your-domain.atlassian.net
JIRA_EMAIL=your-email@example.com
JIRA_API_TOKEN=your-api-token-here
JIRA_PROJECT_KEY=PROJ

How to get your API token:

  1. Go to https://id.atlassian.com/manage-profile/security/api-tokens
  2. Click "Create API token"
  3. Give it a name (e.g., "Cursor MCP")
  4. Copy the token and paste it in your .env file

3. Build the Project

npm run build

4. Configure Cursor

Add this configuration to your Cursor settings. On macOS, edit:

~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Or through Cursor settings UI (Cursor Settings > MCP Servers), add:

{
  "mcpServers": {
    "jira": {
      "command": "node",
      "args": [
        "/Users/rishabh.kumar/jfl/jira-mcp/build/index.js"
      ],
      "env": {
        "JIRA_BASE_URL": "https://your-domain.atlassian.net",
        "JIRA_EMAIL": "your-email@example.com",
        "JIRA_API_TOKEN": "your-api-token-here",
        "JIRA_PROJECT_KEY": "PROJ"
      }
    }
  }
}

5. Restart Cursor

After adding the configuration, restart Cursor completely for the changes to take effect.

Usage Examples

Once configured, you can interact with Jira directly through Cursor's AI assistant:

Create a Ticket

Create a Jira ticket:
- Type: Bug
- Summary: Login page not responsive on mobile
- Description: The login page UI breaks on mobile devices below 768px width
- Priority: High
- Labels: frontend, mobile, ui

Search for Issues

Search for all open bugs in the current sprint
Find all issues assigned to me that are in progress

Get Issue Details

Get details of ticket PROJ-123

Update an Issue

Update PROJ-123:
- Change priority to High
- Update description to include reproduction steps
- Move to In Progress

Add Comments

Add a comment to PROJ-123: "Fixed in commit abc123, ready for review"

Available Tools

create_jira_issue

Create a new Jira issue with customizable fields.

Parameters:

  • project_key (optional): Project key (uses default if not provided)
  • issue_type (required): Story, Bug, Task, Epic, or Subtask
  • summary (required): Brief title
  • description (optional): Detailed description
  • priority (optional): Highest, High, Medium, Low, Lowest
  • labels (optional): Array of labels
  • assignee (optional): Account ID of assignee

search_jira_issues

Search for issues using JQL.

Parameters:

  • jql (required): JQL query string
  • max_results (optional): Maximum results to return (default: 50)

Example JQL queries:

  • project = PROJ AND status = "In Progress"
  • assignee = currentUser() AND status != Done
  • created >= -7d ORDER BY priority DESC

get_jira_issue

Get detailed information about a specific issue.

Parameters:

  • issue_key (required): The issue key (e.g., PROJ-123)

update_jira_issue

Update an existing issue.

Parameters:

  • issue_key (required): The issue key
  • summary (optional): New summary
  • description (optional): New description
  • status (optional): New status
  • priority (optional): New priority
  • assignee (optional): New assignee account ID

add_comment_to_issue

Add a comment to an issue.

Parameters:

  • issue_key (required): The issue key
  • comment (required): Comment text

get_project_info

Get information about a project.

Parameters:

  • project_key (required): The project key

Troubleshooting

Server not appearing in Cursor

  1. Check that the path in the configuration is correct
  2. Verify environment variables are set correctly
  3. Run npm run build to ensure the code is compiled
  4. Check Cursor's MCP logs for errors
  5. Restart Cursor completely

Authentication Errors

  1. Verify your API token is valid
  2. Check that your email matches your Jira account
  3. Ensure your Jira base URL is correct (no trailing slash)
  4. Make sure you have permission to create issues in the project

"Project key is required" Error

Either set JIRA_PROJECT_KEY in your environment variables or provide project_key when creating issues.

Development

Watch Mode

For development with auto-rebuild:

npm run watch

Testing

You can test the server directly:

npm run dev

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选