MCP for JIRA Bot
Configuration
View docs{
"mcpServers": {
"imrnbeg-jira-mcp": {
"command": "node",
"args": [
"/full/path/to/your/jira-mcp/dist/server.js"
],
"env": {
"JIRA_URL": "https://yourcompany.atlassian.net",
"JIRA_EMAIL": "[email protected]",
"JIRA_API_TOKEN": "your_api_token_here"
}
}
}
}This MCP Jira Server lets you query and view Jira data directly through Claude Desktop by exposing Jira through a Model Context Protocol server. You can look up issues, browse projects, inspect workflows, run JQL searches, and view agile boards, all from your Claude chats, with secure access to your Jira instance.
You can interact with Jira data from Claude Desktop by invoking the MCP endpoints through natural language prompts. Use concise, task-based prompts to fetch information such as issue details, project metadata, or board and sprint data. Examples include asking for a specific Jira issue, listing projects you have access to, or viewing the active sprint issues on a board.
Practical usage patterns you can try in Claude Desktop include:
- Get Jira Issue Details: fetch comprehensive information about an issue by key (summary, description, status, priority, assignee, etc.).
- Browse Projects: list projects and view project details.
- Understand Workflows: view issue types and statuses per project.
- Search Issues (JQL): perform flexible searches with pagination and selected fields.
- Project Issue Lists: quickly list issues within a project.
- Issue Comments: read comments on an issue.
- Agile Views: access 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 for programmatic use.
Prerequisites you need before installation:
Step-by-step setup commands
# 1. Clone the project
git clone https://github.com/imrnbeg/jira-mcp.git
cd jira-mcp
# 2. Install dependencies
npm install
# 3. Build the project
npm run buildConfigure environment variables and paths as shown below. You will set Jira credentials and the Jira URL, then adjust the server path in code and rebuild when needed.
1) Create Environment File and populate Jira credentials:
# .env
JIRA_URL=https://yourcompany.atlassian.net
[email protected]
JIRA_API_TOKEN=your_api_token_hereEdit the server path so the MCP loads your environment file from your system.
// Change this path to match your system
loadEnvFile('/Users/imranbeg/mcp-get-server/.env');
```
Paths for different systems:
- macOS/Linux: /full/path/to/your/jira-mcp/.env
- Windows: C:\\full\\path\\to\\your\\jira-mcp\\.env3) Rebuild After Path Update
npm run buildFetches detailed information about a Jira issue by its key, including summary, description, status, assignee, reporter, priority, issue type, creation and update dates, and a direct Jira link.
Lists accessible Jira projects with optional search and pagination.
Retrieves full metadata for a Jira project by key or ID.
Gets available statuses for each issue type within a project.
Searches Jira issues using JQL with pagination and selectable fields.
Lists issues within a specific project with optional extra JQL filters.
Retrieves comments for a specific Jira issue.
Lists Jira boards with optional filters for type and project.
Lists sprints on a specified board and optional state filter.
Lists issues within a sprint with pagination and optional JQL filters.