SDKMAN Interactive CLI

by ocean-zhc

1 stars
167 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server for SDKMAN. Can help you execute the SDK from any command line.

Details

Author
ocean-zhc
GitHub stars
1
Downloads
167
Categories
Developer Tools

- Interactive version selection with formatted display
- Version filtering by keyword (e.g., "21" for Java 21)
- Support for all SDKMAN candidates (Java, Kotlin, Gradle, etc.)
- Comprehensive command-line interface
- User-friendly display of version information

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 SDKMAN Interactive CLI
    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 by cloning the repository and ensure Python 3.6+, SDKMAN, and a Bash shell are available. Use it as a Python module (e.g., sdk_interactive_install("java", "21")) or via CLI scripts (e.g., python examples/install_sdk.py java 21). For AI assistant integration, configure the module as an MCP server in the assistant’s settings (e.g., Claude Desktop claude_desktop_config.json).

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "sdkman interactive cli": {
            "sdkman-mcp": {
                "command": "python",
                "args": [
                    "examples/install_sdk.py",
                    "java",
                    "#",
                    "Install",
                    "any",
                    "Java",
                    "version"
                ]
            }
        }
    }
}

McpServers

{
    "sdkman-mcp": {
        "command": "python",
        "args": [
            "examples/install_sdk.py",
            "java",
            "#",
            "Install",
            "any",
            "Java",
            "version"
        ]
    }
}

SDKMAN Interactive CLI

An interactive command-line interface for SDKMAN (Software Development Kit Manager), making it easier to browse, filter, and install SDKs.

中文文档

Features

- Interactive version selection with formatted display
- Version filtering by keyword (e.g., "21" for Java 21)
- Support for all SDKMAN candidates (Java, Kotlin, Gradle, etc.)
- Comprehensive command-line interface
- User-friendly display of version information

Prerequisites

- Python 3.6+
- SDKMAN installed and configured
- Bash shell environment

Installation

Clone this repository:

git clone https://github.com/yourusername/sdkman-mcp.git
cd sdkman-mcp

Usage

As a Python Module

```python
from src.sdkman_mcp.sdk_commands import sdk_interactive_install

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.