---
plugins:
  time:
    url: oci://ghcr.io/hyper-mcp-rs/time-plugin:latest
  qr-code:
    url: oci://ghcr.io/hyper-mcp-rs/qrcode-plugin:latest
  hash:
    url: oci://ghcr.io/hyper-mcp-rs/hash-plugin:latest
  myip:
    url: oci://ghcr.io/hyper-mcp-rs/myip-plugin:latest
    runtime_config:
      allowed_hosts:
        - "1.1.1.1"
      allowed_secrets:
        - service: "myip-service"
          user: "api-key"
      skip_tools:
        - "debug_.*" # Skip all debug tools
        - ".*_test" # Skip all test tools
  fetch:
    url: oci://ghcr.io/hyper-mcp-rs/fetch-plugin:latest
    runtime_config:
      allowed_hosts:
        - "*"
      skip_tools:
        - "temp_.*" # Skip temporary tools
        - "mock_.*" # Skip mock tools
        - "tool_[0-9]+" # Skip numbered tools like "tool_1", "tool_42"

  # Example plugin with comprehensive runtime_config options
  example_plugin:
    url: oci://ghcr.io/example/demo-plugin:latest
    runtime_config:
      skip_tools:
        - "admin_tool" # Skip exact tool name
        - "dev_.*" # Skip development tools
        - ".*_deprecated" # Skip deprecated tools
        - "test_(unit|integration)" # Skip specific test types
        - "[a-z]+_helper" # Skip lowercase helpers
      allowed_hosts:
        - "example.com"
      allowed_paths:
        - "/tmp"
        - "/var/log:/plugin/logs" # Mapped path
      allowed_secrets:
        - service: "example-db"
          user: "db-user"
        - service: "example-api"
          user: "api-token"
      env_vars:
        EXAMPLE_ENV: "production"
      memory_limit: "256Mi"
