mcp-server-jira
Enables an AI agent to manage Jira Stories in a self-hosted Jira instance via the Jira REST API v2, including CRUD operations, workflow transitions, and burndown data retrieval.
README
mcp-server-jira
An MCP (Model Context Protocol) server that lets an AI agent manage Jira Stories in a self-hosted Jira instance via the Jira REST API v2. Built for a PRD automation workflow.
Setup
npm install
cp .env.example .env # then fill in your values
npm run build
Configuration
All config comes from environment variables (loaded from .env):
| Variable | Required | Description |
|---|---|---|
JIRA_BASE_URL |
✅ | Base URL of the Jira instance, e.g. https://jira.yourcompany.com |
JIRA_USER_EMAIL |
✅ | Account email/username used for Basic Auth |
JIRA_API_TOKEN |
✅ | API token / password used for Basic Auth |
JIRA_PROJECT_KEY |
✅ | Project key, e.g. PRD |
JIRA_STORY_ISSUE_TYPE |
Issue type name for stories (default Story) |
|
JIRA_OUTLINE_LINK_FIELD |
Custom field id for the Outline link (e.g. customfield_10100) |
|
JIRA_STORY_POINTS_FIELD |
Custom field id for story points (default customfield_10016) |
Authentication uses HTTP Basic Auth: base64(JIRA_USER_EMAIL:JIRA_API_TOKEN).
All API calls target ${JIRA_BASE_URL}/rest/api/2.
Running
The server speaks MCP over stdio.
npm start # runs dist/index.js
npm run dev # ts-node src/index.ts
Example MCP client config
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["/absolute/path/to/mcp-server-jira/dist/index.js"],
"env": {
"JIRA_BASE_URL": "https://jira.yourcompany.com",
"JIRA_USER_EMAIL": "bot@yourcompany.com",
"JIRA_API_TOKEN": "...",
"JIRA_PROJECT_KEY": "PRD"
}
}
}
}
Tools
Story CRUD
| Tool | Purpose |
|---|---|
create_story |
Create a Story from a PRD (with acceptance criteria + Outline link) |
get_story |
Fetch a Story's key fields by issue key |
update_story |
Update selected fields of a Story |
search_stories |
JQL text search for Stories (duplicate detection) |
get_project_info |
Project metadata: priorities, issue types, story type id |
add_comment |
Add a plain-text comment to a Story |
Workflow & guarded actions
| Tool | Purpose |
|---|---|
transition_story |
List or perform workflow transitions. Transitions to Done/Closed need confirm. |
delete_story |
Permanently delete a Story. Requires confirm: true. |
Agile / burndown (requires Jira Software)
| Tool | Purpose |
|---|---|
list_boards |
List Agile boards (scrum/kanban) — get a board id |
list_sprints |
List a board's sprints with start/end dates and state |
get_sprint_burndown |
Burndown data for AI analysis (committed vs done vs remaining) |
Safety: human approval for risky actions
Two complementary mechanisms protect destructive operations:
-
MCP annotations — every tool declares
readOnlyHint/destructiveHint/idempotentHint/openWorldHint. The host (e.g. Claude) uses these to decide when to prompt the human before running a tool. Read-only tools (get_*,search_*,list_*) are flagged as such;update_story,delete_storyare flagged destructive. -
Server-enforced confirmation —
delete_storyand terminaltransition_storycalls require an explicitconfirm: true. Without it the tool performs no API call and instead returns arequires_confirmationwarning describing the impact, so the agent (and human) must opt in deliberately.
Burndown charts
An MCP server can't return a rendered chart image, but get_sprint_burndown
returns the underlying data: a reliable computed summary (committed/completed/
remaining story points and issue counts by status, derived from the sprint's
issues) plus a best-effort raw GreenHopper burndown time-series
(burndown_chart_raw) when that internal endpoint is available. The AI can
summarize progress, flag scope changes, and describe the burndown from this data.
Story points are read from JIRA_STORY_POINTS_FIELD.
All tools return structured JSON. Errors are returned as structured objects
({ error: true, message, ... }) — the server never throws unhandled exceptions
out of a tool. Logs are written to stderr only; stdout is reserved for the
MCP protocol.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.