This MCP server for Jira Cloud enables seamless integration with Jira Cloud products, allowing you to search and read Jira issues through the Model Context Protocol. Note that this integration only works with Jira Cloud instances, not with Jira Server or Data Center deployments.
To set up the MCP Jira server:
Clone the repository from GitHub:
git clone https://github.com/username/mcp-jira.git
Navigate to the project directory:
cd mcp-jira
Install dependencies:
npm install
Build the project:
npm run build
Before using the MCP Jira server, you need to obtain API tokens from Atlassian:
To use this MCP server with Claude Desktop, you need to add it to your Claude Desktop configuration:
claude_desktop_config.json
file{
"mcpServers": {
"jira": {
"command": "npx",
"args": [
"-y",
"/your/project/path/mcp-jira",
"--jira-url",
"https://your-domain.atlassian.net",
"--jira-username",
"[email protected]",
"--jira-api-token",
"your_api_token"
]
}
}
}
Make sure to replace:
/your/project/path/mcp-jira
with the actual path to your cloned repositoryhttps://your-domain.atlassian.net
with your Jira Cloud URL[email protected]
with your Atlassian account emailyour_api_token
with the API token generated earlierThe MCP server provides the following tool:
issue_key
(string, required): The Jira issue key (e.g., 'PROJ-123')expand
(string, optional): Specific fields to expand in the responseWhen connected to Claude Desktop, you can request Jira issue information using natural language:
The MCP server will handle these requests by fetching the relevant issue data from your Jira Cloud instance.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "jira" '{"command":"npx","args":["-y","mcp-jira","--jira-url","https://your-domain.atlassian.net","--jira-username","[email protected]","--jira-api-token","your_api_token"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"jira": {
"command": "npx",
"args": [
"-y",
"mcp-jira",
"--jira-url",
"https://your-domain.atlassian.net",
"--jira-username",
"[email protected]",
"--jira-api-token",
"your_api_token"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"jira": {
"command": "npx",
"args": [
"-y",
"mcp-jira",
"--jira-url",
"https://your-domain.atlassian.net",
"--jira-username",
"[email protected]",
"--jira-api-token",
"your_api_token"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect