JIRA集成服务器

一个用于与自托管JIRA集成的MCP服务器,使AI助手能够通过标准化接口与JIRA问题和项目进行交互。

  • by rixbeck
  • JavaScript
  • 本地部署
  • 2 星标
  • 更新于
在 GitHub 查看 rixbeck/jira-mcp

使用说明

JIRA MCP Server

A Model Context Protocol (MCP) server that addresses integration with self-hosted JIRA, enabling AI assistants to interact with JIRA issues and projects through a standardized interface.

Features

  • Get list of JIRA projects
  • Query JIRA tasks using JQL
  • Get task details
  • Create a new task
  • Add a comment to a task
  • Update task fields (summary, description, assignee, priority, labels, due date, custom fields), optionally together with the status
  • Update task status (by status or transition name, or by id)
  • Update task assignee
  • Get available task statuses
  • Get task attachments

Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Configure environment variables by copying .env.example to .env:
cp .env.example .env
  1. Update the .env file with your JIRA credentials:
JIRA_HOST=your.jira.host
JIRA_USERNAME=yourname
JIRA_PASSWORD=yourpassword
# Or use access token authentication:
# JIRA_ACCESS_TOKEN=yourtoken

Usage

Start the MCP server:

npm start

The server will start and register itself with any MCP-compatible AI assistants.

Dependencies

  • @modelcontextprotocol/sdk
  • jira-client
  • dotenv
  • zod

Author

License

This project is licensed under the MIT License.

Copyright (c) 2025 Rix Beck

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.