@rambou/jira-mcp
v0.2.1-alpha
Published
A Jira MCP instance
Readme
jira-mcp
A Model Context Protocol (MCP) server for common Jira REST API actions, with built-in Tempo Timesheets worklog support for Jira Server/Data Center.
Install
npm installConfigure
Set these environment variables for the MCP server process:
JIRA_BASE_URL(required): Base Jira URL, for examplehttps://jira.example.comJIRA_TOKEN(required): Jira API token or Personal Access Token — also used to authenticate against the Tempo Timesheets pluginJIRA_API_BASE_PATH(optional): Jira API base path, default/rest/api/3
Note: No separate Tempo credentials are needed. The Tempo Timesheets API is accessed at
{JIRA_BASE_URL}/rest/tempo-timesheets/4using the sameJIRA_TOKEN.
Example MCP client configuration
This server uses stdio transport. In an MCP client that supports mcpServers (for example Claude Desktop/Cline/Cursor), configure it like this:
{
"mcpServers": {
"jira": {
"command": "npx",
"args": ["-y", "@rambou/jira-mcp"],
"env": {
"JIRA_BASE_URL": "https://jira.example.com",
"JIRA_TOKEN": "your-token"
}
}
}
}For local development from this repository, you can also use:
npm startUse from MCP clients
- Add the server configuration in your MCP client.
- Restart/reload the MCP client.
- Invoke one of the tools below from your client chat or tool UI.
Available MCP tools
Jira tools
jira_get_issue- Get issue details by keyjira_search_issues- Search with JQLjira_create_issue- Create an issuejira_generate_subtasks- Generate subtasks for a parent issue when the parent type allows subtasksjira_add_comment- Add a comment to an issue (comment text should use Jira Wiki Markup, not Markdown)jira_edit_issue_description- Edit an issue description (description text should use Jira Wiki Markup, not Markdown)jira_transition_issue- Transition an issue by transition idjira_amend_issue_labels- Add and/or remove labels on an issue
Tempo Timesheets worklog tools
These tools require the Tempo Timesheets plugin to be installed on your Jira Server/Data Center instance. They use the same JIRA_TOKEN for authentication.
tempo_list_worklogs- List Tempo worklogs for the current Jira user within a date range. Parameters:startDate(YYYY-MM-DD),endDate(YYYY-MM-DD).tempo_create_worklog- Log time against a Jira issue. Parameters:issueKey,timeSpentHours,date(YYYY-MM-DD),description(optional),startTime(HH:MM, optional).tempo_bulk_create_worklogs- Log time against multiple issues in one call. Parameter:worklogs(array of{ issueKey, timeSpentHours, date, description?, startTime? }). Returns per-entry success/failure.tempo_edit_worklog- Edit an existing Tempo worklog. Parameters:worklogId,timeSpentHours,date(optional),description(optional),startTime(optional).tempo_delete_worklog- Delete a Tempo worklog by ID. Parameter:worklogId.
Prerequisite: The Tempo worklog tools use the current Jira user (identified by
JIRA_TOKEN) as the worklog author. Thetempo_list_worklogstool also scopes results to that user.
