
A TypeScript-based MCP server for Jira integration with Cursor
概览
A TypeScript-based MCP server that integrates with Jira, allowing Cursor to interact with Jira tickets. - List Jira tickets - Get ticket details - Get ticket comments - Create new tickets - Add comments to tickets - Update ticket status - Full MCP protocol support for Cursor integration To install Jira MCP Server for Cursor for Claude Desktop automatically via Smithery: 2. Create a .env file based on .env.example and fill in your Jira credentials: 1. Log in to https://id.atlassian.com/manage/api-tokens 2. Click "Create API token" 3. Copy the token and paste it in your .env file To use this MCP server with Cursor, you have two options: 2. Open Cursor's settings: - Click on the Cursor menu - Select "Settings" (or use the keyboard shortcut) - Navigate to the "Extensions" or "Integrations" section Replace /path/to/jira-mcp-cursor with the absolute path to your project.
README
以下为原文 README 节选,完整内容请查看原文。
Jira MCP Server for Cursor
A TypeScript-based MCP server that integrates with Jira, allowing Cursor to interact with Jira tickets.
Features
- List Jira tickets
- Get ticket details
- Get ticket comments
- Create new tickets
- Add comments to tickets
- Update ticket status
- Full MCP protocol support for Cursor integration
Setup
Installing via Smithery
To install Jira MCP Server for Cursor for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kornbed/jira-mcp-server --client claude
- Install dependencies:
npm install
- Create a
.envfile based on.env.exampleand fill in your Jira credentials:
JIRA_HOST=https://your-domain.atlassian.net
[email protected]
JIRA_API_TOKEN=your-api-token
PORT=3000
To get your Jira API token:
- Log in to
- Click “Create API token”
- Copy the token and paste it in your
.envfile
Development
Run the development server:
npm run dev
Build and Run
Build the project:
npm run build
Start the server:
npm start
Cursor Integration
To use this MCP server with Cursor, you have two options:
Option 1: Command-based Integration (Recommended)
- Build the project:
npm run build
-
Open Cursor’s settings:
- Click on the Cursor menu
- Select “Settings” (or use the keyboard shortcut)
- Navigate to the “Extensions” or “Integrations” section
-
Add the MCP configuration:
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["/path/to/jira-mcp-cursor/dist/server.js"]
}
}
}
Replace /path/to/jira-mcp-cursor with the absolute path to your project.
Option 2: HTTP-based Integration (Alternative)
- Start the MCP server (if not already running):
npm start
-
Open Cursor’s settings:
- Click on the Cursor menu
- Select “Settings” (or use the keyboard shortcut)
- Navigate to the “Extensions” or “Integrations” section
-
Add the MCP configuration:
{
"mcpServers": {
"jira": {
"url": "http://localhost:3000",
"capabilities": [
"list_tickets",
"get_ticket",
"get_comments",
"create_ticket",
"update_status",
"add_comment"
]
}
}
}
}
Using Jira in Cursor
After configuring the MCP server, you can use Jira commands directly in Cursor:
/jira list- List your tickets/jira view TICKET-123- View ticket details
安装
npx -y @smithery/cli install @kornbed/jira-mcp-server --client claude配置
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["/path/to/jira-mcp-cursor/dist/server.js"]
}
}
}