1. Conduid
  2. Blockchain
  3. Jira Oauth Token Generator
MCP server · Blockchain

Jira Oauth Token Generator

Generate OAuth credentials for Jira MCP Server the easy way - for Claude, Cursor & MCP clients

34Low

Scored 6 months ago · breakdown

About Jira Oauth Token Generator

Jira Oauth Token Generator is an MCP server in the Blockchain category: generate OAuth credentials for Jira MCP Server the easy way - for Claude, Cursor & MCP clients.

Install

From source
git clone https://github.com/dongitran/Jira-Oauth-Token-Generator

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Jira Oauth Token Generator

Powered by Claude · Grounded in docs

I know everything about Jira Oauth Token Generator. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

🔐 Jira OAuth Token Generator

Purpose: Generate OAuth credentials for Jira MCP Server the easy way - just click and copy/paste!

🎯 What does this tool do?

Instead of manually implementing the complex OAuth 2.0 flow, you simply:

  1. Run this server
  2. Click "Connect to Jira"
  3. Get ready-to-use credentials for Jira MCP Server

Relationship between the two projects:

Architecture Diagram

🏢 Use Case: Enterprise Setup

Why should companies use this?

Problem: Companies want their dev/PM teams to use AI (Claude, Cursor) to interact with Jira, but setting up OAuth for each person is complex and time-consuming.

Solution: Deploy a centralized OAuth Token Generator:

┌─────────────────────────────────────────────────────────────┐
│                      Company Workflow                       │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  1. IT Admin setup OAuth Generator (one-time only)          │
│     ├─ Create Atlassian OAuth App for company               │
│     ├─ Deploy internal server (or localhost)                │
│     └─ Set ALLOWED_WORKSPACE = "company-jira"               │
│                                                             │
│  2. Employees self-serve credentials (few clicks)           │
│     ├─ Open internal URL or localhost                       │
│     ├─ Click "Connect to Jira"                              │
│     ├─ Copy config JSON                                     │
│     └─ Paste into Claude/Cursor                             │
│                                                             │
│  3. Result                                                  │
│     ├─ ✅ Entire team can use AI + Jira integration         │
│     ├─ ✅ Workspace validation ensures only company staff   │
│     ├─ ✅ Tokens auto-refresh, no re-setup needed           │
│     └─ ✅ IT setup once, devs self-serve                    │
│                                                             │
└─────────────────────────────────────────────────────────────┘

🔄 OAuth Flow

OAuth Flow

⚡ Quick Start

1️⃣ Installation

git clone https://github.com/dongitran/Jira-Oauth-Token-Generator.git
cd Jira-Oauth-Token-Generator
npm install

2️⃣ Create Atlassian OAuth App

  1. Go to Atlassian Developer Console
  2. Create OAuth 2.0 integration
  3. Callback URL: http://localhost:3001/auth/callback
  4. Go to Permissions tab → configure each API:
    • Jira API: read:jira-user, read:jira-work, manage:jira-project, write:jira-work, read:board-scope:jira-software, read:sprint:jira-software, write:sprint:jira-software
    • User Identity API: read:me
    • Jira API (offline): offline_access
  5. Copy Client ID and Client Secret

3️⃣ Configuration

Create .env file:

JIRA_ATLASSIAN_CLIENT_ID=your_client_id
JIRA_ATLASSIAN_CLIENT_SECRET=your_client_secret
JIRA_REDIRECT_URI=http://localhost:3001/auth/callback
PORT=3001

4️⃣ Run

npm start
# or: npm run dev (auto-reload)
# or: pm2 start ecosystem.config.js

📖 How to Use

Step 1: Authenticate

  1. Open http://localhost:3001
  2. Click "Connect to Jira"
  3. Login to Atlassian and grant access

Step 2: Copy config

The server will display JSON config like this:

{
  "jira": {
    "command": "jira-mcp-server",
    "args": [
      "--access_token", "eyJhbGc...",
      "--refresh_token", "eyJhbGc...",
      "--client_id", "...",
      "--client_secret", "...",
      "--cloud_id", "..."
    ],
    "env": {}
  }
}

Click "Copy Config" to copy.

Step 3: Use in MCP Client

Option A: Direct Command (Recommended)

Use the config from Step 2 as-is.

Option B: Global Installation (If Option A doesn't work)

Sometimes the jira-mcp-server command may not be found. In this case, install the package globally:

npm install -g @urcard/jira-mcp-server

Then use this config format instead:

{
  "jira": {
    "command": "node",
    "args": [
      "/Users/YOUR_USERNAME/.nvm/versions/node/v20.x.x/lib/node_modules/@urcard/jira-mcp-server/server.js",
      "--access_token", "eyJhbGc...",
      "--refresh_token", "eyJhbGc...",
      "--client_id", "...",
      "--client_secret", "...",
      "--cloud_id", "..."
    ],
    "env": {}
  }
}

Note: Replace YOUR_USERNAME and v20.x.x with your actual Node version (>= 20). Find your path with:

which jira-mcp-server
# or
npm root -g

Configuration by Client

Claude Desktop:

# open config file
open ~/Library/Application\ Support/Claude/claude_desktop_config.json

# paste into "mcpServers" section
# restart Claude Desktop

Cursor:

  • Create .cursor/mcp.json → paste config → restart

VS Code:

# open config file
open ~/Library/Application\ Support/Code/User/mcp.json

# paste into "mcpServers" section
# restart VS Code

✅ Done! Tokens will auto-cache and refresh.

🔒 Security Features

  • CSRF Protection: UUID state tokens prevent attacks
  • Workspace Validation: Only company employees can authenticate
  • Token Caching: Tokens stored locally (~/.jira-mcp/), not sent over network
  • Session Expiry: Auth sessions auto-delete after 10 minutes
  • No Database: Stateless design, no sensitive data storage

📚 Related Links

👨‍💻 Author

dongtran ✨

📄 License

MIT


Made with ❤️ to make your work life easier!

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Jira Oauth Token Generator

How do I install Jira Oauth Token Generator?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Jira Oauth Token Generator safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Jira Oauth Token Generator still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.