SBT Shell
Executes commands in a persistent sbt shell session to avoid startup overhead.
SBT Shell provides an MCP server designed to maintain a long-running sbt session, significantly reducing the overhead typically associated with sbt's startup time. It offers a powerful `sbt_execute` tool that allows for direct interaction with your Scala project's build system, sending commands and capturing their full output. This efficient process is managed by detecting a specific byte sequence signaling command completion, ensuring reliable execution of various sbt tasks within a controlled environment.
Key Features
01Reliable command completion detection via byte sequence
020 GitHub stars
03Maintains a persistent sbt shell session
04Eliminates sbt startup overhead for repeated commands
05Configurable sbt executable path, working directory, port, and timeout
06Provides `sbt_execute` tool for direct command execution
Use Cases
01Automating compilation of Scala projects in a development workflow
02Executing tests within continuous integration or automated build pipelines
03Packaging applications for release or deployment