Token导航 LogoToken导航TokenDH.com
Cursor MCP Server (Davidgomezcol) logo
开发工具stdio官方级别未说明来源级核验

Cursor MCP Server (Davidgomezcol)

MCP Server

提供Jira问题上下文给AI助手的协议服务器,支持获取问题详情、评论及验证连接等功能。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
Jira集成开发工具PythonClaudeClaude DesktopClaudeCursorVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

davidgomezcol

提供方

davidgomezcol

最后核验

2026/5/17 20:19

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

uv run python -m app.main

详细介绍

Jira MCP服务器

MCP(模型上下文协议)服务器,为Cursor、VS Code Copilot、Claude Desktop和Codex等AI助手提供Jira问题上下文。

特性

  • get_jira_issue -按密钥获取完整的问题详细信息
  • get_jira_issue_from_branch -从git分支名称中提取Jira密钥并获取详细信息
  • get_jira_comments -获取问题的评论
  • test_jira_connection -验证Jira API连接

每个工具返回:

  • 问题摘要、描述、状态、优先级、受让人
  • 复制步骤 (摘自描述)
  • 近期评论 (最多10个)
  • 组件、标签和元数据

设置

先决条件

  • Python 3.11+
  • 紫外线 -快速Python包管理器
  • 带有API令牌的Jira帐户

安装

  1. 克隆存储库:
git clone 
cd cursor-mcp-server
  1. 安装uv(如果尚未安装):
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Or with Homebrew
brew install uv
  1. 安装依赖项:
uv sync

环境变量

创建一个 .env 项目根目录中的文件:

JIRA_SERVER=https://your-company.atlassian.net
JIRA_EMAIL=your-email@company.com
JIRA_API_TOKEN=your-jira-api-token

要创建Jira API令牌,请执行以下操作:

  1. 首选https://id.atlassian.com/manage-profile/security/api-tokens
  2. 点击“创建API令牌”
  3. 复制令牌并将其添加到您的 .env 文件

配置

光标

添加到光标MCP设置(~/.cursor/mcp.json):

{
  "mcpServers": {
    "jira": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/cursor-mcp-server", "python", "-m", "app.main"]
    }
  }
}

VS代码(副本)

添加到您的VS代码设置或 .vscode/mcp.json:

{
  "mcpServers": {
    "jira": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/cursor-mcp-server", "python", "-m", "app.main"]
    }
  }
}

克劳德桌面版

添加到您的Claude桌面配置(~/Library/Application Support/Claude/claude_desktop_config.json 在macOS上):

{
  "mcpServers": {
    "jira": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/cursor-mcp-server", "python", "-m", "app.main"]
    }
  }
}

法典

添加到您的Codex MCP配置中:

{
  "mcpServers": {
    "jira": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/cursor-mcp-server", "python", "-m", "app.main"]
    }
  }
}

可用工具

get_jira_issue

按密钥获取Jira问题的详细信息。

Input: { "issue_key": "PROJ-123" }
Output: {
  "issue_key": "PROJ-123",
  "summary": "Issue title",
  "description": "Full description...",
  "status": "In Progress",
  "priority": "High",
  "assignee": "John Doe",
  "reproduction_steps": "1. Do this\n2. Do that",
  "comments": [...]
}

get_jira_issue_from_branch

从git分支名称中提取Jira密钥并获取问题详细信息。

Input: { "branch_name": "feature/PROJ-123-add-feature" }
Output: { ... same as get_jira_issue ... }

get_jira_comments

获取Jira问题的评论。

Input: { "issue_key": "PROJ-123", "max_comments": 5 }
Output: {
  "issue_key": "PROJ-123",
  "comment_count": 5,
  "comments": [
    { "author": "Jane Doe", "body": "Comment text...", "created": "..." }
  ]
}

test_jira_connection

验证Jira API连接。

Input: {}
Output: {
  "status": "success",
  "connected_as": "John Doe",
  "email": "john@company.com"
}

发展

本地运行(用于测试)

uv run python -m app.main

运行测试

uv run pytest

项目结构

cursor-mcp-server/
├── app/
│   ├── __init__.py
│   ├── main.py          # MCP server and tool definitions
│   ├── jira_client.py   # Jira API client with caching
│   └── utils.py         # Utility functions
├── pyproject.toml       # Project configuration and dependencies
├── .env                 # Environment variables (not in git)
└── README.md

目录标签

目录标签

Jira集成开发工具PythonClaude本地部署AI助手支持任务管理API服务

支持客户端

Claude DesktopClaudeCursorVS Code

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

token

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiotoken部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP