返回 Skill 列表
extension
分类: 开发与工程无需 API Key

atlassian-mcp

使用Atlassian MCP服务器从编码代理(Cursor、Claude Code)与JIRA进行交互。此技能文档介绍了如何使用官方的Atlassian MCP服务器执行JIRA和Confluence操作。请在您的Cursor/Claude Code设置中启用此MCP服务器以访问JIRA。

person作者: jakexiaohubgithub

Atlassian MCP Server for JIRA

The Atlassian MCP Server provides direct access to JIRA and Confluence from coding agents. This is the supported way to access Atlassian data from Cursor or Claude Code.

Setup

In Cursor

The Atlassian MCP Server is already configured globally. To enable it:

  1. Open Cursor Settings
  2. Go to Tools & MCP
  3. Enable "Atlassian-MCP-Server"

Configuration location: ~/.cursor/mcp.json

{
  "mcpServers": {
    "Atlassian-MCP-Server": {
      "url": "https://mcp.atlassian.com/v1/sse"
    }
  }
}

In Claude Code

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "Atlassian-MCP-Server": {
      "url": "https://mcp.atlassian.com/v1/sse"
    }
  }
}

Available Tools

When enabled, the Atlassian MCP Server provides these tools:

Issue Operations

| Tool | Description | | ---------------------------------------- | ------------------------------- | | mcp_Atlassian_getJiraIssue | Get details of a specific issue | | mcp_Atlassian_createJiraIssue | Create a new issue | | mcp_Atlassian_editJiraIssue | Update an existing issue | | mcp_Atlassian_transitionJiraIssue | Change issue status | | mcp_Atlassian_searchJiraIssuesUsingJql | Search issues with JQL |

Comments

| Tool | Description | | ------------------------------------- | -------------------------- | | mcp_Atlassian_addCommentToJiraIssue | Add a comment to an issue | | mcp_Atlassian_getJiraIssueComments | Get comments from an issue |

Confluence (if enabled)

| Tool | Description | | ------------------------------------ | ------------------------ | | mcp_Atlassian_createConfluencePage | Create a Confluence page | | mcp_Atlassian_getConfluencePage | Get a Confluence page | | mcp_Atlassian_searchConfluence | Search Confluence |

Common Patterns

Get Issue Details

Use mcp_Atlassian_getJiraIssue with issueKey: "PROJ-123"

Search for Issues

Use mcp_Atlassian_searchJiraIssuesUsingJql with:
  jql: "project = YOUR_PROJECT AND component = 'YOUR_COMPONENT' AND status = 'In Progress'"

Create an Issue

Use mcp_Atlassian_createJiraIssue with:
  project: "YOUR_PROJECT"
  issueType: "Story"
  summary: "Implement new feature"
  description: "Description of the feature"
  components: ["YOUR_COMPONENT"]

Transition Issue Status

Use mcp_Atlassian_transitionJiraIssue with:
  issueKey: "PROJ-123"
  transition: "In Progress"

Add Comment

Use mcp_Atlassian_addCommentToJiraIssue with:
  issueKey: "PROJ-123"
  comment: "Started working on this issue"

JQL Quick Reference

Common JQL queries for the Orient Task Force:

# All issues for YOUR_COMPONENT
project = YOUR_PROJECT AND component = "YOUR_COMPONENT"

# In Progress issues
project = YOUR_PROJECT AND component = "YOUR_COMPONENT" AND status = "In Progress"

# Blockers
project = YOUR_PROJECT AND component = "YOUR_COMPONENT" AND (priority = Blocker OR labels = blocked)

# Recent issues (last 7 days)
project = YOUR_PROJECT AND component = "YOUR_COMPONENT" AND created >= -7d

# My issues
project = YOUR_PROJECT AND component = "YOUR_COMPONENT" AND assignee = currentUser()

# Sprint issues
project = YOUR_PROJECT AND component = "YOUR_COMPONENT" AND sprint in openSprints()

Troubleshooting

"Tool not found" Error

Make sure the Atlassian MCP Server is enabled in your IDE settings. The tools won't appear until the server is connected.

Authentication Issues

The Atlassian MCP Server uses OAuth. If you're not authenticated:

  1. The tool will prompt you to authenticate
  2. Follow the OAuth flow in your browser
  3. Grant the necessary permissions

Rate Limits

The Atlassian MCP Server is subject to Atlassian's rate limits. If you hit limits:

  • Reduce query frequency
  • Use more specific JQL to reduce result sets
  • Cache results when appropriate