Skip to main content
ClaudeWave
freema avatar
freema

mcp-jira-stdio

View on GitHub

MCP server for Jira integration with stdio transport. Issue management, project tracking, and workflow automation via Model Context Protocol.

MCP ServersOfficial Registry14 stars7 forksTypeScriptMITUpdated today
ClaudeWave Trust Score
87/100
Trusted
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
Last scanned: 6/11/2026
Install in Claude Code / Claude Desktop
Method: NPX · mcp-jira-stdio
Claude Code CLI
claude mcp add mcp-jira-stdio -- npx -y mcp-jira-stdio
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-jira-stdio": {
      "command": "npx",
      "args": ["-y", "mcp-jira-stdio"],
      "env": {
        "JIRA_BASE_URL": "<jira_base_url>",
        "JIRA_API_TOKEN": "<jira_api_token>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
JIRA_BASE_URLJIRA_API_TOKEN
Use cases

MCP Servers overview

<!-- mcp-name: io.github.freema/mcp-jira-stdio -->

# MCP Jira Server

[![TypeScript](https://img.shields.io/badge/TypeScript-5.0%2B-007ACC?logo=typescript&logoColor=white)](https://www.typescriptlang.org)
[![Node](https://img.shields.io/badge/Node.js-20%2B-339933?logo=node.js&logoColor=white)](https://nodejs.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/mcp-jira-stdio.svg)](https://www.npmjs.com/package/mcp-jira-stdio)
[![MCP Server](https://img.shields.io/badge/MCP-Server-blue)](https://glama.ai/mcp/servers)

[![CI](https://github.com/freema/mcp-jira-stdio/actions/workflows/ci.yml/badge.svg)](https://github.com/freema/mcp-jira-stdio/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/freema/mcp-jira-stdio/branch/main/graph/badge.svg)](https://codecov.io/gh/freema/mcp-jira-stdio)
[![GitHub issues](https://img.shields.io/github/issues/freema/mcp-jira-stdio)](https://github.com/freema/mcp-jira-stdio/issues)

<a href="https://glama.ai/mcp/servers/@freema/mcp-jira-stdio">
  <img width="380" height="200" src="https://glama.ai/mcp/servers/@freema/mcp-jira-stdio/badge" />
</a>

A Model Context Protocol (MCP) server for Jira API integration. Enables reading, writing, and managing Jira issues and projects directly from your MCP client (e.g., Claude Desktop).

## ⚡ Quick Install for Claude Code

The fastest way to add this MCP server to Claude Code:

```bash
claude mcp add jira npx mcp-jira-stdio@latest \
  --env JIRA_BASE_URL=https://yourcompany.atlassian.net \
  --env JIRA_EMAIL=your-email@example.com \
  --env JIRA_API_TOKEN=your-api-token
```

Replace the values with your actual Jira credentials:
- **JIRA_BASE_URL**: Your Jira instance URL (e.g., `https://yourcompany.atlassian.net`)
- **JIRA_EMAIL**: Your Jira account email
- **JIRA_API_TOKEN**: Your Jira API token ([generate here](https://id.atlassian.com/manage-profile/security/api-tokens))

That's it! The server will be automatically configured and ready to use.

### Alternative: Manual Configuration

If you prefer to configure manually or use Claude Desktop, see the [Configuration](#6-configure-mcp-client) section below.

## 🚀 Quick Start

### 1. Prerequisites

- Node.js v20 or higher
- Jira instance (Cloud or Server)
- Jira API token

### 2. Installation

```bash
# Install from npm
npm install -g mcp-jira-stdio

# Or install locally in your project
npm install mcp-jira-stdio
```

#### Development Installation

```bash
# Clone the repository
git clone https://github.com/freema/mcp-jira-stdio.git
cd mcp-jira-stdio

# Install dependencies
npm install
# or using Task runner
task install

# Build the project
npm run build
# or
task build
```

### 3. Jira API Setup

1. Go to your Jira instance settings
2. Create an API token:
   - **Jira Cloud**: Go to Account Settings → Security → Create and manage API tokens
   - **Jira Server**: Use your username and password (or create an application password)
3. Note your Jira base URL (e.g., `https://yourcompany.atlassian.net`)

### 4. Configuration

Create a `.env` file from the provided example:

```bash
# Copy the example environment file
cp .env.example .env

# Edit .env with your actual Jira credentials
# Or use Task runner:
task env
```

Example `.env` contents:

```env
JIRA_BASE_URL=https://your-instance.atlassian.net
JIRA_EMAIL=your-email@example.com
JIRA_API_TOKEN=your-api-token
```

**Note:** Generate your API token at [https://id.atlassian.com/manage-profile/security/api-tokens](https://id.atlassian.com/manage-profile/security/api-tokens)

### 5. Test Connection

```bash
# Test Jira connection
task jira:test

# List visible projects
task jira:projects
```

### 6. Configure MCP Client

#### For Claude Code

Use the quick install command (recommended):

```bash
claude mcp add jira npx mcp-jira-stdio@latest \
  --env JIRA_BASE_URL=https://yourcompany.atlassian.net \
  --env JIRA_EMAIL=your-email@example.com \
  --env JIRA_API_TOKEN=your-api-token
```

#### For Claude Desktop

Add to your Claude Desktop config:

- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
- **Linux**: `~/.config/claude/claude_desktop_config.json`

```json
{
  "mcpServers": {
    "jira": {
      "command": "mcp-jira-stdio",
      "env": {
        "JIRA_BASE_URL": "https://your-instance.atlassian.net",
        "JIRA_EMAIL": "your-email@example.com",
        "JIRA_API_TOKEN": "your-api-token"
      }
    }
  }
}
```

#### Alternative: Using npx

```json
{
  "mcpServers": {
    "jira": {
      "command": "npx",
      "args": ["mcp-jira-stdio"],
      "env": {
        "JIRA_BASE_URL": "https://your-instance.atlassian.net",
        "JIRA_EMAIL": "your-email@example.com",
        "JIRA_API_TOKEN": "your-api-token"
      }
    }
  }
}
```

Restart Claude Desktop after adding the configuration.

## 📦 Available Tools

### Projects

- `jira_get_visible_projects`: Retrieves all projects visible to the user.
- `jira_get_project_info`: Retrieves detailed information about a project (components, versions, roles, insights).

### Issues

- `jira_get_issue`: Retrieve issue details by key (supports optional fields/expand).
- `jira_search_issues`: Search for Jira issues using JQL with pagination and fields.
- `jira_create_issue`: Create a new issue in a project (type, priority, assignee, labels, components).
- `jira_update_issue`: Update an existing issue (summary, description, priority, assignee, labels, components).
- `jira_create_subtask`: Create a subtask under a parent issue (auto-detects subtask type).

### Comments

- `jira_add_comment`: Add a comment to an issue (optional visibility by group/role).

### Metadata & Users

- `jira_get_create_meta`: Get create metadata for a project showing all available fields (including custom fields) with their allowed values. Essential for discovering required fields before creating issues.
- `jira_get_issue_types`: List issue types (optionally per project).
- `jira_get_users`: Search for users (by query, username, or accountId).
- `jira_get_priorities`: List available priorities.
- `jira_get_statuses`: List available statuses (global or project-specific).
- `jira_get_custom_fields`: List all custom fields in Jira with their types and schemas.

### My Work

- `jira_get_my_issues`: Retrieve issues assigned to the current user (sorted by updated).

## 🛠️ Development

### Development Commands

```bash
# Development mode with hot reload
npm run dev
task dev

# Build for production
npm run build
task build

# Type checking
npm run typecheck
task typecheck

# Linting
npm run lint
task lint

# Format code
npm run format
task fmt

# Run all checks
npm run check
task check
```

### MCP Inspector

Debug your MCP server using the inspector:

```bash
# Run inspector (production build)
npm run inspector
task inspector

# Run inspector (development mode)
npm run inspector:dev
task inspector:dev
```

Notes:

- Startup no longer blocks on Jira connectivity. If Jira env vars are missing, the server still starts and lists tools; tool calls will fail with a clear auth error until you set `JIRA_BASE_URL`, `JIRA_EMAIL`, and `JIRA_API_TOKEN`.
- Connection testing runs only in development/test (`NODE_ENV=development` or `test`). Failures are logged but do not terminate the server, so the inspector can still display tools.

### Testing

```bash
# Run tests
npm test
task test

# Run tests with coverage
npm run test:coverage
task test:coverage

# Watch mode
npm run test:watch
task test:watch
```

## 📋 Project Structure

```
src/
├── index.ts              # Entry point & MCP server setup
├── config/
│   └── constants.ts      # API configuration & constants
├── tools/
│   ├── index.ts          # Tool exports
│   └── get-visible-projects.ts  # Get visible projects tool
├── types/
│   ├── common.ts         # Common types & interfaces
│   ├── jira.ts           # Jira API types
│   └── tools.ts          # Tool input/output schemas
└── utils/
    ├── jira-auth.ts      # Jira authentication & client
    ├── validators.ts     # Input validation with Zod
    ├── formatters.ts     # Response formatting
    ├── error-handler.ts  # Error handling
    └── api-helpers.ts    # Jira API helpers
```

## 🔧 Tool Usage Examples

### Get Visible Projects

```javascript
// List all projects
jira_get_visible_projects({});

// List projects with additional details
jira_get_visible_projects({
  expand: ['description', 'lead', 'issueTypes'],
});

// List recent projects only
jira_get_visible_projects({
  recent: 10,
});
```

## ❗ Troubleshooting

### Common Issues

**"Authentication failed"**

- Verify your API token is correct
- Check that your email matches your Jira account
- Ensure your Jira base URL is correct (no trailing slash)

**"Connection failed"**

- Verify your Jira instance is accessible
- Check network connectivity
- Ensure Jira REST API is enabled

**"Permission denied"**

- Verify your account has the necessary permissions
- Check project permissions in Jira
- Ensure you're using the correct Jira instance

**MCP Connection Issues**

- Ensure you're using the built version (`dist/index.js`)
- Check that Node.js path is correct in Claude Desktop config
- Look for errors in Claude Desktop logs
- Use `task inspector` to debug

**Timeout when running multiple instances with npx**

If you're running multiple Claude Code sessions simultaneously and experience timeouts, this is caused by `npx` cache/registry locking — not the MCP server itself. Each instance tries to verify the package, causing conflicts. To fix this, install the package globally instead:

```bash
npm install -g mcp-jira-stdio
claude mcp add jira mcp-jira-stdio \
  --env JIRA_BASE_URL=... \
  --env JIRA_EMAIL=... \
  --env JIRA_API_TOKEN=...
```

### Debug Commands

```bash
# Test Jira connection
task jira:test

# List projects (test API connectivity)
task jira:projects

# Run MCP inspector fo
automationclaude-codejiramcpmcp-server

What people ask about mcp-jira-stdio

What is freema/mcp-jira-stdio?

+

freema/mcp-jira-stdio is mcp servers for the Claude AI ecosystem. MCP server for Jira integration with stdio transport. Issue management, project tracking, and workflow automation via Model Context Protocol. It has 14 GitHub stars and was last updated today.

How do I install mcp-jira-stdio?

+

You can install mcp-jira-stdio by cloning the repository (https://github.com/freema/mcp-jira-stdio) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is freema/mcp-jira-stdio safe to use?

+

Our security agent has analyzed freema/mcp-jira-stdio and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains freema/mcp-jira-stdio?

+

freema/mcp-jira-stdio is maintained by freema. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to mcp-jira-stdio?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp-jira-stdio to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: freema/mcp-jira-stdio
[![Featured on ClaudeWave](https://claudewave.com/api/badge/freema-mcp-jira-stdio)](https://claudewave.com/repo/freema-mcp-jira-stdio)
<a href="https://claudewave.com/repo/freema-mcp-jira-stdio"><img src="https://claudewave.com/api/badge/freema-mcp-jira-stdio" alt="Featured on ClaudeWave: freema/mcp-jira-stdio" width="320" height="64" /></a>

More MCP Servers

mcp-jira-stdio alternatives