Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Sbt Shell

БесплатноНе проверен

Enables executing sbt commands in a persistent shell session for Scala projects, avoiding startup overhead.

GitHubEmbed

Описание

Enables executing sbt commands in a persistent shell session for Scala projects, avoiding startup overhead.

README

An MCP server for executing commands in a persistent sbt shell session.

Quick Start

Installation

pip install mcp-sbt-shell

Basic Usage

Start the server with default settings:

mcp_sbt_shell

Custom Options

  • --sbt-executable: sbt executable path (default: sbt.bat)
  • --cwd: Working directory (default: current directory)
  • --port: Server port (default: 8080)
  • --timeout: Command timeout in seconds (default: 30)

Tools

sbt_execute

Execute commands in a persistent sbt shell session. This tool maintains a long-running sbt process to avoid startup overhead and provides direct access to sbt's build capabilities.

Parameters:

  • command (string) - Required. The sbt command to execute (e.g., "compile", "test", "run")

Returns:

  • output (string) - The complete output from the sbt command execution, including any compilation messages, test results, or error information.

The tool will execute the command in the configured sbt session and return the full output, making it suitable for compiling code, running tests, packaging applications, or any other sbt task supported by your project's build configuration.

How it works

It sends command to sbt shell, then waits for byte sequence (\x1b\x5b\x3f\x32\x30\x30\x34\x68\x3e\x2e\x2e\x2e\x2e) that signals the end of command execution (tested on Windows with sbt.bat).

Prerequisites

  • Python 3.11+
  • sbt installed and in PATH
  • Scala project with build.sbt in the working directory

from github.com/mozhaa/mcp-sbt-shell

Установка Sbt Shell

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/mozhaa/mcp-sbt-shell

FAQ

Sbt Shell MCP бесплатный?

Да, Sbt Shell MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Sbt Shell?

Нет, Sbt Shell работает без API-ключей и переменных окружения.

Sbt Shell — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Sbt Shell в Claude Desktop, Claude Code или Cursor?

Открой Sbt Shell на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Sbt Shell with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development