Babashka MCP Server

Enables interaction with Babashka, a Clojure interpreter, through the Model Context Protocol.

Remote serverstreamable-httpTypeScript 19

What is the Babashka MCP server?

Enables interaction with Babashka, a Clojure interpreter, through the Model Context Protocol. Exposed over MCP by the babashka mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

A Model Context Protocol server for interacting with Babashka, a native Clojure interpreter for scripting.

  • Execute Babashka code through MCP tools
  • Cache recent command results
  • Access command history through MCP resources
  • Configurable command timeouts

Its toolset

Everything the assistant can do here goes through one of these:

  • macOS — The macOS tool exposed by this server
  • Linux — The Linux tool exposed by this server
  • Windows — The Windows tool exposed by this server
  • execute — The execute tool exposed by this server

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Configuration

You will need one environment variable: BABASHKA_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Babashka's toolset — macOS, Linux, Windows and 1 more — is a fair guide to whether it matches your workflow. It is maintained by bmorphism; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the babashka mcp server does with a few real requests.

Available tools

ToolWhat it does
macOSThe macOS tool exposed by this server.
LinuxThe Linux tool exposed by this server.
WindowsThe Windows tool exposed by this server.
executeThe execute tool exposed by this server.

Configuration

VariableDescriptionRequired
BABASHKA_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Babashka to macOS.
  • Use Babashka to Linux.
  • Use Babashka to Windows.

Frequently asked questions

It's a server that allows you to interact with Babashka, a native Clojure interpreter, using the Model Context Protocol (MCP). This enables remote execution of Clojure code and management of Babashka instances.