
Mcp Jira Stdio
io.github.freema由 GitHub 帳號 freema 發布v1.12.2更新於 Nov 7, 2026
MCP server for Jira Cloud — issues, search, comments, attachments, transitions.
概覽
將助理連接到 Jira Cloud,讓它能在 MCP 用戶端中讀取、搜尋、建立與更新議題、子任務和留言。
- 可以做什麼
- 列出可見專案並取得專案詳細資訊,例如元件、版本與角色
- 依編號讀取議題、以 JQL 分頁搜尋、建立與更新議題、建立子任務
- 為議題新增留言,可依群組或角色限制可見範圍
- 查詢建立中繼資料、議題類型、狀態、優先順序、自訂欄位與使用者
- 列出指派給目前使用者的議題
- 適用情境
- 適合在 Jira 中協作、希望助理代為查詢議題、草擬或建立議題與子任務、以 JQL 搜尋或新增留言,而不必切換到網頁介面的情境。
- 執行需求
- 以本機 Node.js 程序執行(需 Node.js v20 或以上版本),透過 npm 套件 mcp-jira-stdio 在桌面 MCP 用戶端中設定。需要可連線的 Jira 執行個體,以及 JIRA_BASE_URL、JIRA_EMAIL、JIRA_API_TOKEN;另有選用的 LOG_LEVEL 與 MCP_REDACT_SENSITIVE。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Jira Stdio,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MCP Jira Server
[TypeScript] [Node] [License: MIT] [npm version] [MCP Server]
[CI] [codecov] [GitHub issues]
[圖片]A Model Context Protocol (MCP) server for Jira API integration. Enables reading, writing, and managing Jira issues and projects directly from your MCP client (e.g., Claude Desktop).
⚡ Quick Install for Claude Code
The fastest way to add this MCP server to Claude Code:
Replace the values with your actual Jira credentials:
- JIRA_BASE_URL: Your Jira instance URL (e.g.,
https://yourcompany.atlassian.net) - JIRA_EMAIL: Your Jira account email
- JIRA_API_TOKEN: Your Jira API token (generate here)
That's it! The server will be automatically configured and ready to use.
Alternative: Manual Configuration
If you prefer to configure manually or use Claude Desktop, see the Configuration section below.
🚀 Quick Start
1. Prerequisites
- Node.js v20 or higher
- Jira instance (Cloud or Server)
- Jira API token
2. Installation
Development Installation
3. Jira API Setup
- Go to your Jira instance settings
- Create an API token:
- Jira Cloud: Go to Account Settings → Security → Create and manage API tokens
- Jira Server: Use your username and password (or create an application password)
- Note your Jira base URL (e.g.,
https://yourcompany.atlassian.net)
4. Configuration
Create a .env file from the provided example:
Example .env contents:
Note: Generate your API token at https://id.atlassian.com/manage-profile/security/api-tokens
5. Test Connection
6. Configure MCP Client
For Claude Code
Use the quick install command (recommended):
For Claude Desktop
Add to your Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Alternative: Using npx
Restart Claude Desktop after adding the configuration.
📦 Available Tools
Projects
jira_get_visible_projects: Retrieves all projects visible to the user.jira_get_project_info: Retrieves detailed information about a project (components, versions, roles, insights).
Issues
jira_get_issue: Retrieve issue details by key (supports optional fields/expand).jira_search_issues: Search for Jira issues using JQL with pagination and fields.jira_create_issue: Create a new issue in a project (type, priority, assignee, labels, components).jira_update_issue: Update an existing issue (summary, description, priority, assignee, labels, components, fix versions).jira_create_subtask: Create a subtask under a parent issue (auto-detects subtask type).
Comments
jira_add_comment: Add a comment to an issue (optional visibility by group/role).
Metadata & Users
jira_get_create_meta: Get create metadata for a project showing all available fields (including custom fields) with their allowed values. Essential for discovering required fields before creating issues.jira_get_issue_types: List issue types (optionally per project).jira_get_users: Search for users (by query, username, or accountId).jira_get_priorities: List available priorities.jira_get_statuses: List available statuses (global or project-specific).jira_get_custom_fields: List all custom fields in Jira with their types and schemas.
My Work
jira_get_my_issues: Retrieve issues assigned to the current user (sorted by updated).
🛠️ Development
Development Commands
MCP Inspector
Debug your MCP server using the inspector:
Notes:
- Startup no longer blocks on Jira connectivity. If Jira env vars are missing, the server still starts and lists tools; tool calls will fail with a clear auth error until you set
JIRA_BASE_URL,JIRA_EMAIL, andJIRA_API_TOKEN. - Connection testing runs only in development/test (
NODE_ENV=developmentortest). Failures are logged but do not terminate the server, so the inspector can still display tools.
Testing
📋 Project Structure
🔧 Tool Usage Examples
Get Visible Projects
❗ Troubleshooting
Common Issues
"Authentication failed"
- Verify your API token is correct
- Check that your email matches your Jira account
- Ensure your Jira base URL is correct (no trailing slash)
"Connection failed"
- Verify your Jira instance is accessible
- Check network connectivity
- Ensure Jira REST API is enabled
"Permission denied"
- Verify your account has the necessary permissions
- Check project permissions in Jira
- Ensure you're using the correct Jira instance
MCP Connection Issues
- Ensure you're using the built version (
dist/index.js) - Check that Node.js path is correct in Claude Desktop config
- Look for errors in Claude Desktop logs
- Use
task inspectorto debug
Timeout when running multiple instances with npx
If you're running multiple Claude Code sessions simultaneously and experience timeouts, this is caused by npx cache/registry locking — not the MCP server itself. Each instance tries to verify the package, causing conflicts. To fix this, install the package globally instead:
Debug Commands
If the inspector shows an SSE error and the server exits immediately, ensure you are not forcing an early exit with invalid credentials. With the current behavior, the server should not exit on missing credentials; export your Jira vars to exercise the tools:
🔍 Environment Variables
🤝 Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Run tests and linting (
task check) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is licensed under the MIT License — see the LICENSE file for details.
MCP Config Setup
Configure Claude Desktop to use this MCP server interactively:
The script will:
- Build the project if needed and detect your Node path
- Prompt for
JIRA_BASE_URL,JIRA_EMAIL,JIRA_API_TOKEN - Save a
jiraentry into your Claude Desktop config or print the JSON - Optionally generate a local
.envfor development
來源:README.md,提交 b62894f
工具
0版本歷史
4- v1.12.2最新Nov 7, 2026
- v1.12.1Oct 2, 2026
- v1.12.0Sep 20, 2026
- v1.11.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分