lit-protocol-flows
Installation
SKILL.md
Flows by Lit Protocol
Publish JavaScript functions as paid API endpoints running in Lit Protocol's TEE. One command to publish, automatic MCP server, built-in payments.
Publish a flow
Write a .js file — your code runs inside async function main(params) { ... }:
// hello.js
const name = params.name || 'world';
return { message: `Hello, ${name}!` };
npx -y @lit-protocol/flows publish hello.js --name "Hello World" --price 1
Output includes the invoke URL, MCP URL, and public page.
Related skills