naftiko: 1.0.0-alpha2 info: label: Viam ML Inference description: Run cloud-hosted inference against models registered in the Viam ML registry. tags: [Viam, MachineLearning, Inference] created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: VIAM_API_KEY: VIAM_API_KEY capability: consumes: - type: http namespace: ml-inference baseUri: https://app.viam.com description: Viam MLInferenceService. resources: - name: get-inference path: /viam.app.mlinference.v1.MLInferenceService/GetInference operations: - { name: getInference, method: POST, description: Run inference against a registry model., outputRawFormat: json, inputParameters: [{ name: body, in: body, type: object, required: true }] } authentication: type: apikey key: key value: '{{env.VIAM_API_KEY}}' placement: header exposes: - type: mcp namespace: ml-inference-mcp port: 9090 transport: http description: MCP adapter for cloud inference. tools: - { name: viam-get-inference, description: Run cloud-hosted inference., hints: { readOnly: false, destructive: false, idempotent: true }, call: ml-inference.getInference, with: { body: tools.body } }