Jira Product Discovery MCP
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 Product Discovery MCP list insights for idea MDP-5"
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 Product Discovery MCP
An MCP server for Jira Cloud and Jira Product Discovery. It exposes the existing generic Jira REST tools together with typed native JPD Insight and attachment operations.
Package: @enterpret/jira-product-discovery-mcp
Tool surface
The server exposes exactly eight tools:
Tool | Purpose |
| Read from a Jira REST endpoint. |
| Create through a Jira REST endpoint. |
| Replace through a Jira REST endpoint. |
| Partially update through a Jira REST endpoint. |
| Delete through a Jira REST endpoint. |
| Upload one UTF-8 or base64 attachment to an issue or JPD idea. |
| List native JPD Insights for an idea key. |
| Create a native JPD Insight with linked evidence in its description. |
The generic tools preserve compatibility with Jira REST API v3. Callers provide only the REST path, query parameters, and request body; authentication remains server-owned.
Related MCP server: JIRA MCP Server
Authentication
OAuth bearer mode
Enterpret Agent uses Nango to refresh the Jira 3LO connection and injects the short-lived access token into the MCP subprocess:
ATLASSIAN_OAUTH_BEARER=<access-token> \
npx -y @enterpret/jira-product-discovery-mcp@0.2.0Native JPD Insight tools require this mode. They do not accept tokens, Atlassian IDs, GraphQL, or OAuth client IDs as tool arguments.
Set ATLASSIAN_CLOUD_ID when the bearer can access more than one Atlassian
site. The server verifies the configured cloud ID against Atlassian's accessible
resources and otherwise fails closed on ambiguous multi-site connections.
Jira API token mode
The generic Jira REST tools and attachment tool also support Jira API-token authentication:
ATLASSIAN_SITE_NAME=your-instance
ATLASSIAN_USER_EMAIL=you@example.com
ATLASSIAN_API_TOKEN=<api-token>This mode does not support native JPD Insights.
MCP configuration
The default transport is stdio:
{
"mcpServers": {
"jira-product-discovery": {
"command": "npx",
"args": ["-y", "@enterpret/jira-product-discovery-mcp@0.2.0"],
"env": {
"ATLASSIAN_OAUTH_BEARER": "<access-token>"
}
}
}
}Supply secrets through the subprocess environment, never through MCP tool arguments or command-line flags.
Native JPD Insights
jira_list_jpd_insights accepts a human-friendly idea key such as MDP-2.
The server resolves the selected Atlassian cloud, project ID, and issue ID, then
constructs the fixed Polaris ARIs internally.
jira_create_jpd_insight accepts:
ideaKeydescriptionquotesourceUrl(HTTPS)sourceTitle
It creates a native JPD Insight with an Atlassian Document Format description
containing the summary, quote, and linked source. It does not create a structured
source snippet and does not require ATLASSIAN_OAUTH_CLIENT_ID.
Creation is intentionally marked non-idempotent. Retrying a create after an ambiguous provider response can create a duplicate Insight.
Native Insights currently use Atlassian's experimental Polaris GraphQL surface. The server exposes only fixed, typed list and create operations; arbitrary GraphQL and raw Polaris input are not available.
See JPD snippet representations for the difference between description-only Insights and structured source snippets.
Attachments
jira_add_attachment accepts an issue or idea key, filename, content, optional
encoding (utf8 or base64), and optional MIME type. The server builds Jira's
multipart request and limits decoded files to 10 MiB. Repeated calls create
separate Jira attachments.
Data handling
Generic Jira REST calls retain the inherited raw-response diagnostics under
/tmp/mcp/jira-product-discovery-mcp/. These files can contain Jira request and
response payloads and should be handled accordingly. Attachment uploads are
marked sensitive, so attachment bytes and returned content URLs are excluded
from debug and raw-response output.
Large generic Jira responses are truncated for the MCP caller and include the
corresponding raw-response path. Jira pagination, field selection, and the
generic tools' jq filter can be used to request a smaller result.
Development
Requires Node.js 18 or newer.
npm ci
npm run format:check
npm run lint
npm run build
npm test -- --runInBand
npm pack --dry-runTests use mocked provider responses for JPD and attachment operations. Do not use production Atlassian credentials for local test runs.
Releasing
Publishing is manual and never runs on a push to main. The release workflow
validates the candidate, packs once, smoke-tests that exact tarball through
npx, and publishes the same artifact with npm Trusted Publishing provenance.
See the release runbook for the one-time npm bootstrap, Trusted Publishing configuration, release gates, and post-publication verification.
License and ancestry
ISC licensed. This repository retains the generic Jira foundation and history from Andi Ashari's Jira MCP project and adds Enterpret's Jira Product Discovery integration. See LICENSE.
Available Tools
8 toolsjira_add_attachmentAdd Jira AttachmentA
Upload one attachment to a Jira issue or Jira Product Discovery idea.
The server converts UTF-8 or base64 content into Jira's required multipart request. Binary files must use encoding=base64. Uploading the same file twice creates two Jira attachments.
Inputs: content (required), filename (required), issueKey (required), encoding, +1 more. Returns: issueKey, attachment
jira_create_jpd_insightCreate Jira Product Discovery InsightA
Create a native Jira Product Discovery Insight with supporting evidence in its description.
The server builds a fixed ADF description containing the summary, customer quote, and linked source. Creation uses the existing Jira OAuth bearer and does not create a structured snippet.
Inputs: quote (required), ideaKey (required), sourceUrl (required), description (required), +1 more. Returns: idea, site, status, insight
jira_deleteJira DELETE RequestA
Delete Jira resources. Returns TOON format by default.
Output format: TOON (default) or JSON (outputFormat: "json")
Common operations:
Delete issue:
/rest/api/3/issue/{issueIdOrKey}Query param:deleteSubtasks=trueto delete subtasksDelete comment:
/rest/api/3/issue/{issueIdOrKey}/comment/{commentId}Delete worklog:
/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}Delete attachment:
/rest/api/3/attachment/{attachmentId}Remove watcher:
/rest/api/3/issue/{issueIdOrKey}/watchersQuery param:accountId={accountId}
Note: Most DELETE endpoints return 204 No Content on success.
API reference: https://developer.atlassian.com/cloud/jira/platform/rest/v3/
Inputs: path (required), jq, queryParams, outputFormat.
jira_getJira GET RequestA
Read any Jira data. Returns TOON format by default (30-60% fewer tokens than JSON).
IMPORTANT - Cost Optimization:
ALWAYS use
jqparam to filter response fields. Unfiltered responses are very expensive!Use
maxResultsquery param to restrict result count (e.g.,maxResults: "5")If unsure about available fields, first fetch ONE item with
maxResults: "1"and NO jq filter to explore the schema, then use jq in subsequent calls
Schema Discovery Pattern:
First call:
path: "/rest/api/3/search/jql", queryParams: {"maxResults": "1", "jql": "project=PROJ"}(no jq) - explore available fieldsThen use:
jq: "issues[*].{key: key, summary: fields.summary, status: fields.status.name}"- extract only what you need
Output format: TOON (default, token-efficient) or JSON (outputFormat: "json")
Common paths:
/rest/api/3/project- list all projects/rest/api/3/project/{projectKeyOrId}- get project details/rest/api/3/search/jql- search issues with JQL (usejqlquery param). NOTE:/rest/api/3/searchis deprecated!/rest/api/3/issue/{issueIdOrKey}- get issue details/rest/api/3/issue/{issueIdOrKey}/comment- list issue comments/rest/api/3/issue/{issueIdOrKey}/worklog- list issue worklogs/rest/api/3/issue/{issueIdOrKey}/transitions- get available transitions/rest/api/3/user/search- search users (usequeryparam)/rest/api/3/status- list all statuses/rest/api/3/issuetype- list issue types/rest/api/3/priority- list priorities
JQ examples: issues[*].key, issues[0], issues[*].{key: key, summary: fields.summary}
Example JQL queries: project=PROJ, assignee=currentUser(), status="In Progress", created >= -7d
API reference: https://developer.atlassian.com/cloud/jira/platform/rest/v3/
Inputs: path (required), jq, queryParams, outputFormat.
jira_list_jpd_insightsList Jira Product Discovery InsightsARead-onlyIdempotent
List native Jira Product Discovery Insights for an idea key.
The server resolves the Jira site, project, issue IDs, and Polaris ARIs. It returns a normalized response and never exposes raw GraphQL or provider envelopes.
Inputs: ideaKey (required). Returns: idea, site, insights
jira_patchJira PATCH RequestA
Partially update Jira resources. Returns TOON format by default.
IMPORTANT - Cost Optimization: Use jq param to filter response fields.
Output format: TOON (default) or JSON (outputFormat: "json")
Common operations:
Update issue fields:
/rest/api/3/issue/{issueIdOrKey}body:{"fields": {"summary": "Updated title"}}(only updates specified fields)Update comment:
/rest/api/3/issue/{issueIdOrKey}/comment/{commentId}body:{"body": {"type": "doc", "version": 1, "content": [{"type": "paragraph", "content": [{"type": "text", "text": "Updated comment"}]}]}}Update worklog:
/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}body:{"timeSpentSeconds": 7200}
Note: PATCH only updates the fields you specify, leaving others unchanged.
API reference: https://developer.atlassian.com/cloud/jira/platform/rest/v3/
Inputs: body (required), path (required), jq, queryParams, +1 more.
jira_postJira POST RequestA
Create Jira resources. Returns TOON format by default (token-efficient).
IMPORTANT - Cost Optimization:
Use
jqparam to extract only needed fields from response (e.g.,jq: "{key: key, id: id}")Unfiltered responses include all metadata and are expensive!
Output format: TOON (default) or JSON (outputFormat: "json")
Common operations:
Create issue:
/rest/api/3/issuebody:{"fields": {"project": {"key": "PROJ"}, "summary": "Issue title", "issuetype": {"name": "Task"}, "description": {"type": "doc", "version": 1, "content": [{"type": "paragraph", "content": [{"type": "text", "text": "Description"}]}]}}}Add comment:
/rest/api/3/issue/{issueIdOrKey}/commentbody:{"body": {"type": "doc", "version": 1, "content": [{"type": "paragraph", "content": [{"type": "text", "text": "Comment text"}]}]}}Add worklog:
/rest/api/3/issue/{issueIdOrKey}/worklogbody:{"timeSpentSeconds": 3600, "comment": {"type": "doc", "version": 1, "content": [{"type": "paragraph", "content": [{"type": "text", "text": "Work done"}]}]}}Transition issue:
/rest/api/3/issue/{issueIdOrKey}/transitionsbody:{"transition": {"id": "31"}}Add attachment:
/rest/api/3/issue/{issueIdOrKey}/attachmentsUse the typedjira_add_attachmenttool, which constructs the required multipart request.
API reference: https://developer.atlassian.com/cloud/jira/platform/rest/v3/
Inputs: body (required), path (required), jq, queryParams, +1 more.
jira_putJira PUT RequestA
Replace Jira resources (full update). Returns TOON format by default.
IMPORTANT - Cost Optimization: Use jq param to extract only needed fields from response
Output format: TOON (default) or JSON (outputFormat: "json")
Common operations:
Update issue (full):
/rest/api/3/issue/{issueIdOrKey}body:{"fields": {"summary": "New title", "description": {...}, "assignee": {"accountId": "..."}}}Update project:
/rest/api/3/project/{projectIdOrKey}body:{"name": "New Project Name", "description": "Updated description"}Set issue property:
/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}body:{"value": "property value"}
Note: PUT replaces the entire resource. For partial updates, prefer PATCH.
API reference: https://developer.atlassian.com/cloud/jira/platform/rest/v3/
Inputs: body (required), path (required), jq, queryParams, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool maps to a distinct HTTP method or unique action (get, post, put, patch, delete, add_attachment, list insights, create insight). Put vs patch could be confused, but descriptions clearly separate full replacement from partial updates, leaving no ambiguity.
All tool names follow a consistent jira_<verb>_<object> pattern in snake_case, using clear verbs (get, post, put, patch, delete, add, list, create). The naming is uniform and predictable with no mixed casing or vague terms.
With 8 tools, the set is well-scoped for a Jira/Product Discovery server, covering full CRUD, attachment upload, and Product Discovery insights. This falls comfortably in the ideal 3-15 range and each tool serves a distinct purpose.
Generic Jira operations are well covered via jira_get (search), post (create), put/patch (updates), and delete, including comments, worklogs, and attachments. The JPD insight tools add create and list, but lack update/delete for insights; however, generic verbs may cover some of that. The core surface is strong with minor gaps.
Maintenance
Related MCP Connectors
Connect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.
Unofficial Confluence MCP — wraps the Confluence Cloud REST API v2 (OAuth)
Discover, plan and run tools across your connected business systems through one OAuth MCP endpoint
Manage tickets, run agents and workflows, query tables, and search workspace knowledge.
Related MCP Servers
- 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.-
- AlicenseAqualityDmaintenanceEnables interaction with Jira issues via JQL search, epic management, comments, attachments, and issue CRUD, with support for both Cloud and Server/Data Center instances.9MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to manage Jira issues with full CRUD, transitions, linking, commenting, and file attachments via the Jira REST API v3.10-
- AlicenseAqualityAmaintenanceEnables interaction with Atlassian Jira and Confluence via their REST API, providing tools for searching, creating, updating, commenting, and retrieving issues, pages, projects, and spaces.14MIT