naftiko: 1.0.0-alpha2 info: label: Viam Fleet Management — Organizations description: Manage Viam organizations, the tenant boundary that owns locations, machines, members, and billing. tags: - Viam - Fleet - Organizations created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: VIAM_API_KEY: VIAM_API_KEY VIAM_API_KEY_ID: VIAM_API_KEY_ID capability: consumes: - type: http namespace: fleet-organizations baseUri: https://app.viam.com description: Viam AppService — organization operations. resources: - name: list-organizations path: /viam.app.v1.AppService/ListOrganizations operations: - name: listOrganizations method: POST description: List organizations the caller has access to. outputRawFormat: json inputParameters: - { name: body, in: body, type: object, required: true } - name: get-organization path: /viam.app.v1.AppService/GetOrganization operations: - name: getOrganization method: POST description: Retrieve a single organization by id. outputRawFormat: json inputParameters: - { name: body, in: body, type: object, required: true } - name: create-organization path: /viam.app.v1.AppService/CreateOrganization operations: - name: createOrganization method: POST description: Create a new organization. outputRawFormat: json inputParameters: - { name: body, in: body, type: object, required: true } - name: update-organization path: /viam.app.v1.AppService/UpdateOrganization operations: - name: updateOrganization method: POST description: Update an organization. outputRawFormat: json inputParameters: - { name: body, in: body, type: object, required: true } - name: delete-organization path: /viam.app.v1.AppService/DeleteOrganization operations: - name: deleteOrganization method: POST description: Delete an organization. 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: fleet-organizations-mcp port: 9090 transport: http description: MCP adapter for Viam organization management. tools: - name: viam-list-organizations description: List organizations. hints: { readOnly: true, destructive: false, idempotent: true } call: fleet-organizations.listOrganizations with: { body: tools.body } - name: viam-get-organization description: Get an organization by id. hints: { readOnly: true, destructive: false, idempotent: true } call: fleet-organizations.getOrganization with: { body: tools.body } - name: viam-create-organization description: Create an organization. hints: { readOnly: false, destructive: false, idempotent: false } call: fleet-organizations.createOrganization with: { body: tools.body } - name: viam-update-organization description: Update an organization. hints: { readOnly: false, destructive: false, idempotent: true } call: fleet-organizations.updateOrganization with: { body: tools.body } - name: viam-delete-organization description: Delete an organization. hints: { readOnly: false, destructive: true, idempotent: true } call: fleet-organizations.deleteOrganization with: { body: tools.body }