babashka-mcp-server

babashka-mcp-server

14

Babashka MCP Server is a Model Context Protocol server designed for interacting with Babashka, a Clojure interpreter tailored for scripting tasks. The server executes code and manages command history, aiming for optimized performance and enhanced feature integration.

Babashka MCP Server

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

Features

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

Installation

  • Install dependencies
  • Build the MCP server

Configuration

Configure the server through environment variables like BABASHKA_PATH.

Tools

execute

Execute Babashka code with optional timeout.

Resources

Access recent command executions through babashka://commands/{index}.

Roadmap

  • Self-Hosted Implementation
  • Enhanced Features
  • Performance Optimizations
  • Testing & Documentation