LuaRocks.org had a security incident in September 2026. Read the incident report.

Write MCP servers in lua

$ luarocks install mcptk

mcptk speaks the Model Context Protocol over stdio, so a lua script
becomes a tool server that claude code or clm can launch. Declare the
arguments of a tool once and mcptk builds the JSON Schema a client
reads and the validator a call goes through.

The core has no dependencies and runs on lua 5.1 through 5.4 and
luajit. Install luv for the optional async transport, where each call
runs in its own coroutine.

Versions

scm-1dev36 days ago0 downloads
0.1-136 days ago5 downloads

Dependencies

lua >= 5.1

Manifests