
Jira MCP Server
概览
A collection of tools designed for interacting with Jira via the Model Context Protocol (MCP), providing core Jira functionalities and a unified, guided Issue Creation and Update Wizard. For running locally, you can put the DEBUG and LOG_FILE_PATH into your .env. This application exposes the following tools via the Model Context Protocol: - getJiraIssue: Fetches a Jira issue by its key. - analyzeJiraIssue: Performs comprehensive analysis of a Jira issue. - jiraGet: Fetches data from any Jira API GET endpoint. - getIssuesByJql: Searches for Jira issues using a JQL query. These tools provide a step-by-step, guided process for creating new Jira issues.
README
以下为原文 README 节选,完整内容请查看原文。
Jira MCP Server
A collection of tools designed for interacting with Jira via the Model Context Protocol (MCP), providing core Jira functionalities and a unified, guided Issue Creation and Update Wizard.
Installation
To install this into a client:
{
"mcpServers": {
"JiraMCP_Published": {
"command": "npx",
"args": [
"@timbreeding/jira-mcp-server@latest",
"--jira-base-url=https://example.atlassian.net",
"[email protected]",
"--jira-api-token="
],
"env": {
"DEBUG": "true",
"LOG_FILE_PATH": "" // Some full path. If blank, it will not write logs to a file.
}
}
}
}
Usage
…
Configuration
Environment Variables
For running locally, you can put the DEBUG and LOG_FILE_PATH into your .env.
Available Tools
This application exposes the following tools via the Model Context Protocol:
Core Jira Tools
getJiraIssue: Fetches a Jira issue by its key.analyzeJiraIssue: Performs comprehensive analysis of a Jira issue.jiraGet: Fetches data from any Jira API GET endpoint.getIssuesByJql: Searches for Jira issues using a JQL query.
Issue Creation Wizard Tools
These tools provide a step-by-step, guided process for creating new Jira issues. The wizard maintains state throughout the creation flow, typically involving these stages: initiating the process, selecting a project (getProjects), choosing an issue type (getIssueTypes), retrieving and populating the necessary fields (getFields, updateFields), optionally analyzing the issue details, and finally confirming and creating the issue (createIssue). Use getState and getStatus to monitor progress, and resetState to start over.
issueCreation_getState: Gets the current internal state of the wizard.issueCreation_getStatus: Gets the high-level status of the wizard.issueCreation_initiateState: Initializes a new wizard state.issueCreation_resetState: Resets the wizard state.issueCreation_updateState: Updates the wizard state (project, issue type, fields, step).issueCreation_createIssue: Creates a Jira issue using the wizard’s state.issueCreation_getProjects: Retrieves available Jira projects.issueCreation_getIssueTypes: Gets available issue types for the selected project.issueCreation_getFields: Retrieves fields required for the selected project/issue type.issueCreation_updateFields: Updates specific field values in the wizard state.issueCreation_setAnalysisComplete: Sets the analysis complete flag.issueCreation_setUserConfirmation: Sets the user confirmation flag before creation.issueCreation_analyzeIssue: Analyzes the issue details within the wizard context.
Issue Update Wizard Tools (Unified Update Workflow)
安装
npx @timbreeding/jira-mcp-server@latest --jira-base-url=https://example.atlassian.net [email protected] --jira-api-token=<your jira token>配置
{
"mcpServers": {
"JiraMCP_Published": {
"command": "npx",
"args": [
"@timbreeding/jira-mcp-server@latest",
"--jira-base-url=https://example.atlassian.net",
"[email protected]",
"--jira-api-token=<your jira token>"
],
"env": {
"DEBUG": "true",
"LOG_FILE_PATH": "" // Some full path. If blank, it will not write logs to a file.
}
}
}
}