Atlassian Jira MCP Server
by aashari
This project provides a Model Context Protocol (MCP) server that acts as a bridge between AI assistants and your Atlassian Jira instance. It allows AI to securely access and interact with your projects, issues, and other Jira resources in real time.
Last updated: N/A
Atlassian Jira MCP Server
This project provides a Model Context Protocol (MCP) server that acts as a bridge between AI assistants (like Anthropic's Claude, Cursor AI, or other MCP-compatible clients) and your Atlassian Jira instance. It allows AI to securely access and interact with your projects, issues, and other Jira resources in real time.
Overview
What is MCP?
Model Context Protocol (MCP) is an open standard that allows AI systems to securely and contextually connect with external tools and data sources.
This server implements MCP specifically for Jira Cloud, bridging your Jira data with AI assistants.
Why Use This Server?
-
Minimal Input, Maximum Output Philosophy: Simple identifiers like
projectKeyOrId
andissueIdOrKey
are all you need. Each tool returns comprehensive details without requiring extra flags. -
Complete Jira Context: Provide your AI assistant with full visibility into projects, issues, comments, and all relevant metadata to understand your work context.
-
Rich Development Information: Get detailed insights into branches, commits, and pull requests linked to issues, creating a bridge between your issue tracking and code repositories.
-
Secure Local Authentication: Credentials are never stored in the server. The server runs locally, so your tokens never leave your machine and you can request only the permissions you need.
-
Intuitive Markdown Responses: All responses use well-structured Markdown for readability with consistent formatting and navigational links.
Getting Started
Prerequisites
- Node.js (>=18.x): Download
- Atlassian Account with access to Jira Cloud
Step 1: Get Your Atlassian API Token
- Go to your Atlassian API token management page: https://id.atlassian.com/manage-profile/security/api-tokens
- Click Create API token.
- Give it a descriptive Label (e.g.,
mcp-jira-access
). - Click Create.
- Copy the generated API token immediately. You won't be able to see it again.
Step 2: Configure Credentials
Method A: MCP Config File (Recommended)
Create or edit ~/.mcp/configs.json
:
{
"@aashari/mcp-server-atlassian-jira": {
"environments": {
"ATLASSIAN_SITE_NAME": "<YOUR_SITE_NAME>",
"ATLASSIAN_USER_EMAIL": "<YOUR_ATLASSIAN_EMAIL>",
"ATLASSIAN_API_TOKEN": "<YOUR_COPIED_API_TOKEN>"
}
}
}
<YOUR_SITE_NAME>
: Your Jira site name (e.g.,mycompany
formycompany.atlassian.net
).<YOUR_ATLASSIAN_EMAIL>
: Your Atlassian account email.<YOUR_COPIED_API_TOKEN>
: The API token from Step 1.
Method B: Environment Variables
Pass credentials directly when running the server:
ATLASSIAN_SITE_NAME="<YOUR_SITE_NAME>" \
ATLASSIAN_USER_EMAIL="<YOUR_EMAIL>" \
ATLASSIAN_API_TOKEN="<YOUR_API_TOKEN>" \
npx -y @aashari/mcp-server-atlassian-jira
Step 3: Connect Your AI Assistant
Configure your MCP-compatible client to launch this server.
Claude / Cursor Configuration:
{
"mcpServers": {
"aashari/mcp-server-atlassian-jira": {
"command": "npx",
"args": ["-y", "@aashari/mcp-server-atlassian-jira"]
}
}
}
This configuration launches the server automatically at runtime.
Tools
This section covers the MCP tools available when using this server with an AI assistant. Note that MCP tools use snake_case
for tool names and camelCase
for parameters.
list_projects
List available Jira projects with optional filtering and pagination.
{}
or:
{ "name": "Platform" }
"Show me all my Jira projects."
get_project
Get full details for a specific project, including components and versions.
{ "projectKeyOrId": "DEV" }
or:
{ "projectKeyOrId": "10001" }
"Tell me about the DEV project in Jira."
list_issues
List issues matching a JQL (Jira Query Language) query with pagination.
{ "jql": "project = DEV AND status = 'In Progress'" }
or:
{ "jql": "assignee = currentUser() AND resolution = Unresolved" }
"Find open bugs assigned to me in the DEV project."
get_issue
Get comprehensive details for a specific issue, including description, comments, and linked development information.
{ "issueIdOrKey": "PROJ-123" }
or:
{ "issueIdOrKey": "10001" }
"Show me all details and linked commits for issue PROJ-123."
search
Search Jira content using JQL (Jira Query Language) for advanced filtering.
{ "jql": "text ~ 'login issue'" }
or:
{ "jql": "project = PROJ AND priority = High AND created >= startOfMonth()" }
"Search for high priority issues created this month in the PROJ project."
Command-Line Interface (CLI)
The CLI uses kebab-case for commands (e.g., list-projects
) and options (e.g., --project
).
Quick Use with npx
npx -y @aashari/mcp-server-atlassian-jira list-projects
npx -y @aashari/mcp-server-atlassian-jira get-issue --issue PROJ-123
Install Globally
npm install -g @aashari/mcp-server-atlassian-jira
Then run directly:
mcp-atlassian-jira list-projects
Discover More CLI Options
Use --help
to see flags and usage for all available commands:
mcp-atlassian-jira --help
Or get detailed help for a specific command:
mcp-atlassian-jira get-project --help
mcp-atlassian-jira list-issues --help
mcp-atlassian-jira search --help