Jira MCP Server
Enables AI assistants to interact with Jira Cloud instances for comprehensive issue management including creating, updating, searching issues, managing comments, workflow transitions, and project metadata discovery. Supports JQL queries, user search, and custom field operations with secure API token authentication.
README
Jira MCP Server
A Model Context Protocol (MCP) server for Jira API integration. This server enables AI assistants like Claude to interact with Jira Cloud instances for issue management, search, comments, and workflow transitions.
Features
- Issue Management: Get, create, update, and assign Jira issues with custom field support
- JQL Search: Search issues using Jira Query Language
- Comments: Add and retrieve comments on issues (supports mentions and links)
- Workflow: Get available transitions and change issue status
- Metadata Discovery: Get field requirements and allowed values for projects
- User Search: Find users by email or name for assignments
- Projects: List all accessible projects
- API Token Authentication: Secure authentication using email + API token
Installation
Using npm (Recommended)
npm install -g @nexus2520/jira-mcp-server
From Source
-
Clone the repository:
git clone https://github.com/pdogra1299/jira-mcp-server.git cd jira-mcp-server -
Install dependencies:
pnpm install -
Build the project:
pnpm run build
Prerequisites
- Node.js >= 16.0.0
- A Jira Cloud account with API access
- Jira API token (generate from Atlassian Account Settings)
Configuration
Environment Variables
The server requires the following environment variables:
JIRA_EMAIL: Your Atlassian account emailJIRA_API_TOKEN: Your Jira API tokenJIRA_BASE_URL: Your Jira instance URL (e.g.,https://yourcompany.atlassian.net)
Claude Desktop Configuration
Add the following to your Claude Desktop MCP settings file:
Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Configuration (if installed via npm):
{
"mcpServers": {
"jira": {
"command": "npx",
"args": [
"-y",
"@nexus2520/jira-mcp-server"
],
"env": {
"JIRA_EMAIL": "your-email@company.com",
"JIRA_API_TOKEN": "your-api-token-here",
"JIRA_BASE_URL": "https://yourcompany.atlassian.net"
}
}
}
}
Configuration (if built from source):
{
"mcpServers": {
"jira": {
"name": "jira",
"command": "node",
"args": [
"/absolute/path/to/jira-mcp-server/build/index.js"
],
"transport": "stdio",
"env": {
"JIRA_EMAIL": "your-email@company.com",
"JIRA_API_TOKEN": "your-api-token-here",
"JIRA_BASE_URL": "https://yourcompany.atlassian.net"
}
}
}
}
Getting Your Jira API Token
- Go to Atlassian Account Settings
- Click "Create API token"
- Give it a label (e.g., "Claude MCP")
- Copy the generated token
- Use it in your configuration
Available Tools
Issue Management
get_issue
Get detailed information about a Jira issue.
Parameters:
issueKey(required): The issue key (e.g., "PROJ-123")
Example:
Get details for issue PROJ-123
create_issue
Create a new Jira issue.
Important: Always use get_create_metadata first to discover required fields, custom fields, and allowed values.
Parameters:
projectKey(required): Project key (e.g., "PROJ", "DEV")summary(required): Issue titleissueType(required): Type (e.g., "Bug", "Task", "Story")description(optional): Issue descriptionpriority(optional): Priority nameassignee(optional): Assignee account ID or emaillabels(optional): Array of labelscustomFields(optional): Custom fields object
Example:
Create a bug in project PROJ with summary "Login button not working" and description "Users cannot log in"
update_issue
Update fields of an existing issue.
Tip: Use get_create_metadata to discover available custom fields and their allowed values.
Parameters:
issueKey(required): Issue to updatesummary(optional): New summarydescription(optional): New descriptionpriority(optional): New priorityassignee(optional): New assigneelabels(optional): New labels arraycustomFields(optional): Custom fields object
assign_issue
Assign an issue to a user.
Parameters:
issueKey(required): Issue to assignassignee(required): User account ID, email, or "-1" to unassign
Metadata & Discovery
get_create_metadata
Get field requirements and metadata for creating issues in a project.
Parameters:
projectKey(required): Project keyissueType(optional): Filter by specific issue type
search_users
Search for users by name or email to get their account ID.
Parameters:
query(required): Search query (email or name)maxResults(optional): Max results (default: 50)
Search
search_issues
Search for issues using JQL. Returns issue keys and titles.
Parameters:
jql(required): JQL query stringmaxResults(optional): Max results (default: 50)
Example JQL queries:
"project = PROJ AND status = Open""assignee = currentUser() AND status != Done""priority = High AND created >= -7d"
list_projects
List all accessible projects.
Parameters:
maxResults(optional): Max results (default: 50)
Comments
add_comment
Add a comment to an issue.
Parameters:
issueKey(required): Issue to comment oncomment(required): Comment text
get_comments
Get all comments for an issue.
Parameters:
issueKey(required): Issue key
Workflow Transitions
get_transitions
Get available status transitions for an issue.
Parameters:
issueKey(required): Issue key
transition_issue
Change the status of an issue.
Parameters:
issueKey(required): Issue to transitiontransitionId(required): Transition ID (from get_transitions)comment(optional): Comment to add with transition
API Reference
This server uses the Jira REST API v3.
Troubleshooting
"Error: JIRA_EMAIL and JIRA_API_TOKEN are required"
Make sure you've set the environment variables in your MCP configuration.
Authentication errors
- Verify your API token is correct
- Ensure your email matches your Atlassian account
- Check that your JIRA_BASE_URL doesn't have a trailing slash
Permission errors
The API token uses the permissions of the user who created it. Make sure your account has the necessary permissions for the actions you're trying to perform.
License
MIT
Author
Parth Dogra
Contributing
Feel free to open issues or submit pull requests for improvements!
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。