LivebookTools
About
Powertools for livebook.dev — AI Code Editing, MCP Servers, and Running Livebooks from the CLI
Details
- Author
- thmsmlr
- GitHub stars
- 118
- Downloads
- 290
- Categories
- Developer Tools
Jump to
- BYOE (Bring Your Own Editor) — sync .livemd files to an open Livebook session.
- MCP Server — connect AI coding agents to Livebook sessions via STDIO.
- Run Livebooks from the CLI by converting them to Elixir scripts.
- Detect runtime environment (Livebook vs. CLI) with simple code snippets.
- Tested with Cursor; compatible with any MCP‑supporting AI editor.
Install LivebookTools via mix escript.install github thmsmlr/livebook_tools and ensure the escript directory is on your PATH. Set the environment variables LIVEBOOK_NODE and LIVEBOOK_COOKIE to match your running Livebook server. Then configure your AI code editor (e.g., Cursor) to connect to the MCP server via STDIO using the livebook_tools command; the server will auto‑discover and expose its tools.
LivebookTools
Livebook Tools is a CLI tool to give you superpowers while working with .livemd files.
Its primary features are:
- BYOE (Bring Your Own Editor) - Sync your .livemd files to an open Livebook session so you can edit them in your AI powered code editor, like Cursor.
- MCP Server - A simple model context protocol server for connecting AI coding agents to your Livebook sessions. More on this below.
- Run Livebooks from the CLI - Convert your .livemd files to Elixir scripts and run them top to bottom as if they were a .exs script. Useful if you want to turn a livebook into a cron job.
Installation
Livebook Tools is an Elixir escript.
To install it, you can use the mix escript.install command.
mix escript.install github thmsmlr/livebook_tools
Once installed, ensure that the escript directory is on your path.
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





