Jira MCP Server
Provides comprehensive integration with Jira Cloud, enabling AI agents to manage boards, issues, users, projects, time tracking, and comments with advanced features like optimized issue retrieval and AI-powered workflows.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Jira MCP Servershow my open issues grouped by status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jira MCP Server
A comprehensive, production-ready Model Context Protocol (MCP) server for seamless Jira Cloud integration. This enhanced version provides advanced features, robust error handling, and extensive tooling for AI agents, automation systems, and custom applications.
Note: This is a fork of @orengrinker/jira-mcp-server with custom modifications. Original work by Oren Grinker.
π Features
Core Functionality
Board Management: List, filter, and manage Jira boards with detailed information
Issue Operations: Create, update, search, transition, and manage issues comprehensively
User Management: Search users, get user details, and manage assignments
Project Administration: View projects, get detailed project information
Time Tracking: Add and view work logs with flexible time formats
Comment System: Add comments with rich text support (ADF format)
Server Information: Monitor server status and health
Enhanced Features
β‘οΈ Performance Optimization: Optimized issue retrieval with single-request grouped results (5-6x faster)
Rate Limiting: Intelligent API request throttling to respect Jira limits
Comprehensive Logging: Configurable logging with multiple levels
Error Handling: Robust error handling with detailed error messages
Input Validation: Thorough validation of environment variables and inputs
Modular Architecture: Clean, maintainable codebase with service-based architecture
TypeScript Support: Full TypeScript implementation with comprehensive type definitions
Rich Formatting: Beautiful markdown tables and formatted responses with direct Jira links
Advanced Search: Support for complex JQL queries with helpful examples
AI-Powered Workflows: Automatic workflow handling and AI-generated resolutions for issue completion
Issue Tracking: Smart issue tracking for context-aware operations
Related MCP server: Jira MCP Server
π οΈ Requirements
Node.js: 18.0.0 or higher
Jira Cloud: Access to a Jira Cloud instance
API Token: Jira API Token (create here)
βοΈ Environment Variables
Create a .env file or set these environment variables:
JIRA_BASE_URL=https://your-company.atlassian.net
JIRA_EMAIL=your-email@company.com
JIRA_API_TOKEN=your-jira-api-token
LOG_LEVEL=INFO # Optional: ERROR, WARN, INFO, DEBUGπ Quick Start
Option 1: Using npx (Recommended)
# Run directly without installation
npx @orengrinker/jira-mcp-server
# With environment variables
JIRA_BASE_URL=https://company.atlassian.net \
JIRA_EMAIL=user@company.com \
JIRA_API_TOKEN=your-token \
npx @orengrinker/jira-mcp-serverOption 2: Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"jira": {
"command": "npx",
"args": ["@orengrinker/jira-mcp-server"],
"env": {
"JIRA_BASE_URL": "https://your-company.atlassian.net",
"JIRA_EMAIL": "your-email@company.com",
"JIRA_API_TOKEN": "your-jira-api-token",
"LOG_LEVEL": "INFO"
}
}
}
}Option 3: Global Installation
npm install -g @orengrinker/jira-mcp-server
jira-mcp-serverOption 4: Local Development
git clone https://github.com/OrenGrinker/jira-mcp-server.git
cd jira-mcp-server
npm install
npm run build
node dist/index.jsπ§° Available Tools
Board Tools
get_boards- List all boards with optional filtering by type and projectget_board_details- Get comprehensive board informationget_board_issues- Get board issues with advanced filtering options
Issue Tools
get_my_issues_groupedβ‘οΈ NEW & OPTIMIZED - Get your open issues grouped by status in a single request (5-6x faster than alternatives)search_issues- Search issues using JQL with flexible parametersget_issue_details- Get comprehensive issue informationcreate_issue- Create new issues with full field supportupdate_issue- Update existing issuestransition_issue- Move issues between statusesadd_comment- Add comments with rich text supportcomplete_issue- Close/complete issues with AI-generated resolution and workflow handling
User Tools
get_current_user- Get authenticated user informationsearch_users- Find users by name, email, or usernameget_user_details- Get detailed user information
Project Tools
get_projects- List all accessible projectsget_project_details- Get comprehensive project information
Time Tracking Tools
add_worklog- Log work time with flexible formatsget_worklogs- View work logs for issues
System Tools
get_server_info- Get server status and information
π‘ Usage Examples
Natural Language Commands with Claude or Cursor
Once configured with Claude Desktop or Cursor, you can use natural language commands:
"Show me all my open issues in high priority"
"Create a new bug in PROJECT-X about login issues"
"Move ticket ABC-123 to In Progress"
"Log 2 hours of work on ABC-456 for code review"
"Add a comment to ABC-789 saying the fix is deployed"
"Show me all Scrum boards for the mobile project"
"Get details for issue ABC-100 including comments and worklogs"
"List all projects I have access to"
"Close issue ABC-123" or "Complete ABC-123"β‘οΈ Optimized Issue Viewing (Recommended)
For the best performance when viewing your tasks, use the optimized grouped view:
# In Claude or Cursor
"/jira" # Shows all your open issues grouped by status
# This uses get_my_issues_grouped which:
# - Makes only 1 API request (vs 6+ with traditional methods)
# - Groups issues by status automatically
# - Provides direct links to Jira
# - Shows quick action menu
# - 5-6x faster response timeFor detailed setup instructions in Cursor, see:
Quick Start:
CURSOR_QUICK_START.mdFull Prompt:
CURSOR_JIRA_PROMPT.md
Using with MCP Inspector
# List all boards
npx @modelcontextprotocol/inspector \
npx @orengrinker/jira-mcp-server \
get_boards
# Search for your issues
npx @modelcontextprotocol/inspector \
npx @orengrinker/jira-mcp-server \
search_issues \
'{"jql": "assignee=currentUser() AND status!=Done"}'
# Create a new issue
npx @modelcontextprotocol/inspector \
npx @orengrinker/jira-mcp-server \
create_issue \
'{"projectKey": "PROJ", "issueType": "Task", "summary": "New task from MCP"}'JQL Query Examples
# Your open issues
assignee = currentUser() AND status != Done
# Recent issues in a project
project = "MYPROJ" AND created >= -7d
# High priority bugs
priority = High AND issuetype = Bug
# Issues due this week
duedate >= startOfWeek() AND duedate <= endOfWeek()
# Unassigned issues in current sprint
assignee is EMPTY AND sprint in openSprints()
# Issues updated in the last 24 hours
updated >= -1d
# Epic issues with their child stories
"Epic Link" = PROJ-123 OR parent = PROJ-123π§ Configuration
Getting Your Jira API Token
Click "Create API token"
Give it a descriptive name (e.g., "MCP Server")
Copy the generated token
Use it in your environment variables
Permissions Required
Your Jira user should have:
Browse projects permission
Create issues permission (for issue creation)
Edit issues permission (for updates and transitions)
Work on issues permission (for worklogs)
Add comments permission
ποΈ Development
Setup
git clone https://github.com/OrenGrinker/jira-mcp-server.git
cd jira-mcp-server
npm installDevelopment Scripts
npm run dev # Start development server with hot reload
npm run build # Build for production
npm run clean # Clean build directory
npm run start # Start production server
npm run test # Run tests (when available)Project Structure
src/
βββ index.ts # Main server entry point
βββ jiraApiClient.ts # Enhanced API client
βββ toolRegistry.ts # Tool registration and routing
βββ types/
β βββ index.ts # TypeScript type definitions
βββ services/
β βββ index.ts # Service exports
β βββ boardService.ts # Board operations
β βββ issueService.ts # Issue operations
β βββ userService.ts # User operations
β βββ projectService.ts # Project operations
β βββ worklogService.ts # Worklog operations
β βββ serverService.ts # Server operations
βββ utils/
βββ logger.ts # Logging utility
βββ rateLimiter.ts # Rate limiting
βββ validation.ts # Input validation
βββ formatters.ts # Response formattingπ Troubleshooting
Common Issues
Authentication Failed
Verify your API token and email are correct
Check that your Jira base URL is correct (should end with .atlassian.net for cloud)
Ensure your API token hasn't expired
Permission Denied
Verify your Jira user has the required permissions
Check project-level permissions for specific operations
Network Errors
Verify your Jira base URL is accessible
Check firewall and proxy settings
Ensure you're using HTTPS
Rate Limiting
The server includes built-in rate limiting
If you hit Jira's rate limits, wait and retry
Consider reducing concurrent requests
Debug Mode
DEBUG logging is enabled by default to help diagnose issues. The logs show:
All Jira API requests (URL, method, parameters)
Response status and summary (total items, counts)
MCP tool execution (arguments, result preview)
Error traces and detailed messages
To change log level, set environment variable:
export LOG_LEVEL=DEBUG # DEBUG, INFO, WARN, ERROR (default: DEBUG)MCP Server Logs
When running the MCP server through Cursor, you can find the logs here:
macOS:
# View live MCP logs with DEBUG output
tail -f ~/Library/Application\ Support/Cursor/logs/*/window*/exthost/anysphere.cursor-mcp/MCP\ user-jira.log
# Or list all log directories
ls -lt ~/Library/Application\ Support/Cursor/logs/Windows:
%APPDATA%\Cursor\logs\Linux:
~/.config/Cursor/logs/Example DEBUG output:
[DEBUG] [JiraApiClient] Making GET request to: https://job.sbertroika.ru/rest/api/2/search?jql=...
[DEBUG] [JiraApiClient] Response status: 200 OK
[DEBUG] [JiraApiClient] Response summary: { total: 176, issuesCount: 176 }
[DEBUG] [JiraMCPServer] MCP result sent to Cursor: { type: 'text', textLength: 15521 }The logs include:
Connection status and authentication details
API requests with full URLs and parameters
API responses with status codes and data summaries
MCP protocol messages and tool execution flow
Error traces with detailed context
π§ͺ Testing
Using Make Commands
The project includes a comprehensive Makefile for easy testing:
# Show all available commands
make help
# Run all tests
make test-all
# Test specific functionality
make test-grouped # Test get_my_issues_grouped (preview)
make test-grouped-full # Test get_my_issues_grouped (full output)
make test-priorities # Check Jira priorities
make test-current-user # Get current user info
make test-my-issues # Test search_issues
# Test specific issue
make test-issue-detail ISSUE_KEY=RIVER-123
# Test user search
make test-search-users QUERY=ΠΠ³Π°ΡΠΎΠ½ΠΎΠ²
# View logs
make logs # Real-time log viewing
make logs-errors # Show only errors
# Development
make build # Build project
make lint # Run linter
make format # Format code
make typecheck # Type checkingManual Testing
# Test the server connection
JIRA_BASE_URL=https://your-company.atlassian.net \
JIRA_EMAIL=your@email.com \
JIRA_API_TOKEN=your-token \
node dist/index.jsπ€ Contributing
We welcome contributions! Please follow these guidelines:
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureMake your changes following our coding standards
Add tests for new functionality
Run the build:
npm run buildCommit changes:
git commit -m 'Add amazing feature'Push to branch:
git push origin feature/amazing-featureOpen a Pull Request
Coding Standards
Follow TypeScript best practices
Use meaningful variable and function names
Add JSDoc comments for public APIs
Follow conventional commit messages
Ensure all builds pass
π Performance
β‘οΈ Optimized Issue Retrieval: New
get_my_issues_groupedfunction reduces API calls from 6 to 1 (5-6x faster)Rate Limiting: Built-in rate limiting respects Jira API limits
Connection Pooling: Efficient HTTP connection management
Error Recovery: Automatic retry logic for transient failures
Memory Efficient: Streaming responses for large datasets
Performance Comparison
Operation | Traditional Method | Optimized Method | Improvement |
View my tasks | 6 requests (~3-5s) | 1 request (~0.5-1s) | 5-6x faster β‘οΈ |
View task details | 1 request | 1 request | Same |
Complete task | 1-3 requests | 1-3 requests (auto-workflow) | Same + AI resolution |
π Security
No Credential Storage: Uses environment variables only
Input Validation: All inputs are validated and sanitized
Secure Defaults: Follows security best practices
Audit Trail: Comprehensive logging for debugging
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Links
GitHub Repository: https://github.com/OrenGrinker/jira-mcp-server
NPM Package: @orengrinker/jira-mcp-server
Jira Cloud REST API: Documentation
Model Context Protocol: Specification
Create API Tokens: Atlassian Guide
π Support
Issues: GitHub Issues
Documentation: Check this README and inline code documentation
Feature Requests: Open an issue with the "enhancement" label
π Acknowledgments
Built with the Model Context Protocol SDK
Inspired by the MCP community and best practices
Thanks to all contributors and users providing feedback
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/exmuzzy/exmuzzy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server