Jira MCP 服务器

Jira MCP 服务器

一个基于 TypeScript 的 Jira 集成 MCP 服务器,用于 Cursor 工具。

快速入门

  1. 安装依赖: npm install

  2. 创建 .env 文件并填写 Jira 凭证: JIRA_HOST=https://your-domain.atlassian.net JIRA_EMAIL=your-email@example.com JIRA_API_TOKEN=your-api-token PORT=3000

  3. 启动开发服务器: npm run dev

  4. 构建项目: npm run build

  5. 启动服务器: npm start

配置 Cursor

在 Cursor 设置中添加以下配置:

使用命令集成: { "mcpServers": { "jira": { "command": "node", "args": ["/path/to/jira-mcp-cursor/dist/server.js"] } } }

或使用 HTTP 集成: { "mcpServers": { "jira": { "url": "http://localhost:3000", "capabilities": [ "list_tickets", "get_ticket", "get_comments", "create_ticket", "update_status", "add_comment" ] } } }