Developer Tools

Roboflow MCP

Manage Roboflow computer-vision projects, datasets, images, annotation, model training, deployment, inference, workflows and devices through Roboflow's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Datasource trigger

    Start a mirror run for a datasource. This kicks off a job that ingests bucket contents into your workspace. Depending on the saved mirror rules, it can overwrite imported images or metadata and remove images whose source objects disappeared. It can consume compute/storage credits. Returns ``{batchIds}`` for the run(s) that were started. Use ``datasource_validate`` first if you are unsure the bucket is reachable. New images and changed-pixel overwrites may be held for screening after this run completes. Check ``datasource_job_get`` counters and wait for eligible verdicts before treating those images as available Sources. An On Sync automation may then run a Workflow over admitted, searchable images.

  • Datasource update

    Update a datasource. Only the fields you pass are changed. To replace the bucket, pass ``bucket_type``, ``bucket_name`` and ``region`` together (``endpoint`` is optional and only applied with them). Returns the updated datasource.

  • Datasource validate

    Check that Roboflow can access the datasource's bucket. Returns ``{checks, errors}`` where ``checks`` reports whether ``listFiles``/``headFile``/``getFile`` succeeded plus a per-mirror ``headGlobFile`` result. Use it to self-diagnose a misconfigured credential or bucket before triggering a run.

  • Device groups add devices

    Add devices to a fleet device group; other members are kept. Requires ``device:update``.

  • Device groups create

    Create a fleet device group with at least one member. Requires ``device:update``.

  • Device groups delete

    Delete a fleet device group; its devices are kept. Requires ``device:update``.

  • Device groups get

    Get one fleet device group. Requires ``device:read``.

  • Device groups get config

    Get a fleet device group's config patch. Requires ``device:read``.

  • Device groups list

    List the workspace's fleet device groups. Requires ``device:read``.

  • Device groups remove devices

    Remove devices from a fleet device group; the devices are kept. Requires ``device:update``.

  • Device groups update

    Update a fleet device group. Requires ``device:update``. ``device_ids`` replaces the whole membership. To add or remove single devices use ``device_groups_add_devices`` or ``device_groups_remove_devices``.

  • Device groups update config

    Replace a fleet device group's config patch. Requires ``device:update``.

  • Devices apply pending config

    Request application of pending device config updates now. Requires the ``device:update`` scope. A no-op when no pending updates exist. Unapproved production updates remain held through maintenance windows, and apply-pending may return 409 until they are approved. A ``configProposal`` is separate from pending updates; MCP cannot approve it.

  • Devices create

    Provision a new v2 device. Requires the ``device:update`` scope. Returns ``{deviceId, installId, offlineProvisioningQrPayload?}``: ``installId`` is the short-lived token used by the device installer (``GET /devices/v2/:installId/install.sh``). ``offlineProvisioningQrPayload`` is only present for AI1 devices provisioned with ``offline_mode=true``. Secure gateway devices require ``runtime='docker'``. An attached gateway must be ready. Offline QR provisioning cannot carry gateway trust, so do not combine ``secure_gateway_id`` with ``offline_mode``. New and duplicated devices do not copy display mode selections from templates or the source device. Select modes after the new device reports its own connected displays.

  • Devices delete

    Delete a device and revoke its api_keys. Cannot be undone. Requires the ``device:update`` scope on a workspace credential; a device's own api_key cannot delete it (403).

  • Devices discover cameras

    Request camera discovery on a device through its command channel. Returns ``{id}`` for the queued command. Discovery runs asynchronously; read ``devices_get`` or ``devices_get_snapshot`` afterward for ``discovered_cameras`` and ``devices_get_events`` for discovery/connection events. A successful enqueue does not mean discovery finished. Undelivered commands expire after 5 minutes, and discovery support depends on the device runtime.

  • Devices get

    Get a single device by id. Returns the Device object. 404 if the device does not exist or belongs to a different workspace. When inspecting a device, also call ``devices_get_config`` for its running services and ``devices_get_default_config`` for the workspace's recommended versions. Comparing the two ``services`` maps reveals whether the device is up to date or pinned to an older build of any service.

  • Devices get config

    Get the device's current runtime configuration. Returns the full RFDM config JSON: ``device_id``, ``device_name``, ``workspace_id``, ``version``, ``last_updated``, ``config``, ``services``, any ``pendingUpdates`` (queued changes with ``applyUpdatesAt`` and ``updateFields``), and any ``configProposal``. A proposal is awaiting production approval and is not active config. Unapproved pending changes remain held even during maintenance windows. Workspace and OAuth callers receive redacted stream credentials. Service environment variables can still contain integration credentials, so treat the payload as sensitive. ``config.kiosk.outputs`` contains any per-connector display mode selections. The live display report requires a Firebase session cookie and cannot be read through MCP. Tip: pair this with ``devices_get_default_config`` and diff the ``services`` map. The default config carries the workspace's recommended version for each service, so comparing the two tells you whether the device is up to date or pinned to an older build.

  • Devices get config history

    List prior configuration revisions, newest first. Returns ``{data: ConfigRevision[], pagination: {next_cursor, has_more, limit}}``. Each ConfigRevision carries ``revision_id``, ``created_at``, and ``created_by``.

  • Devices get default config

    Get the workspace's default device configuration. Returns ``{config, patch}``: ``config`` is the base default config with the workspace's ``config_patch`` applied (the template used when provisioning new devices, including default service versions), and ``patch`` is the raw workspace-level patch object. Display mode selections in this template are not copied to new devices. Useful for inspecting which service versions a fresh device would be created with, or for seeding a payload to ``devices_update_config``. Requires the ``device:read`` scope. Device-scoped api_keys are rejected with 403 — this endpoint is workspace-wide.

PreviousPage 5 / 18Next