DevOps MCP Server

by huangjien

151 downloads Not rated yet MIT
GitHub

About

A DevOps MCP server, python implementation, release in docker mode.

Details

License
MIT

Explore

- GitHub integration: repository search, file access, issue tracking, code search, commit history.
- Jenkins integration: job management, build logs, view management, failure monitoring.
- Artifactory integration: repository browsing, artifact search via AQL, item details.
- Supports both public GitHub and GitHub Enterprise (configure GITHUB_API_URL).
- Read-only operations for safety; no system modifications.
- Dynamic prompts for common DevOps tasks (daily check, build troubleshooting, repo health assessment).

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name DevOps MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the package using pip:

pip install devops-mcps

The server supports two communication transport types:

- stdio (default): Standard input/output.
- stream_http: HTTP streaming transport.

Local Usage:


make install

make dev

export ARTIFACTORY_IDENTITY_TOKEN="your_artifactory_identity_token"

The server will automatically load environment variables from the .env file when it starts.

Prompt: build_troubleshoot
Parameters:
- job_name: "my-application-build"

Purpose: Comprehensive repository health assessment with security analysis and DevOps best practices evaluation.

Parameters:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| repo_name | string | ✅ Yes | Repository name in format 'owner/repo' |
| include_security | boolean | ❌ No | Include security analysis in the assessment |
| check_ci_cd | boolean | ❌ No | Analyze CI/CD pipeline configuration |

Usage Examples:


export JENKINS_URL="https://your-jenkins-server.com"
export JENKINS_USER="your-username"
export JENKINS_TOKEN="your-api-token"

To use GitHub-related prompts like quick_repo_check, ensure you have:


export GITHUB_PERSONAL_ACCESS_TOKEN="your_github_token"

Template Variables:
- Use {{variable_name}} for simple variable substitution
- Use {{#variable_name}}...{{/variable_name}} for conditional blocks (shown if variable has a value)
- Use {{^variable_name}}...{{/variable_name}} for negative conditional blocks (shown if variable is empty/null)

Available Tools for Prompts:
Your prompts can reference any of the available MCP tools:
- GitHub tools: search_repositories, get_file_contents, list_commits, list_issues, etc.
- Jenkins tools: get_jenkins_jobs, get_jenkins_build_log, get_recent_failed_jenkins_builds, etc.
- Azure tools: get_azure_subscriptions, list_azure_vms, list_aks_clusters, etc.
- Artifactory tools: list_artifactory_items, search_artifactory_items, get_artifactory_item_info, etc.

uv pip install -e ".[dev]"

npx @modelcontextprotocol/inspector uvx run devops-mcps -e GITHUB_PERSONAL_ACCESS_TOKEN=... -e JENKINS_URL=... # Add other vars


Checking for package dependencies outdated

bash
uv pip list --outdated

Updating package dependencies
bash
uv lock --upgrade
```

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "devops mcp server": {
            "devops-mcps": {
                "command": "uvx",
                "args": [
                    "run",
                    "devops-mcps"
                ]
            }
        }
    }
}

McpServers

{
    "devops-mcps": {
        "command": "uvx",
        "args": [
            "run",
            "devops-mcps"
        ]
    }
}

PyPI version
License: MIT
Coverage

A FastMCP-based MCP server providing a suite of DevOps tools and integrations.

This server operates in a read-only manner, retrieving data for analysis and display without modifying your systems. It's designed with safety in mind for DevOps environments.

Certified by MCP Review

Features

The DevOps MCP Server integrates with various essential DevOps platforms:

GitHub Integration

- Repository Management: Search and view repository details.
- File Access: Retrieve file contents from repositories.
- Issue Tracking: Manage and track issues.
- Code Search: Perform targeted code searches.
- Commit History: View commit history for branches.
- Public & Enterprise Support: Automatically detects and connects to both public GitHub and GitHub Enterprise instances (configurable via GITHUB_API_URL).

Jenkins Integration

- Job Management: List and manage Jenkins jobs.
- Build Logs: Retrieve and analyze build logs.
- View Management: Access and manage Jenkins views.
- Build Parameters: Inspect parameters used for builds.
- Failure Monitoring: Identify and monitor recent failed builds.

Artifactory Integration

- Repository Browsing: List items (files and directories) within Artifactory repositories.
- Artifact Search: Search for artifacts by name or path across multiple repositories using Artifactory Query Language (AQL).
- Item Details: Retrieve metadata and properties for specific files and directories.
- Authentication: Supports both token-based and username/password authentication.

Installation

Install the package using pip:

pip install devops-mcps

Usage

Run the MCP server directly:

devops-mcps

Transport Configuration

The server supports two communication transport types:

- stdio (default): Standard input/output.
- stream_http: HTTP streaming transport.

Local Usage:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.