crypto_price

January 23, 2026 ยท View on GitHub

Usage

{
  "plugins": [
    {
      "name": "crypto_price",
      "path": "oci://ghcr.io/hyper-mcp-rs/crypto-price-plugin:latest",
      "runtime_config": {
        "allowed_hosts": ["api.coingecko.com"]
      }
    }
  ]
}

Notes

  • HTTP request need to use pdk.NewHTTPRequest.
req := pdk.NewHTTPRequest(pdk.MethodGet, url)
resp := req.Send()
  • We use tinygo for WASI support.

  • Need to export _Call as call to make it consistent. Same with describe.

//export call
func _Call() int32 {