Skip to content

hyper-mcp-rs/crypto-price-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto_price

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 {

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages