MCP.so
登录

Babashka MCP Server

@bmorphism

关于 Babashka MCP Server

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

基本信息

分类

其他

传输方式

stdio

发布者

bmorphism

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Babashka MCP Server?

A Model Context Protocol server for interacting with Babashka, a native Clojure interpreter for scripting. It allows execution of Babashka code through MCP tools, caches recent results, and provides command history via resources.

How to use Babashka MCP Server?

Install dependencies with npm install, then build with npm run build. Configure the Babashka executable path via the BABASHKA_PATH environment variable (defaults to "bb"). Invoke the server through an MCP client using the execute tool with required code and optional timeout arguments.

Key features of Babashka MCP Server

  • Execute arbitrary Babashka code through MCP tools
  • Cache recent command results for fast retrieval
  • Access command history via resource URIs
  • Configurable command timeouts (default 30 seconds)

Use cases of Babashka MCP Server

  • Run Clojure scripts from an MCP-capable agent or IDE
  • Automate tasks using Babashka’s lightweight scripting
  • Interactively test and debug Babashka expressions

FAQ from Babashka MCP Server

What is Babashka?

Babashka is a native Clojure interpreter designed for scripting, with fast startup and support for common Clojure features.

How do I install Babashka?

Install via package managers like Homebrew (macOS), a curl script (Linux), or Scoop (Windows). See the official Babashka installation guide.

What tools does the server expose?

It exposes a single tool named execute, which takes code (string) and optional timeout (milliseconds, default 30000).

How can I configure the Babashka path?

Set the environment variable BABASHKA_PATH to the path of your Babashka executable. The default is "bb".

Does Babashka support tail call optimization?

Babashka supports explicit TCO using the recur special form, but does not implement automatic tail call optimization.

评论

其他 分类下的更多 MCP 服务器