GitHub Stars
3
User Rating
Not Rated
Forks
1
Issues
4
Views
0
Favorites
0
Modulewise Toolbelt
A Model Context Protocol (MCP) Server that exposes Wasm Components as Tools.
This is currently an early-stage non-production prototype.
(auth, observability, and OCI support are on the roadmap)
Run
One or more .wasm files may be provided as command line arguments (see example-components):
cargo run -- hello.wasm calculator.wasm
By default, components operate in a least-privilege capability mode.
If your component requires capabilities from the host runtime, use a .toml file:
[flights]
uri="file:///path/to/flight-search.wasm"
capabilities=["http"]
Then pass that to the server instead of a direct .wasm file:
cargo run -- flights.toml
[!TIP]
Multiple components can be defined within a single
.tomlfile, and capabilities are optional (uri is required). Currently supported capabilities are:http,inherit-network, andallow-ip-name-lookup
Test with MCP Inspector
Run the server as described above.
Start the MCP Inspector.
Ensure the
SSETransport Type is selected.Ensure the specified URL is
http://127.0.0.1:3001/sse(or replace host and port if not using defaults).Click
Connectand thenList Tools.Select a Tool, provide parameter values, and click
Run Tool.
License
Copyright (c) 2025 Modulewise Inc and the Modulewise Toolbelt contributors.
Apache License v2.0: see LICENSE for details.
2
Followers
2
Repositories
0
Gists
1
Total Contributions