Jira MCP Server

Jira MCP Server

Enables fetching and viewing Jira issue details directly through Claude Desktop using secure API token authentication. Provides comprehensive issue information including status, assignee, priority, and descriptions in both human-readable and structured formats.

Category
访问服务器

README

MCP Jira Server

A Model Context Protocol (MCP) server that integrates Jira with Claude Desktop, allowing you to fetch and view Jira issue details directly through Claude.

Features

  • 🔍 Get Jira Issue Details: Fetch comprehensive information about any Jira issue by its key
  • 🔐 Secure Authentication: Uses Jira API tokens for secure access
  • 🎯 Structured Data: Returns both human-readable and structured JSON data
  • 🚀 Claude Desktop Integration: Seamlessly works with Claude Desktop via MCP protocol

Prerequisites

  • Node.js (v18 or higher)
  • Claude Desktop application
  • Jira instance with API access
  • Jira API token

Installation

  1. Clone the repository

    git clone https://github.com/imrnbeg/jira-mcp.git
    cd jira-mcp
    
  2. Install dependencies

    npm install
    
  3. Build the project

    npm run build
    

Configuration

1. Create Environment File

Create a .env file in the project root with your Jira credentials:

# .env
JIRA_URL=https://yourcompany.atlassian.net
JIRA_EMAIL=your.email@company.com
JIRA_API_TOKEN=your_api_token_here

How to get your Jira API token:

  1. Go to Atlassian Account Settings
  2. Click "Create API token"
  3. Give it a label (e.g., "MCP Server")
  4. Copy the generated token

2. Update Server Path (Important!)

⚠️ CRITICAL: You must update the .env file path in the server code to match your system.

Edit src/server.ts and update line 8:

// Change this path to match your system
loadEnvFile('/Users/imranbeg/mcp-get-server/.env');

For different systems:

  • macOS/Linux: /full/path/to/your/jira-mcp/.env
  • Windows: C:\\full\\path\\to\\your\\jira-mcp\\.env

3. Rebuild After Path Update

After updating the path, rebuild the project:

npm run build

Claude Desktop Setup

1. Locate Claude Desktop Config

macOS:

~/Library/Application Support/Claude/claude_desktop_config.json

Windows:

%APPDATA%\Claude\claude_desktop_config.json

2. Add MCP Server Configuration

Add this configuration to your Claude Desktop config file:

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

⚠️ Update the paths to match your system:

  • Replace /full/path/to/your/jira-mcp with your actual project path
  • Use forward slashes (/) even on Windows

3. Restart Claude Desktop

After updating the configuration, completely quit and restart Claude Desktop.

Usage

Once configured, you can use these example prompts in Claude Desktop:

Basic Issue Lookup

Get details for Jira issue PROJ-123
Show me information about ticket TASK-456
What's the status of issue BUG-789?

Detailed Issue Information

Get comprehensive details for Jira issue PROJ-123 including description, assignee, and priority
Show me the full details for ticket TASK-456 with all available information

Multiple Issues

Get details for these Jira issues: PROJ-123, TASK-456, BUG-789

Issue Status Check

What's the current status and assignee for issue PROJ-123?
Check the priority and due date for ticket TASK-456

Available Tools

get_jira_issue

Fetches detailed information about a Jira issue.

Parameters:

  • issueKey (string): The Jira issue key (e.g., PROJ-123, TASK-456)

Returns:

  • Issue summary, description, status, assignee, reporter
  • Priority, issue type, creation and update dates
  • Direct link to the issue in Jira
  • Structured JSON data for programmatic access

Development

Running in Development Mode

npm run dev

Building for Production

npm run build

Type Checking

npm run typecheck

Troubleshooting

Server Not Loading Environment Variables

  1. Check the path in src/server.ts - Make sure it points to your actual .env file location
  2. Rebuild the project after changing the path:
    npm run build
    
  3. Verify .env file exists and contains valid credentials

Claude Desktop Not Connecting

  1. Check the config file paths - Ensure all paths in claude_desktop_config.json are correct
  2. Restart Claude Desktop completely
  3. Check Claude Desktop logs for connection errors

Jira API Errors

  1. Verify your API token is valid and not expired
  2. Check your Jira URL format (should include https://)
  3. Ensure your account has access to the Jira instance

Project Structure

jira-mcp/
├── src/
│   ├── server.ts          # Main MCP server implementation
│   └── load-env.ts        # Custom environment loader
├── dist/                  # Compiled JavaScript files
├── .env                   # Environment variables (create this)
├── package.json           # Dependencies and scripts
├── tsconfig.json          # TypeScript configuration
└── README.md              # This file

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

License

ISC License

Support

For issues and questions:

  1. Check the troubleshooting section above
  2. Review the MCP documentation
  3. Open an issue on GitHub

Happy Jira integration with Claude! 🚀

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选