q-unified-mcp
v1.1.0
Published
Unified MCP server for Jira, Bitbucket, Jenkins, and Ticket Automation — 105+ DevOps automation tools
Downloads
22
Maintainers
Readme
Q Unified MCP Server
A unified Model Context Protocol (MCP) server that combines Jira, Bitbucket, Jenkins, and Ticket Automation functionality into a single comprehensive package.
Features
Jira Integration (Advanced)
- Basic Operations: Get issue details, search issues, create issues, add comments, transition issues
- User Management: Get users, search users, manage user assignments
- Project Management: Get projects, components, versions, create new projects
- Agile/Scrum: Manage boards, sprints, and sprint issues
- Issue Management: Advanced issue operations including worklogs, history, comments, linking
- Filters & Dashboards: Create and manage filters and dashboards
- Metadata: Access priorities, statuses, issue types
Bitbucket Integration (Advanced)
- Repository Management: List workspaces, repositories, branches, commits, tags
- Pull Request Operations: Create, manage, approve, merge, decline, reopen PRs
- File Operations: Get file content, diffs, and code search
- Build Integration: Manage build statuses and CI/CD integration
- Webhooks: Create and manage repository webhooks
- Permissions: Manage repository permissions and access control
- Analytics: Repository insights, statistics, and code analytics
Jenkins Integration (Advanced)
- Build Management: Trigger, monitor, stop builds, get build logs and artifacts
- Job Management: List jobs, get configurations, copy, enable/disable jobs
- Pipeline Operations: Manage pipeline stages, steps, inputs, and automation
- System Management: Manage nodes, views, plugins, system information
- Testing & Coverage: Get test results, code coverage, and quality metrics
- Artifacts: Download and manage build artifacts
- Advanced Features: Queue management, credentials, folders, load statistics
Ticket Automation (NEW!)
- Intelligent Analysis: Auto-analyze Jira tickets to extract version, type, and components
- Repository Detection: Automatically discover affected repositories based on ticket content
- Code Scanning: Deep-scan repositories for files related to specific tickets
- Workflow Automation: Complete end-to-end workflows from ticket to deployment
- Multi-Repo Support: Handle changes across multiple repositories simultaneously
- Smart Detection: Automatically detect if issues originate from library dependencies
- Git Integration: Automated branch creation, PR generation, and git operations
- Jira Integration: Move tickets through workflow states, add RCA comments, format commits
Cross-Platform Workflow Automation
- CI/CD Pipelines: Complete feature branch deployment automation
- Hotfix Management: Priority hotfix deployment with auto-merge capabilities
- Release Management: Automated release creation, tagging, and coordination
- Incident Response: Automated incident handling and escalation workflows
- Code Review: Automated code review processes and comment generation
- Quality Gates: Automated quality checks and validation pipelines
Installation
Via npm (recommended)
npm install -g q-unified-mcpFrom source
git clone https://github.com/user/q-unified-mcp.git
cd q-unified-mcp
npm install
npm run buildConfiguration
Create a .env file based on .env.example:
cp .env.example .envUpdate the .env file with your credentials:
# Jira Configuration
JIRA_BASE_URL=https://your-jira-instance.com
JIRA_API_TOKEN=your_jira_api_token_here
# Bitbucket Server (Stash) Configuration
BITBUCKET_URL=https://your-bitbucket-instance.com
BITBUCKET_API_TOKEN=your_bitbucket_api_token_here
[email protected]
# Jenkins Configuration
JENKINS_URL=https://your-jenkins-instance.com
JENKINS_USER=your_jenkins_username
JENKINS_API_TOKEN=your_jenkins_api_token_hereUsage
Development Mode
npm run devProduction Mode
npm startGlobal Installation (from source)
npm install -g .
q-unified-mcpVia npx (no install required)
npx q-unified-mcpMCP Client Configuration
Add this to your MCP client configuration:
{
"mcpServers": {
"q-unified": {
"command": "npx",
"args": ["-y", "q-unified-mcp"],
"disabled": false,
"env": {
"JIRA_BASE_URL": "https://your-jira-instance.com",
"JIRA_API_TOKEN": "your_jira_api_token",
"BITBUCKET_URL": "https://your-bitbucket-instance.com",
"BITBUCKET_API_TOKEN": "your_bitbucket_api_token",
"BITBUCKET_USER_EMAIL": "[email protected]",
"JENKINS_URL": "https://your-jenkins-instance.com",
"JENKINS_USER": "your_jenkins_username",
"JENKINS_API_TOKEN": "your_jenkins_api_token"
}
}
}
}Or if installed locally:
{
"mcpServers": {
"q-unified": {
"command": "node",
"args": ["/path/to/q-unified-mcp/dist/index.js"],
"disabled": false,
"env": {
"JIRA_BASE_URL": "https://your-jira-instance.com",
"JIRA_API_TOKEN": "your_jira_api_token",
"BITBUCKET_URL": "https://your-bitbucket-instance.com",
"BITBUCKET_API_TOKEN": "your_bitbucket_api_token",
"BITBUCKET_USER_EMAIL": "[email protected]",
"JENKINS_URL": "https://your-jenkins-instance.com",
"JENKINS_USER": "your_jenkins_username",
"JENKINS_API_TOKEN": "your_jenkins_api_token"
}
}
}
}Available Tools
Jira Tools (20+ tools)
Basic Operations:
jira_get_issue- Get details of a specific Jira issuejira_search_issues- Search for Jira issues using JQLjira_create_issue- Create a new Jira issuejira_add_comment- Add a comment to a Jira issuejira_transition_issue- Transition a Jira issue to a new statusjira_get_projects- Get all Jira projectsjira_get_transitions- Get available transitions for a Jira issue
Advanced Operations:
jira_get_users- Get all Jira usersjira_search_users- Search for Jira usersjira_get_project_components- Get components for a Jira projectjira_get_project_versions- Get versions for a Jira projectjira_get_boards- Get all Jira boardsjira_get_board_sprints- Get sprints for a Jira boardjira_get_sprint_issues- Get issues in a sprintjira_get_issue_comments- Get comments for a Jira issuejira_get_issue_history- Get history/changes for a Jira issuejira_get_issue_worklog- Get worklog for a Jira issuejira_add_worklog- Add worklog entry to a Jira issuejira_assign_issue- Assign a Jira issue to a userjira_update_issue- Update fields on a Jira issuejira_get_filters- Get favorite Jira filtersjira_create_filter- Create a new Jira filterjira_get_dashboards- Get all Jira dashboardsjira_get_dashboard- Get a specific Jira dashboardjira_link_issues- Link two Jira issuesjira_get_priorities- Get all Jira prioritiesjira_get_statuses- Get all Jira statusesjira_get_issue_types- Get all Jira issue typesjira_create_project- Create a new Jira project
Bitbucket Tools (25+ tools)
Repository Management:
bitbucket_get_workspaces- List all Bitbucket workspacesbitbucket_get_repositories- List repositories in a workspacebitbucket_get_branches- Get branches in a repositorybitbucket_get_commits- Get commits in a repository
Pull Request Operations:
bitbucket_get_pull_requests- Get pull requests for a repositorybitbucket_create_pull_request- Create a new pull requestbitbucket_add_pr_comment- Add a comment to a pull requestbitbucket_approve_pr- Approve a pull requestbitbucket_merge_pr- Merge a pull request
Advanced Operations:
bitbucket_get_file_content- Get file content from a repositorybitbucket_get_commit_diff- Get diff for a specific commitbitbucket_get_pr_diff- Get diff for a pull requestbitbucket_get_pr_activities- Get activities for a pull requestbitbucket_create_branch- Create a new branchbitbucket_delete_branch- Delete a branchbitbucket_create_tag- Create a new tagbitbucket_get_tags- Get all tags in a repositorybitbucket_get_repo_settings- Get repository settingsbitbucket_update_repo_settings- Update repository settingsbitbucket_get_webhooks- Get repository webhooksbitbucket_create_webhook- Create a new webhookbitbucket_delete_webhook- Delete a webhookbitbucket_get_repo_permissions- Get repository permissionsbitbucket_add_repo_permission- Add repository permission for userbitbucket_get_build_status- Get build status for a commitbitbucket_add_build_status- Add build status for a commitbitbucket_get_pr_changes- Get file changes in a pull requestbitbucket_request_pr_review- Request review for a pull requestbitbucket_decline_pr- Decline a pull requestbitbucket_reopen_pr- Reopen a declined pull requestbitbucket_get_repo_insights- Get repository insights/analyticsbitbucket_search_code- Search code in a repositorybitbucket_get_repo_statistics- Get repository statistics
Jenkins Tools (30+ tools)
Build Management:
jenkins_list_jobs- List all Jenkins jobsjenkins_get_job_status- Get detailed status of a specific Jenkins jobjenkins_get_build_status- Get detailed status of a specific buildjenkins_get_build_console- Get the console output of a buildjenkins_trigger_build- Trigger a new build for a jobjenkins_stop_build- Stop a running buildjenkins_list_running_builds- List all currently running and queued buildsjenkins_get_job_parameters- Get the parameters defined for a parameterized jobjenkins_cancel_queued_build- Cancel a build that is waiting in the queue
Advanced Operations:
jenkins_get_nodes- Get all Jenkins nodes (agents)jenkins_get_node_details- Get details of a specific Jenkins nodejenkins_create_node- Create a new Jenkins nodejenkins_delete_node- Delete a Jenkins nodejenkins_get_views- Get all Jenkins viewsjenkins_create_view- Create a new Jenkins viewjenkins_delete_view- Delete a Jenkins viewjenkins_get_pipeline_stages- Get stages for a pipeline buildjenkins_get_pipeline_steps- Get steps for a pipeline stagejenkins_get_build_artifacts- Get artifacts for a buildjenkins_download_artifact- Download a specific build artifactjenkins_get_build_test_results- Get test results for a buildjenkins_get_build_coverage- Get code coverage for a buildjenkins_get_queue- Get Jenkins build queuejenkins_get_credentials- Get Jenkins credentialsjenkins_create_folder- Create a Jenkins folderjenkins_get_plugins- Get Jenkins pluginsjenkins_install_plugin- Install a Jenkins pluginjenkins_get_system_info- Get Jenkins system informationjenkins_get_load_statistics- Get Jenkins load statisticsjenkins_get_build_trends- Get build trends for a jobjenkins_get_job_configuration- Get job configuration XMLjenkins_update_job_configuration- Update job configurationjenkins_copy_job- Copy a Jenkins jobjenkins_disable_job- Disable a Jenkins jobjenkins_enable_job- Enable a Jenkins jobjenkins_get_build_log- Get build log textjenkins_get_build_changes- Get changes for a buildjenkins_replay_build- Replay a build with same configurationjenkins_get_pipeline_input- Get pending input for pipelinejenkins_submit_pipeline_input- Submit input for pipeline
Ticket Automation Tools (15+ tools)
Analysis & Planning:
ticket_analyze- Analyze a Jira ticket to extract version, type, and detailsticket_create_branch_plan- Create version-aware branch plan based on ticket analysisticket_detect_affected_repos- Auto-discover git repos and find which are affected by the Jira ticketticket_scan_code_changes- Deep-scan specific repos for files related to a ticketticket_get_attachments_and_comments- Read Jira ticket attachments and all comments
Git & PR Operations:
ticket_setup_git_branch- Setup git branch - checkout base, pull latest, create working branchticket_create_pr_plan- Create pull request plan with title and descriptionticket_create_pr- Create Pull Request in Bitbucket directly via APIticket_format_commit_message- Generate conventional commit message format
Workflow Automation:
ticket_complete_workflow- Complete workflow: Analyze, branch, commit, and prepare PR (full automation)ticket_multi_repo_workflow- Multi-repo end-to-end workflow with auto-discoveryticket_smart_workflow- Self-driven workflow with library dependency detectionticket_detect_library_issue- Detect if issue originates from a node_modules library dependencyticket_fix- Complete workflow: Analyze, branch, commit, and prepare PR (full automation)
Jira Integration:
ticket_move_to_code_review- Move Jira ticket to Code Review statusticket_add_rca_comment- Add RCA (Root Cause Analysis) comment to Jira ticket
Workflow Automation Tools (6 tools)
workflow_deploy_feature_branch- Deploy a feature branch through complete CI/CD pipelineworkflow_deploy_hotfix- Deploy a hotfix with priority handlingworkflow_create_release- Create and manage a releaseworkflow_handle_incident- Handle incident response workflowworkflow_automate_code_review- Automate code review processworkflow_run_quality_gates- Run quality gates on a branch
Development
Project Structure
src/
├── clients/
│ ├── jira-client.ts # Jira API client
│ ├── bitbucket-client.ts # Bitbucket API client
│ ├── jenkins-client.ts # Jenkins API client
│ └── ticket-automation-client.ts # Ticket automation client
├── workflows.ts # Cross-platform workflow automation
├── types.ts # TypeScript type definitions
├── config.ts # Configuration management
└── index.ts # Main MCP serverTotal Tools Summary
This unified MCP server provides 80+ tools across 4 major categories:
- Jira: 23 tools (basic + advanced operations)
- Bitbucket: 28 tools (repository + PR + advanced operations)
- Jenkins: 33 tools (build + system + advanced operations)
- Ticket Automation: 15 tools (analysis + workflow automation)
- Workflow Automation: 6 tools (cross-platform workflows)
Total: 105+ comprehensive DevOps automation tools
Building
npm run buildTesting
npm testSecurity Notes
- Never hardcode API tokens or credentials in source files
- Store all secrets in environment variables or
.envfiles - Add
.envto.gitignore— never commit it - Use read-only tokens when possible
- Regularly rotate API tokens
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
MIT License - see LICENSE file for details.
