
thmsmlr/livebook_tools
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
thmsmlr/livebook_tools는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
thmsmlr/livebook_tools는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
Livebook Tools는 .livemd 파일 작업 시 강력한 기능을 제공하는 CLI 도구입니다.
주요 특징은 다음과 같습니다:
- BYOE (Bring Your Own Editor) -
.livemd파일을 오픈 라이브북 세션에 동기화하여 Cursor와 같은 AI 기반 코드 편집기에서 편집할 수 있습니다. - MCP 서버 - AI 코딩 에이전트를 Livebook 세션에 연결하는 간단한 모델 컨텍스트 프로토콜 서버입니다. 아래에서 더 자세히 설명해 주세요.
- CLI에서 라이브북을 실행하세요 -
.livemd파일을 엘릭서 스크립트로 변환한 뒤, 마치.exs스크립트처럼 위아래로 실행하세요. 라이브북을 크론 작업으로 바꾸고 싶을 때 유용합니다.
설치
라이브북 툴즈는 엘릭서 원고입니다.
설치하려면 mix escript.install 명령어를 사용할 수 있습니다.
설치 후에는 escript 디렉터리가 경로 위에 있는지 확인하세요.
러닝 라이브북
Livebook 도구가 제대로 작동하려면, 분산 Elixir를 사용하여 실행 중인 Livebook 서버에 연결할 수 있어야 합니다.
이걸 하려면 Livebook을 어떻게 운영하느냐에 따라 달라집니다.
가장 간단한 형태로는 두 환경 변수를 ~/.bashrc 또는 ~/.zshrc 파일에 추가하기만 하면 됩니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
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
.livemdfiles 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
.livemdfiles to Elixir scripts and run them top to bottom as if they were a.exsscript. 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.
# for normal elixir users
export PATH="$HOME/.mix/escripts:$PATH"
# for asdf elixir users
for escripts_dir in $(find "${ASDF_DATA_DIR:-$HOME/.asdf}/installs/elixir" -type d -name "escripts" 2>/dev/null); do
export PATH="$escripts_dir:$PATH"
done
Running Livebook
In order for Livebook tools to work properly, it needs to be able to connect to a running Livebook server using distributed Elixir.
To do this will depend on how you are running Livebook.
In its simplest form, all you need to do is add the two environment variables to your ~/.bashrc or ~/.zshrc file.
export LIVEBOOK_NODE="[email protected]"
export LIVEBOOK_COOKIE="secret"
Then when you run the Livebook tools or Livebook, both programs will discover these values and make sure that they can connect to each other.
If you’re running using Livebook Desktop, then you may need to add these values to the ~/.livebookdesktop.sh file as well.
For more information on Livebook Desktop, check out the Livebook HexDocs.
Setting up MCP Server
The MCP Server is a simple model context protocol server that allows you to connect AI coding agents to your Livebook sessions.
I have personally tested the implementation with Cursor, though it should work with any AI code editor that supports the MCP protocol.
The MCP server runs via STDIO, so all you have to do is tell Cursor to connect via the command and it’ll auto discover the tools and connect them to it’s coding agent.
For more information on MCP works with Cursor, check out the Cursor MCP docs.
Useful Tips
Sometimes you want to customize how the code runs, whether it’s running in Livebook or via the command line using livebook_tools run .
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →