jira-helper

jira-helper

MCP server providing tools to read and write Jira Cloud issues, including a bridge to GitHub commits for tracing issues to code.

Category
Visit Server

README

י

שרת MCP בפייתון שנותן ל-Claude (או לכל כלי AI שתומך ב-MCP) כלים לקרוא ולכתוב ל-JIRA Cloud, וגשר קטן שמחבר טיקטים לקומיטים ב-GitHub.

הפרויקט נבנה כתרגיל למידה: להבין מה זה MCP מבפנים, ולא רק להשתמש בשרת מוכן.

הערה חשובה: ל-JIRA קיים שרת MCP רשמי מ-Atlassian עם 72+ כלים. לעבודה יומיומית הוא עדיף. השרת הזה נבנה כדי ללמוד, לא כדי להחליף אותו.

מה זה עושה

הזרימה שהפרויקט מדגים מקצה לקצה:

מסמך אפיון (Word)  →  Claude קורא ומפרק  →  create_issue  →  אפיקים ומשימות ב-JIRA

חלוקת העבודה שחשוב להבין:

מי עושה מה
Claude קורא את מסמך האפיון, מבין את המבנה, מפרק לאפיקים ומשימות
השרת הזה מבצע את הכתיבה בפועל ל-JIRA דרך ה-API

השרת לא יודע כלום על מסמכי אפיון — הוא רק חושף כלים מדויקים. זו כל המהות של MCP.

הכלים

כלי סוג מה הוא עושה
check_jira_connection 📖 קריאה בודק שהאימייל והטוקן נכונים
list_projects 📖 קריאה רשימת הפרויקטים שיש לך גישה אליהם
list_issues 📖 קריאה כל הטיקטים בפרויקט, מסודרים לפי היררכיה
get_issue 📖 קריאה פרטי טיקט בודד
create_issue ✍️ כתיבה יוצר אפיק או משימה. parent_key מקשר משימה לאפיק
delete_issue ⚠️ מחיקה מוחק טיקט. בלתי הפיך — יש לאשר לפני שימוש
trace_issue_to_code 📖 קריאה הגשר: פרטי הטיקט מ-JIRA + הקומיטים ב-GitHub שמזכירים אותו

התקנה

דורש Python 3.10+, ולכלי הגשר גם GitHub CLI מחובר (gh auth login).

python -m venv .venv
.venv\Scripts\python.exe -m pip install -r requirements.txt

הגדרה

  1. צור API token ב-https://id.atlassian.com/manage-profile/security/api-tokens
  2. העתק .env.example ל-.env ומלא את הערכים:
JIRA_URL=https://your-site.atlassian.net
JIRA_EMAIL=you@example.com
JIRA_API_TOKEN=your-token-here

.env לא נשמר בגיט — הטוקן הוא סוד. הקוד קורא אותו ממשתני סביבה, לא מתוך הקוד עצמו.

חיבור לכלי AI

השרת הוא אותו קובץ אחד בכל הכלים — רק קובץ ההגדרות שונה. החלף את הנתיבים לנתיבים שלך.

Claude Code — קובץ .mcp.json בשורש הפרויקט (מצורף כאן כדוגמה):

{
  "mcpServers": {
    "jira-helper": {
      "command": "C:\\path\\to\\.venv\\Scripts\\python.exe",
      "args": ["C:\\path\\to\\jira_server.py"]
    }
  }
}

VS Code — אותו תוכן בקובץ .vscode/mcp.json, אבל המפתח נקרא servers במקום mcpServers.

Cursor — אותו תוכן בקובץ .cursor/mcp.json (מפתח mcpServers).

אחרי כל שינוי בקוד השרת צריך להפעיל אותו מחדש — התהליך שרץ מחזיק את הקוד הישן בזיכרון, והכלי שמר את רשימת הכלים מזמן החיבור.

מבנה הפרויקט

קובץ תפקיד
jira_server.py שרת ה-MCP — כל הכלים
server.py שרת נפרד ל-GitHub (נבנה ראשון כתרגיל, לפני JIRA)
.mcp.json רישום השרת ב-Claude Code
.env.example תבנית להגדרות (העתק ל-.env)
requirements.txt התלויות
spec_github_security.docx מסמך אפיון לדוגמה, ששימש להדגמת הזרימה

מה נלמד כאן

  • @mcp.tool() הופך פונקציית פייתון לכלי ש-AI יכול להפעיל
  • ה-docstring אינו הערה — Claude קורא אותו כדי להבין מתי ואיך להשתמש בכלי
  • סודות מחוץ לקוד, במשתני סביבה
  • הפרדה בין כלי קריאה (בטוחים) לכלי כתיבה/מחיקה (דורשים אישור)
  • היררכיה ב-JIRA: שדה parent הוא מה שמקשר משימה לאפיק
  • ה-JIRA API דורש תיאורים בפורמט ADF ולא טקסט פשוט

רישיון

MIT

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
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
Qdrant Server

Qdrant Server

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

Official
Featured