Babashka MCP Server
@MCP-Mirror
About Babashka MCP Server
Mirror of
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Babashka MCP Server?
A Model Context Protocol server for interacting with Babashka, a native Clojure interpreter for scripting. It allows AI assistants to execute Babashka code and access command history through MCP tools and resources.
How to use Babashka MCP Server?
Install Babashka (prerequisite), then run npm install and npm run build from the server directory. Configure with the BABASHKA_PATH environment variable (default "bb"). Use the execute tool to run Babashka code with an optional timeout (default 30000 ms), and access cached results via babashka://commands/{index} resource URIs.
Key features of Babashka MCP Server
- Execute Babashka code through MCP tools
- Cache recent command results
- Access command history as MCP resources
- Configurable command timeouts (default 30 seconds)
Use cases of Babashka MCP Server
- Run Clojure snippets within AI assistant conversations
- Automate Babashka script execution from chat interfaces
- Inspect and reuse previous command outputs via resource URIs
- Provide a REPL-like interaction with Babashka from any MCP client
FAQ from Babashka MCP Server
What dependencies are required?
Babashka must be installed system‑wide (via Homebrew, scoop, or the official install script). The server itself requires Node.js and npm to build.
How do I configure the Babashka executable path?
Set the BABASHKA_PATH environment variable to the full path of the Babashka binary. The default is "bb".
What tools and resources does the server expose?
One tool (execute) accepts Babashka code and an optional timeout. One resource pattern (babashka://commands/{index}) allows access to previously executed command results.
Does Babashka support tail‑call optimization?
Babashka supports explicit TCO via the recur special form but does not implement automatic tail‑call optimization.
What is the future plan for this server?
The project aims to rewrite the server in Babashka itself (removing the Node.js dependency) and to add support for Babashka pods, file watching, REPL integration, and multiple instances.
Frequently asked questions
What dependencies are required?
Babashka must be installed system‑wide (via Homebrew, scoop, or the official install script). The server itself requires Node.js and npm to build.
How do I configure the Babashka executable path?
Set the `BABASHKA_PATH` environment variable to the full path of the Babashka binary. The default is `"bb"`.
What tools and resources does the server expose?
One tool (`execute`) accepts Babashka code and an optional timeout. One resource pattern (`babashka://commands/{index}`) allows access to previously executed command results.
Does Babashka support tail‑call optimization?
Babashka supports explicit TCO via the `recur` special form but does not implement automatic tail‑call optimization.
What is the future plan for this server?
The project aims to rewrite the server in Babashka itself (removing the Node.js dependency) and to add support for Babashka pods, file watching, REPL integration, and multiple instances.
Basic information
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Nginx UI
0xJackyYet another WebUI for Nginx
ghidraMCP
LaurieWiredMCP Server for Ghidra
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Comments