MCP.so
ログイン

SDKMAN Interactive CLI

@ocean-zhc

SDKMAN Interactive CLI について

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

基本情報

カテゴリ

開発者ツール

ライセンス

Apache-2.0

ランタイム

python

トランスポート

stdio

公開者

ocean-zhc

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is SDKMAN Interactive CLI?

SDKMAN Interactive CLI is an interactive command-line interface for SDKMAN (Software Development Kit Manager) that simplifies browsing, filtering, and installing SDKs. It is for developers who want a user-friendly way to manage SDK versions via the terminal or through AI assistants using the Model Context Protocol.

How to use SDKMAN Interactive CLI?

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).

Key features of SDKMAN Interactive CLI

  • 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

Use cases of SDKMAN Interactive CLI

  • Browse and install Java or other SDK versions interactively
  • Filter versions by keyword to quickly find specific releases
  • Integrate with AI assistants to manage SDKs via natural language
  • Update, set default, or check current SDK versions through MCP

FAQ from SDKMAN Interactive CLI

What are the prerequisites to use SDKMAN Interactive CLI?

Python 3.6+, SDKMAN installed and configured, and a Bash shell environment are required.

How do I fix “SDKMAN not found” errors?

Ensure SDKMAN is properly installed at ~/.sdkman or set the SDKMAN_DIR environment variable.

How can I integrate SDKMAN Interactive CLI with an AI assistant?

Configure the module as an MCP server in your assistant’s settings (e.g., Claude Desktop) with the command python -m src.sdkman_mcp.sdk_commands and the optional SDKMAN_DIR environment variable.

What MCP commands are available when integrated?

The AI can use commands like "List available Java versions", "Install Java 21", "Show my currently installed SDKs", "Update Gradle", and "Set Java 17 as default".

What should I check if MCP integration fails?

Verify the AI assistant has proper permissions to execute commands and that the path to the module is correct.

コメント

「開発者ツール」の他のコンテンツ