mcp-jira-scoped
Enables AI assistants to manage Jira tasks, issues, and projects using Atlassian's modern scoped API tokens, with safety features like read-only default and delete confirmation.
README
mcp-jira-scoped
The only MCP server for Jira that works with Atlassian's scoped API tokens.
Every other Jira MCP server uses classic (unscoped) API tokens with basic auth against yoursite.atlassian.net. Atlassian is deprecating those. This server uses scoped tokens with the modern api.atlassian.com gateway — the way Atlassian intends these tokens to be used.
What You Can Do
Once connected, you can ask your AI assistant things like:
- "What's the status of PROJ-1234?"
- "Search for all open bugs assigned to me in the BACKEND project"
- "Create a story in PROJ for the database migration, priority P2, under epic PROJ-100"
- "Move PROJ-1234 to In Progress"
- "Add a comment to PROJ-1234 saying the fix is deployed to staging"
- "Link PROJ-1234 as blocking PROJ-5678"
- "Find all issues with 'auth' in the summary updated this week"
Why This Server
| mcp-jira-scoped | Other Jira MCP servers | |
|---|---|---|
| Token type | Scoped (modern, ATATT prefix) |
Classic (being deprecated) |
| Auth gateway | api.atlassian.com |
yoursite.atlassian.net |
| Scope enforcement | Server-side, before every API call | None — relies on AI self-restraint |
| Default mode | Read-only (write must be explicitly granted) | Full access |
| Delete safety | Requires confirm: true parameter |
No guard |
Quick Start
1. Create a Scoped API Token
- Go to Atlassian API Tokens
- Click "Create API token with scopes"
- Grant the scopes you need:
read:jira-work— read issues, search, comments, projectswrite:jira-work— create/update/delete issues, add commentsread:jira-user— look up usersread:me— read your own profile
2. Add to Your AI Client
Claude Desktop / Claude Code
Add to your .mcp.json:
{
"mcpServers": {
"jira": {
"command": "npx",
"args": ["-y", "mcp-jira-scoped"],
"env": {
"JIRA_INSTANCE": "yourcompany",
"JIRA_USER_EMAIL": "you@yourcompany.com",
"JIRA_API_TOKEN": "<your-scoped-token>",
"JIRA_SCOPES": "read:jira-work,write:jira-work"
}
}
}
}
Cursor
Add the same config to Cursor's MCP settings (Settings > MCP Servers).
VS Code (Copilot)
Add to .vscode/mcp.json:
{
"servers": {
"jira": {
"command": "npx",
"args": ["-y", "mcp-jira-scoped"],
"env": {
"JIRA_INSTANCE": "yourcompany",
"JIRA_USER_EMAIL": "you@yourcompany.com",
"JIRA_API_TOKEN": "<your-scoped-token>",
"JIRA_SCOPES": "read:jira-work,write:jira-work"
}
}
}
}
Configuration
| Env Var | Required | Description |
|---|---|---|
JIRA_INSTANCE |
Yes | Instance name (e.g. mycompany for mycompany.atlassian.net) |
JIRA_API_TOKEN |
Yes | Scoped API token (ATATT... prefix) |
JIRA_USER_EMAIL |
Yes | Email associated with the token |
JIRA_SCOPES |
No | Comma-separated scopes. Defaults to read:jira-work (read-only) |
JIRA_CLOUD_ID |
No | Atlassian Cloud ID. Auto-fetched if not set. Find it at https://yoursite.atlassian.net/_edge/tenant_info |
Available Tools (14)
Read Tools (read:jira-work)
| Tool | Description |
|---|---|
jira_get_issue |
Get issue by key. Pass includeCustomFields: true to return all custom fields |
jira_search |
Search issues via JQL with pagination |
jira_list_comments |
List comments on an issue |
jira_list_projects |
List accessible projects |
jira_get_project |
Get project details by key |
jira_list_link_types |
List available issue link types |
jira_list_fields |
List all fields (system + custom) — discover customfield_* IDs |
jira_list_attachments |
List attachments on an issue with filename, size, MIME type, and download URL |
jira_get_transitions |
Get available transitions for an issue with required screen fields expanded |
Write Tools (write:jira-work)
| Tool | Description |
|---|---|
jira_create_issue |
Create an issue (task, bug, story, epic). Supports custom fields |
jira_update_issue |
Update fields on an issue. Supports custom fields |
jira_add_comment |
Add a comment (plain text auto-converted to ADF) |
jira_transition_issue |
Move an issue to a new status. Accepts fields and comment for transition screens |
jira_delete_issue |
Delete an issue (requires confirm: true safety guard) |
jira_link_issues |
Link two issues (blocks, relates, split, clone, etc.) |
jira_add_attachment |
Upload a local file as an attachment to an issue |
jira_delete_attachment |
Delete an attachment by ID (requires confirm: true safety guard) |
User Tools (read:jira-user)
| Tool | Description |
|---|---|
jira_get_user |
Get user info by account ID |
jira_search_users |
Search users by name or email |
Safety
- Scope enforcement — tools are blocked server-side if their required scope isn't granted. The API call never happens.
- Read-only default — if
JIRA_SCOPESis not set, only read tools are even registered. - Delete confirmation —
jira_delete_issuerequiresconfirm: true. - No token logging — tokens are redacted from all error messages via
sanitizeError. - No admin operations — no project creation/deletion, workflow changes, or webhook management. Ever.
Troubleshooting
"Client must be authenticated" (401)
You're probably using a scoped token against the old yoursite.atlassian.net URL. Scoped tokens (ATATT... prefix) only work via api.atlassian.com. This server handles this automatically — make sure you're using mcp-jira-scoped, not another Jira MCP server.
"Failed to parse Connect Session Auth Token" (403)
You're sending a scoped token as a Bearer token. Scoped tokens use Basic auth (email:token) via the api.atlassian.com gateway. Again, this server handles it — this error means you're using a different server.
Token scopes vs server scopes
There are two layers of scope enforcement:
- Atlassian's scopes — set when you create the token. These control what Atlassian's API allows.
- Server scopes (
JIRA_SCOPESenv var) — control what tools this MCP server makes available. These can only be more restrictive, never less.
If you get a 403 from Atlassian, check that your token has the required scope. If you get a scope enforcement error from the MCP server, check your JIRA_SCOPES env var.
Custom fields
Jira projects often have required custom fields (e.g. "Work Category", "Story Point Estimate"). Use the customFields parameter on jira_create_issue and jira_update_issue:
Create an issue in PROJ with summary "Fix login bug" and set customfield_10016 to 3
The AI will pass {"customFields": {"customfield_10016": 3}}. To find custom field IDs, check your Jira project's field configuration.
Cloud ID
The server auto-fetches your Cloud ID from https://yourinstance.atlassian.net/_edge/tenant_info. If this fails (e.g. corporate firewall), set JIRA_CLOUD_ID manually.
Roadmap
See Prioritised-TodoList.md for the full feature checklist — what's built, what's next, and where contributions are welcome. Key areas open for contribution:
- Issue tools — assign shortcut, create/transition metadata discovery
- Comments — edit and delete
- Watchers & Worklogs — full CRUD
- Boards & Sprints — Agile workflow support
- Attachments — list, download, upload
Development
git clone https://github.com/deepwired/mcp-jira.git
cd mcp-jira
npm install
npm run build
npm test
See CONTRIBUTING.md for details on adding tools and submitting PRs.
Note on Package Naming
The GitHub repo is mcp-jira but the npm package is mcp-jira-scoped. We plan to unify under mcp-jira in a future release. For now, use npx -y mcp-jira-scoped to run the server.
License
Apache 2.0 — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。