Jira MCP Server
Provides tools for interacting with Jira Cloud, enabling AI agents to manage issues, search, create, update, transition, link, comment, and attach files via the Jira REST API.
Click on "Deploy 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 Server Show my open tasks"
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
MCP (Model Context Protocol) server for Jira Cloud. Provides AI assistants with tools to read, search, create, update, transition, link, comment, and attach files to Jira issues via the REST API v3. Text fields (descriptions, comments) support Markdown formatting.
Prerequisites
Node.js 18+
Jira Cloud instance
API Token for your Atlassian account (create one here)
Related MCP server: Jira MCP Integration
Setup
npm install
npm run buildCreate a .env file (see .env.example):
JIRA_BASE_URL=https://jira.example.com
JIRA_EMAIL=user@example.com
JIRA_API_TOKEN=your-api-tokenRunning as MCP Server
Add to your Cursor mcp.json:
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["C:\\repos\\Custom-MCP\\Jira\\dist\\index.js"]
}
}
}Or run directly for development (without building):
npm run devTools
get_my_tasks
Returns active tasks assigned to the current user.
Parameter | Type | Default | Description |
| number | 10 | Max tasks to return (1-50) |
JQL: assignee = currentUser() AND status NOT IN (Done, Cancelled) ORDER BY priority DESC
get_task_details
Returns full context for a single issue: summary, description, status, assignee, comments, attachments, and issue links.
Parameter | Type | Description |
| string | Issue key, e.g. |
Response includes issueLinks[] with id, linkType, direction, relation, and linked issue details. Use the link id with unlink_issues to remove a link.
search_tasks
Searches issues by text query or raw JQL. Provide either query or jql, not both.
Parameter | Type | Default | Description |
| string | Text to search for (uses | |
| string | Raw JQL query | |
| number | 5 | Max results (1-50) |
update_task_status
Transitions an issue to a new status. Fetches available transitions first, matches by name (case-insensitive), then executes.
Parameter | Type | Description |
| string | Issue key, e.g. |
| string | Target transition, e.g. |
create_task
Creates a new Jira issue. Description supports Markdown formatting.
Parameter | Type | Default | Description |
| string | Project key (e.g. | |
| string | Issue title | |
| string |
| Issue type (Task, Bug, Story, Epic ...) |
| string | Description (supports Markdown) | |
| string | Parent issue key (e.g. epic key) |
update_task
Updates fields on an existing Jira issue. Only provided fields are changed. Description supports Markdown formatting.
Parameter | Type | Description |
| string | Issue key, e.g. |
| string | New issue title |
| string | New description (supports Markdown) |
| string | New issue type (Story, Bug, Task ...) |
| string | New parent issue key (e.g. epic key) |
link_issues
Creates a link between two Jira issues. Use get_task_details to see existing links.
Parameter | Type | Description |
| string | Link type name (e.g. |
| string | Issue key that gets the outward relation (e.g. the blocker) |
| string | Issue key that gets the inward relation (e.g. the blocked) |
Common link types: Blocks (blocks / is blocked by), Relates (relates to), Duplicate (duplicates / is duplicated by), Cloners (clones / is cloned by).
unlink_issues
Removes a link between two issues by link ID. Get the link ID from get_task_details → issueLinks[].id.
Parameter | Type | Description |
| string | Issue link ID to delete |
add_comment
Adds a comment to an issue. Supports Markdown formatting.
Parameter | Type | Description |
| string | Issue key, e.g. |
| string | Comment text (supports Markdown) |
attach_file
Uploads a file from disk and attaches it to an issue. Optionally adds a comment in the same call.
Parameter | Type | Required | Description |
| string | yes | Issue key, e.g. |
| string | yes | Absolute path to the file on disk |
| string | no | Optional comment to add after attaching |
CLI
A standalone CLI runner is included for manual testing outside of MCP. It uses the same .env config and the same Jira client.
npm run cli -- <tool_name> [json_args]Examples (key=value — works everywhere)
The recommended way to pass arguments. No quoting issues on any OS or shell.
npm run cli -- --help
npm run cli -- get_my_tasks
npm run cli -- get_my_tasks max_results=5
npm run cli -- get_task_details issue_key=PROJ-123
npm run cli -- search_tasks query="oauth bug" max_results=5
npm run cli -- search_tasks jql="project = PROJ AND status = Open"
npm run cli -- create_task project=PROJ summary="Fix login bug" issue_type=Bug description="**Steps:** ..." parent=PROJ-100
npm run cli -- update_task issue_key=PROJ-123 summary="Updated title" description="New **description**"
npm run cli -- update_task_status issue_key=PROJ-123 transition_name="In Progress"
npm run cli -- add_comment issue_key=PROJ-123 comment="Fixed in PR #42"
npm run cli -- attach_file issue_key=PROJ-123 file_path=C:\path\to\report.pdf
npm run cli -- attach_file issue_key=PROJ-123 file_path=C:\path\to\report.pdf comment="See attached report"
npm run cli -- link_issues link_type=Blocks outward_issue=PROJ-1 inward_issue=PROJ-2
npm run cli -- unlink_issues link_id=12345Examples (JSON — Bash / macOS / Linux)
JSON is also accepted as a single argument when wrapped in single quotes:
npm run cli -- get_task_details '{"issue_key": "PROJ-123"}'
npm run cli -- search_tasks '{"query": "oauth bug", "max_results": 5}'Windows note:
npm.cmdpasses arguments throughcmd.exe, which strips double quotes. Use thekey=valueformat on Windows instead of JSON.
Output is formatted JSON printed to stdout. Errors print to stderr with a non-zero exit code.
Project Structure
src/
index.ts — MCP server entry point (stdio transport)
cli.ts — CLI entry point for manual testing
config.ts — .env loader, validates JIRA_BASE_URL / EMAIL / API_TOKEN
adf.ts — ADF ↔ Markdown/plain-text conversion
jira-client.ts — HTTP wrapper over native fetch with Basic Auth
response.ts — successResponse / errorResponse helpers
tools/
getMyTasks.ts
getTaskDetails.ts
searchTasks.ts
updateTaskStatus.ts
addComment.ts
attachFile.ts
createTask.ts
updateTask.ts
linkIssues.ts
unlinkIssues.ts
docs/
markdown-formatting.md — Supported Markdown syntax referenceAvailable Tools
10 toolsadd_commentA
Add a comment to a Jira issue. Supports Markdown formatting.
Inputs: comment (required), issue_key (required).
attach_fileA
Upload a file from disk and attach it to a Jira issue.
Inputs: file_path (required), issue_key (required), comment.
create_taskB
Create a new Jira issue. Description supports Markdown formatting (headings, bold, italic, code, lists, links, blockquotes).
Inputs: project (required), summary (required), parent, issue_type, +1 more.
get_my_tasksA
Get active tasks assigned to the current user, ordered by priority descending.
Inputs: max_results.
get_task_detailsA
Get full context for a Jira issue including description, status, assignee, and comments.
Inputs: issue_key (required).
link_issuesA
Create a link between two Jira issues. Common link types: Blocks (blocks / is blocked by), Relates (relates to), Duplicate (duplicates / is duplicated by), Cloners (clones / is cloned by).
Inputs: link_type (required), inward_issue (required), outward_issue (required).
search_tasksA
Search Jira issues by text query or raw JQL. Provide either 'query' (text search) or 'jql' (raw JQL), not both.
Inputs: jql, query, max_results.
unlink_issuesA
Remove a link between two Jira issues by link ID. Get the link ID from get_task_details issueLinks field.
Inputs: link_id (required).
update_taskB
Update fields on an existing Jira issue. Only provided fields are changed. Description supports Markdown.
Inputs: issue_key (required), parent, summary, issue_type, +1 more.
update_task_statusB
Transition a Jira issue to a new status using the Jira transitions API.
Inputs: issue_key (required), transition_name (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool maps to a distinct resource-action pair, such as retrieving assigned tasks, fetching issue details, searching, updating fields, transitioning status, commenting, attaching, and linking. Even the similar update_task and update_task_status are clearly separated by field updates versus status transitions.
All tools follow a consistent verb_noun snake_case pattern like get_task_details, create_task, update_task, and link_issues. The naming is uniform and predictable, with complementary pairs like link_issues/unlink_issues.
Ten tools is well-scoped for a Jira issue management server. The surface covers retrieval, search, creation, updates, comments, attachments, and issue links without feeling bloated or sparse.
The tool set covers the core Jira issue lifecycle: create, read, search, update, status transitions, comments, attachments, and linking. Missing operations like deleting issues or explicitly listing available transitions are minor gaps that agents can work around in most workflows.
Maintenance
Related MCP Connectors
Connect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
Manage Redbooth tasks, task lists, comments, tags and files from Claude and other AI assistants.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables AI assistants to interact with Atlassian Jira Cloud, allowing users to manage projects, issues, comments, and workflows through natural language commands.61,575 npm3-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Jira Cloud through the REST API, supporting project management, issue operations (create, read, update, delete), JQL search, task assignments, and status transitions.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude to interact with Jira for project management tasks, including issue creation, updates, workflow transitions, and bulk operations.32 npm4MIT
- AlicenseBqualityDmaintenanceEnables AI agents to manage Jira Cloud projects with full CRUD operations, bulk actions, sprint and release management, and issue linking using natural language.27MIT