The Jira MCP Server enables seamless integration between Jira and Claude Desktop, allowing you to manage Jira data through natural language prompts with secure API token authentication.
Core Capabilities:
Issue Management - Retrieve detailed issue information by key, including summary, description, status, assignee, priority, and comments
Project Operations - Browse projects with search and pagination, view metadata, and understand workflows with available statuses for each issue type
Advanced Search - Perform flexible JQL queries with pagination and field selection, plus quick project-specific issue listings
Agile Support - List boards by type (Scrum/Kanban), view sprints by state (active/future/closed), and manage sprint issues
Data Output - Returns both human-readable responses and structured JSON data for programmatic access
Allows fetching and viewing Jira issue details directly, including comprehensive information about issue status, assignee, priority, descriptions, and metadata
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 me the details for issue PROJ-123"
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.
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
π Browse Projects: List projects and view project details
π§ Understand Workflows: See issue types and statuses per project
π Search Issues (JQL): Flexible search with pagination and selected fields
π Project Issue Lists: Quickly list issues in a project
π¬ Issue Comments: Read comments on an issue
ποΈ Agile Views: Boards, sprints, and sprint issue listings
π 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
Clone the repository
git clone https://github.com/imrnbeg/jira-mcp.git cd jira-mcpInstall dependencies
npm installBuild 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_hereHow to get your Jira API token:
Click "Create API token"
Give it a label (e.g., "MCP Server")
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/.envWindows:
C:\\full\\path\\to\\your\\jira-mcp\\.env
3. Rebuild After Path Update
After updating the path, rebuild the project:
npm run buildClaude Desktop Setup
1. Locate Claude Desktop Config
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json2. 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-mcpwith your actual project pathUse 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-123Show me information about ticket TASK-456What's the status of issue BUG-789?Detailed Issue Information
Get comprehensive details for Jira issue PROJ-123 including description, assignee, and priorityShow me the full details for ticket TASK-456 with all available informationMultiple Issues
Get details for these Jira issues: PROJ-123, TASK-456, BUG-789Issue Status Check
What's the current status and assignee for issue PROJ-123?Check the priority and due date for ticket TASK-456Available 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
list_jira_projects
List accessible Jira projects with pagination and optional search query.
Parameters:
query(string, optional): Search by key/namestartAt(number, optional): Pagination startmaxResults(number, optional): Page size (1-100)
get_jira_project
Get full metadata for a Jira project by key or ID.
Parameters:
projectIdOrKey(string): Project key or ID
get_project_statuses
Get available statuses for each issue type in a project.
Parameters:
projectIdOrKey(string): Project key or ID
search_jira_issues
Search issues using JQL with pagination and field selection.
Parameters:
jql(string): JQL querystartAt(number, optional): Pagination startmaxResults(number, optional): Page size (1-100)fields(string, optional): Comma-separated fields
list_project_issues
List issues in a specific project with optional extra JQL.
Parameters:
projectKey(string): Project keyjqlTail(string, optional): Extra JQL (e.g., AND status="In Progress")startAt(number, optional): Pagination startmaxResults(number, optional): Page size (1-100)
get_jira_issue_comments
Retrieve comments for a Jira issue.
Parameters:
issueIdOrKey(string): Issue key or IDstartAt(number, optional): Pagination startmaxResults(number, optional): Page size (1-100)
list_boards
List Jira boards with optional filters.
Parameters:
type("scrum"|"kanban", optional): Board typeprojectKeyOrId(string, optional): Filter by projectstartAt(number, optional): Pagination startmaxResults(number, optional): Page size (1-100)
list_board_sprints
List sprints on a board.
Parameters:
boardId(number): Board IDstate("active"|"future"|"closed", optional): Sprint statestartAt(number, optional): Pagination startmaxResults(number, optional): Page size (1-100)
list_sprint_issues
List issues in a sprint with pagination.
Parameters:
sprintId(number): Sprint IDstartAt(number, optional): Pagination startmaxResults(number, optional): Page size (1-100)jql(string, optional): Additional JQL filter
Example Prompts
Use these prompts in Claude Desktop to leverage the tools:
Project discovery
List my Jira projects.Search Jira projects matching "platform".Show details for project PROJ.What issue types and statuses exist in project PROJ?Issue search and browsing
Find issues in project PROJ assigned to me that are In Progress.Search issues updated in the last 7 days with label "release".List issues in project PROJ with status = "To Do".Get comments for issue PROJ-123.Agile views
List all Scrum boards for project PROJ.Show active sprints on board 12.List issues in sprint 345 ordered by priority.Development
Running in Development Mode
npm run devBuilding for Production
npm run buildType Checking
npm run typecheckTroubleshooting
Server Not Loading Environment Variables
Check the path in - Make sure it points to your actual
.envfile locationRebuild the project after changing the path:
npm run buildVerify and contains valid credentials
Claude Desktop Not Connecting
Check the config file paths - Ensure all paths in
claude_desktop_config.jsonare correctRestart Claude Desktop completely
Check Claude Desktop logs for connection errors
Jira API Errors
Verify your API token is valid and not expired
Check your Jira URL format (should include
https://)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 fileContributing
Fork the repository
Create a feature branch
Make your changes
Test thoroughly
Submit a pull request
License
ISC License
Support
For issues and questions:
Check the troubleshooting section above
Review the MCP documentation
Open an issue on GitHub
Happy Jira integration with Claude! π