mcp-sbt-shell
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-sbt-shellcompile the Scala project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-sbt-shell
An MCP server for executing commands in a persistent sbt shell session.
Quick Start
Installation
pip install mcp-sbt-shellBasic Usage
Start the server with default settings:
mcp_sbt_shellCustom 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)
Related MCP server: repl-mcp
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.sbtin the working directory
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote shell and detached long-running jobs on your own machines — no SSH, open ports or VPN.
Develop, manage, and debug Railway projects, services, and deployments from within agents.
Scoped, audited SSH exec, sessions, and SFTP on your saved servers without exposing credentials
Run commands and read/write files on your servers over Termalin's keyless tunnels (hosted MCP).
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides stateful, interactive terminal access for LLMs to spawn and maintain persistent processes like SSH sessions, debuggers, and REPLs with continuous input/output interaction across commands.8-
- AlicenseNot gradedqualityCmaintenanceEnables creation and management of persistent REPL sessions for various languages and shells, with web-based monitoring and session recovery capabilities.10 npm3MIT
- AlicenseBqualityDmaintenanceEnables secure remote and local command execution via SSH, with session management and environment variable support.157 npm3MIT
- AlicenseNot gradedqualityBmaintenanceProvides persistent interactive shell sessions via pseudo-terminals for MCP agents, enabling bidirectional communication, incremental reads, and stateful command execution across steps.8 npmMIT