{
"plugins": [
{
"name": "crypto_price",
"path": "oci://ghcr.io/hyper-mcp-rs/crypto-price-plugin:latest",
"runtime_config": {
"allowed_hosts": ["api.coingecko.com"]
}
}
]
}- HTTP request need to use
pdk.NewHTTPRequest.
req := pdk.NewHTTPRequest(pdk.MethodGet, url)
resp := req.Send()-
We use
tinygofor WASI support. -
Need to export
_Callascallto make it consistent. Same withdescribe.
//export call
func _Call() int32 {