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.

  • Autolabel job get

    Get per-subjob status and progress for an auto-label job. Returns status, model/project type, image counts, subjob progress, ontology, confidence thresholds, and the linked annotation job id. Status moves from pending to processing_completion to done; the annotation job then waits in review. Video jobs (modelType 'video-segment') count videos in numImages and add mediaType 'video', classes, sampling (sampleFps, windowSeconds, overlapSeconds), framesPlanned, framesSampled, and per-video progress in videos: {videoId: {status, windows, framesSeen, segments, windowsFailed, unanalysedIntervals, preserved, truncated, error}}. A done video with windowsFailed > 0, non-empty unanalysedIntervals, or truncated: true is only partly labeled, and preserved: true means its frame annotations were kept and no segments were written; report those. segments is the number of segments written. A video job still ends done when videos fail, so check each video's status (pending, done or failed).

  • Autolabel models list

    List the foundation models available for hosted auto-labeling in this workspace. Returns ``{models: [...]}``. Each entry's ``id`` (e.g. ``gpt-6-astra-boxes``, ``sam3-rle``, ``gemini-3-8-flash-boxes``) is a valid ``model`` value for ``autolabel_start`` with ``model_type='foundational'``. Entries carry ``guidance`` on when to prefer each model, ``projectTypes`` / ``excludedProjectTypes`` they support, ``ontologyFormat`` (``promptMap``: prompts are sent to the model; ``classes``: only class names are used), ``creditsPerImage``, ``isDefault`` (the workspace's object-detection default, not the instance-segmentation default), and ``available`` with an ``unavailableReason`` when the workspace's plan blocks a model. Call this before ``autolabel_start`` to pick a model instead of assuming which ones exist. When the user has not chosen a model, follow up with ``autolabel_preview`` to compare the candidates on one sample image before committing to a job. This is the image catalog. Action Recognition (video) projects use one model that is not listed here: call ``autolabel_start`` with ``model='video-segment'`` and ``model_type='foundational'``.

  • Batch processing asset library task get

    Poll the launch receipt until its durable job is registered.

  • Batch processing guide

    Route a bulk image/video processing request onto batch processing: pick the staging mode, settle the batch id, and return the exact inference-cli commands for the whole run. Every batch processing job runs a Workflow over a Data Staging batch; the input paths differ only in who fills it. Files already in Roboflow (Asset Library): batch_processing_asset_library_job_create, and the platform selects and stages them for you. External files (local disk, cloud bucket, references file) when you only want the outputs: stage them with the inference-cli and drive the run with batch_processing_run (nothing is imported; the classic ETL shape). External files you want INSIDE Roboflow for labeling/training/curation: that is an import, not a job; mirror them with a datasource (bucket mirror, connect_cloud_storage), then run an Asset Library job over the imported images if you also want bulk predictions (the classic ELT shape). An On Sync automation can also run a Workflow after the mirror; with upload screening it waits for eligible new-image verdicts and search indexing, skips waiting for held overwrites, and can fail when no images are admitted. Mirror completion alone does not make held images available as Sources. Staging uploads are client-side: this MCP server cannot read the user's filesystem or cloud credentials, so files are staged with the inference-cli on the user's machine (pip install inference-cli). Call this with whatever you already know (local dir, bucket path, workflow, images vs videos); it returns the install line and the ordered stage/inspect/process/monitor/export commands. Read the skill://roboflow/roboflow-batch-processing/SKILL.md resource for the full recipe, and prefer batch_processing_run to drive the run server-side once files are staged. Requires the batch-processing feature on the workspace.

  • Batch processing job get

    Get a job's status and per-stage progress. Poll this to track a running job: ``job.isTerminal`` says whether it finished and ``job.error`` whether it failed; ``stages`` carries per-stage progress and ``outputBatches``. When the export stage completes, download results from the ``<job-id>-export`` staging batch via ``batch_processing_staging_batch_files_list``.

  • Batch processing job logs

    Fetch a job's processing logs (paginated). Use this to diagnose failed or slow jobs; pair with batch_processing_job_get for stage status.

  • Batch processing jobs list

    List the workspace's batch processing jobs. Returns ``{jobs, nextPageToken?}`` with each job's full definition omitted (use ``batch_processing_job_get`` for one job's detail). Each entry carries ``inputSource``: 'asset-library' (platform-staged selection) or 'staged-batch' (a batch the caller staged).

  • Batch processing staging batches list

    List the workspace's data-staging batches (inputs and job results). Returns ``{batches, nextPageToken?}``. Batches expire about 7 days after creation. Job results appear as platform-generated batches named ``<job-id>-processing`` and ``<job-id>-export``.

  • Batch processing staging batch files list

    List a staged batch's files with time-limited signed download URLs. Use this to download the results of a finished job (the ``<job-id>-export`` batch). Job-result batches are multipart: when the batch has exactly one part it is selected automatically (and echoed as ``partName``); with several parts, pass ``part_name`` (see ``batch_processing_staging_batch_get`` parts). Download URLs expire after ~24h; archives (.tar/.tar.gz) must be unpacked after download. Returns ``{files, returned, nextPageToken?, truncated, partName?}``. Results are returned in whole upstream pages so ``nextPageToken`` always continues exactly where ``files`` ended. Listings are capped at 10,000 entries per call; past that, pull results with the inference-cli's ``export-batch`` (resumable) instead.

  • Batch processing staging batch get

    Get a staged batch's metadata, file count, and ingest progress. Sharded, cloud-storage, and references ingests register files asynchronously: the count stays low until ingest workers finish. Poll this until ``ingest.pending`` is false and ``ingest.failed`` is false before starting a job. For multipart batches (e.g. job results) the response includes ``parts``.

  • Cloud streaming results subscribe

    Read the current job state and, when available, a live results feed grant. This call does not start or keep a job alive. With `retryAfterSeconds`, call this tool again after that delay. With `ended: true`, stop reading this job; `successorJobId`, when present, can be subscribed to instead. A feed response has `eventsUrl`, `pollUrl`, `accessToken`, and `accessTokenExpiresAt` (epoch milliseconds). Keep the results-only token private. Send it as a Bearer token to either feed, or add `access_token` to the WebSocket URL when headers are unavailable. It expires after ten minutes or when the execution ends. After a feed closes or returns 401/404, subscribe again for the current claim. `executionGeneration` can change between claims: discard the previous WebSocket `after` cursor or poll `cursor` when it changes. WebSocket reconnects within the same generation may use `after=<last seq received>`; polling uses `cursor=<next seq>`. Feeds are not durable history.

  • Cloud streams job get

    Read a workspace job's current status. Past history remains available after a shared source is withdrawn.

  • Cloud streams jobs list

    List jobs owned by the connected workspace, including jobs on its own cameras and past shared-source jobs after publication withdrawal. Use sharedSource to identify shared sources.

  • Cloud streams shared sources list

    List public cameras available to the connected workspace. A source may go offline or be withdrawn at any time. Shared sources cannot be edited or republished by consumers.

  • Cloud streams sources list

    List this workspace's own cloud cameras and sources, without stream credentials.

  • Credentials list

    List cloud-storage credentials in the workspace. Secrets are masked server-side, so only non-sensitive fields (id, type, name, description) come back. Returns ``{ credentials }``.

  • Datasource get

    Get full detail for a single datasource, including its bucket, mirror rules, and latest job summary.

  • Datasource job get

    Get the status and statistics of a single datasource mirror run. Poll this with a ``batchId`` from ``datasource_trigger`` to track a run. Returns the job's ``status`` (running/completed/failed), per-stage ``counters`` (enqueued/completed/failed), any ``errors``, and timestamps (``startedAt``/``completedAt``/``lastSyncedAt``). In ``counters.INGEST_FILE.meta``, ``imageHeldForScreening`` counts new images and changed-pixel overwrites held for screening. ``imageScreeningSkipped`` counts object versions not downloaded because an earlier sync held them and they are still pending or were rejected. These are not Source counts: a completed mirror can precede screening verdicts and Source creation.

  • Datasources list

    List datasource (cloud-bucket mirror) configurations in the workspace. Returns ``{ datasources }`` where each entry is trimmed to ``{id, name, credentialId, validated, requireVpce, latestJob}``. Use ``datasource_get`` for a single config's full detail.

  • 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.

PreviousPage 2 / 9Next