GitHub-Jira MCP Server

GitHub-Jira MCP Server

Enables secure integration between GitHub and Jira with permission controls, allowing users to manage repositories, create issues and pull requests, and handle Jira project workflows through natural language. Supports OAuth authentication and comprehensive security enforcement for both platforms.

Category
Visit Server

README

GitHub-Jira MCP Server

A comprehensive Model Context Protocol (MCP) server that provides secure integration between GitHub and Jira with proper permission controls and security enforcement.

🛠️ Installation

Prerequisites

  • Python 3.11+
  • GitHub Personal Access Token
  • Jira OAuth App Credentials

Setup

  1. Clone the repository

    git clone <your-repo>
    cd mcp-servers
    
  2. Install dependencies

    uv sync
    
  3. Configure environment variables

    cp env.example .env
    # Edit .env with your actual credentials
    
  4. Set up credentials

    GitHub:

    • Go to GitHub Settings > Tokens
    • Generate a new personal access token
    • Required scopes: repo (for private repos), public_repo (for public repos)

    Jira:

    • Go to Atlassian Developer Console
    • Create a new OAuth app
    • Set redirect URI to: http://localhost:8080/callback
    • Note your Jira instance URL, client ID, and client secret

🔧 Configuration

Environment Variables

Create a .env file in your project root:

# GitHub Configuration
GITHUB_TOKEN=ghp_your_github_token_here

# Jira OAuth Configuration
JIRA_URL=https://your-domain.atlassian.net
JIRA_CLIENT_ID=your_jira_oauth_client_id_here
JIRA_CLIENT_SECRET=your_jira_oauth_client_secret_here

# Optional: Jira Access Tokens (will be obtained automatically via OAuth)
JIRA_ACCESS_TOKEN=
JIRA_REFRESH_TOKEN=

# Optional: Logging
LOG_LEVEL=INFO

MCP Client Configuration

Add this to your MCP client configuration:

{
  "mcpServers": {
    "github-jira": {
      "command": "python",
      "args": ["mcp_github_jira_server.py"],
      "env": {
        "GITHUB_TOKEN": "your_token_here",
        "JIRA_URL": "https://your-domain.atlassian.net",
        "JIRA_CLIENT_ID": "your_jira_oauth_client_id_here",
        "JIRA_CLIENT_SECRET": "your_jira_oauth_client_secret_here"
      }
    }
  }
}

📚 Usage

Starting the Server

python mcp_github_jira_server.py

Available Tools

GitHub Tools

  • github_read_file(owner, repo, path) - Read file content with security checks
  • github_create_issue(owner, repo, title, body, labels) - Create issues in own repos
  • github_create_pull_request(owner, repo, title, body, head, base) - Create PRs in own repos
  • github_delete_file(owner, repo, path, message, sha) - Delete files from own repos
  • check_github_permissions() - Check current GitHub permissions

Jira Tools

  • jira_create_issue(project_key, summary, description, issue_type) - Create issues
  • jira_search_issues(jql, max_results) - Search issues using JQL
  • jira_update_issue(issue_key, updates) - Update issue fields
  • jira_add_comment(issue_key, comment) - Add comments to issues
  • jira_transition_issue(issue_key, transition_id) - Move issues through workflows
  • check_jira_permissions() - Check current Jira permissions
  • setup_jira_oauth() - Setup Jira OAuth authentication

Available Resources

GitHub Resources

  • github://{owner}/{repo} - Repository information
  • github://{owner}/{repo}/files/{path} - File content

Jira Resources

  • jira://projects/{project_key} - Project information
  • jira://issues/{issue_key} - Issue details

Available Prompts

  • check_repository_security_permissions - Check GitHub permissions
  • read_file_from_github_repo - Read files from GitHub
  • create_jira_issue_in_project - Create Jira issues
  • update_jira_issue_workflow - Update workflow states
  • github_repository_management - Manage GitHub repos
  • jira_project_workflow_management - Manage Jira projects
  • setup_jira_oauth_authentication - Setup Jira OAuth authentication

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured