jira-context-mcp

jira-context-mcp

Fetches structured Jira issue context from a URL, enabling coding agents to quickly understand issue intent and implementation details.

Category
Visit Server

README

jira-context-mcp

jira-context-mcp is a production-focused MCP server that fetches structured Jira issue context from a Jira URL. It is designed for coding agents like Codex and Claude Code so they can quickly understand issue intent and implementation context.

What This Server Does

  • Exposes one MCP tool: get_jira_issue_from_url
  • Validates that the input URL belongs to your JIRA_BASE_URL
  • Extracts a Jira issue key from multiple Jira URL shapes
  • Calls Jira Cloud REST API:
    • GET /rest/api/3/issue/{issueIdOrKey}?expand=names,renderedFields
  • Converts Jira rich text (Atlassian Document Format) into plain text
  • Returns concise, agent-friendly structured issue context

Supported Jira Issue Types

This server is issue-type agnostic. It works for any Jira issue type, including:

  • Bug
  • Feature request
  • Task
  • Story
  • Epic
  • Requirement
  • Improvement
  • Support ticket
  • Custom issue types

Required Environment Variables

  • JIRA_EMAIL: Jira account email
  • JIRA_API_TOKEN: Jira API token
  • JIRA_BASE_URL: Jira Cloud tenant URL (example: https://your-domain.atlassian.net)

Quick Setup Commands

Codex (no global install)

codex mcp add jira \
  --env JIRA_EMAIL=you@example.com \
  --env JIRA_API_TOKEN=your-token \
  --env JIRA_BASE_URL=https://your-domain.atlassian.net \
  -- npx -y github:TastyHeadphones/jira-context-mcp

Claude Code (no global install)

claude mcp add jira \
  -e JIRA_EMAIL=you@example.com \
  -e JIRA_API_TOKEN=your-token \
  -e JIRA_BASE_URL=https://your-domain.atlassian.net \
  -- npx -y github:TastyHeadphones/jira-context-mcp

Optional: install globally first

npm install -g github:TastyHeadphones/jira-context-mcp

Then add with local binary:

codex mcp add jira \
  --env JIRA_EMAIL=you@example.com \
  --env JIRA_API_TOKEN=your-token \
  --env JIRA_BASE_URL=https://your-domain.atlassian.net \
  -- jira-context-mcp
claude mcp add jira \
  -e JIRA_EMAIL=you@example.com \
  -e JIRA_API_TOKEN=your-token \
  -e JIRA_BASE_URL=https://your-domain.atlassian.net \
  -- jira-context-mcp

Tool

get_jira_issue_from_url

Input:

{
  "url": "string"
}

Supported URL examples:

  • ${JIRA_BASE_URL}/browse/ABC-123
  • ${JIRA_BASE_URL}/jira/software/projects/ABC/boards/1/backlog?selectedIssue=ABC-123
  • Any Jira URL under JIRA_BASE_URL containing an issue key like ABC-123

Returned structured data includes:

  • issueKey, issueUrl, summary
  • description (plain text where possible)
  • issueType, status, statusCategory, priority
  • assignee, reporter
  • labels, components
  • fixVersions, affectedVersions
  • created, updated, dueDate
  • parent, epic
  • subtasks, linkedIssues
  • attachments (metadata only)
  • comments (most recent 10)
  • acceptanceCriteria (best-effort extraction from description/custom fields)
  • customFields (non-empty, normalized, human-readable)

Create a Jira API Token

  1. Open Atlassian API token settings.
  2. Click Create API token.
  3. Name the token and copy it.
  4. Use that value for JIRA_API_TOKEN.

Run Locally

  1. Install dependencies:
npm install
  1. Set environment variables (for example via .env in your shell/session).

  2. Build:

npm run build
  1. Start:
npm start

Development mode:

npm run dev

MCP Configuration Examples

Use this server entry in your MCP client config:

{
  "mcpServers": {
    "jira": {
      "command": "node",
      "args": ["/absolute/path/to/jira-context-mcp/dist/index.js"],
      "env": {
        "JIRA_EMAIL": "you@example.com",
        "JIRA_API_TOKEN": "your-token",
        "JIRA_BASE_URL": "https://your-domain.atlassian.net"
      }
    }
  }
}

Claude Code MCP configuration example

Use the same JSON block above in your Claude Code MCP server configuration file.

Codex MCP configuration example

Use the same JSON block above in your Codex MCP server configuration file.

Example Tool Call

{
  "name": "get_jira_issue_from_url",
  "arguments": {
    "url": "https://your-domain.atlassian.net/browse/ABC-123"
  }
}

Example Output

{
  "issueKey": "ABC-123",
  "issueUrl": "https://your-domain.atlassian.net/browse/ABC-123",
  "summary": "Prevent duplicate webhook retries",
  "description": "As a platform engineer, I need retry deduplication ...",
  "acceptanceCriteria": "- Duplicate deliveries are ignored\n- Metrics include dropped duplicates",
  "issueType": "Story",
  "status": "In Progress",
  "statusCategory": "In Progress",
  "priority": "High",
  "assignee": {
    "accountId": "5b10ac8d82e05b22cc7d4ef5",
    "displayName": "Alex Example",
    "emailAddress": null,
    "active": true
  },
  "labels": ["webhook", "idempotency"],
  "components": ["API"],
  "fixVersions": ["2026.05"],
  "affectedVersions": ["2026.04"],
  "subtasks": [],
  "linkedIssues": [],
  "attachments": [],
  "comments": [],
  "customFields": []
}

Security Notes

  • Keep JIRA_API_TOKEN secret. Never commit it to source control.
  • Use least-privilege Jira access for the account tied to the token.
  • This server only fetches issue data and attachment metadata; it does not download attachment files.
  • URL validation rejects URLs outside your configured JIRA_BASE_URL.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured