Changelog
View Source0.1.0
The first release: load WebAssembly components and call their functions from Erlang and Elixir, and expose them to MCP clients.
- Call a component without writing its types. wasm_tools reads a component's functions, their parameter names and their types from the component itself. You call a function with ordinary Erlang values, and a value that does not fit its type is refused, by name, before the component runs.
- Every call is isolated and bounded. Each call gets a fresh instance in a process of its own, with a deadline, limits on work, memory and heap, and a cancel. Nothing a call does is seen by the next, and nothing keeps running after a deadline, a cancel, or the caller going away.
- Nothing is granted unless you name it. A component gets no directory, no environment variable and no network by default. You grant directories, variables, and HTTP access to host names; a host name that resolves to a private or local address is refused.
- Give a component functions of your application. A component that imports an interface of yours, such as a store or a business rule, gets it from an Erlang module or function, typed by the component's own declaration.
- Manage many components. Registries hold tools from several components under names you choose, in your supervision tree, with a bound on concurrent calls, counters, and a hook for your monitoring, which also hears of each HTTP request a component was refused.
- JSON Schema for every function, and conversion between JSON and native values, with large integers and bytes handled without loss.
- Expose tools to MCP clients through barrel_mcp 4.9 or later, with schemas, descriptions you choose, cancel and deadlines. The tools belong to their registry, so they leave MCP when the registry removes them or stops, and they never replace a tool your application registered.
- Components from Rust, Python and JavaScript. Components built with Rust, componentize-py and componentize-js were checked; the features page lists the versions and what each call costs.
Requires Erlang/OTP 29 and erlang_wasm 0.15.1.