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.

  • Annotation jobs get

    Get details about one annotation job.

  • Annotation jobs images add

    Move images into an existing job and reconcile assignment and Dataset counters.

  • Annotation jobs images list

    List image IDs assigned to a job with cursor pagination.

  • Annotation jobs images reassign

    Create a job from selected images, removing their prior assignment or Dataset membership.

  • Annotation jobs list

    List annotation jobs and return a continuation token when more exist.

  • Annotation jobs move to unassigned

    Remove a job while moving its images to an unassigned batch so they remain accessible.

  • Annotation jobs return for edits

    Move a review job back to labeling, optionally with a new labeler.

  • Annotation jobs review image

    Set the explicit review status for one image in a job.

  • Annotation jobs review images

    Set a status for every job image matching the supplied current status.

  • Annotation jobs submit for review

    Advance a labeling job into review.

  • Annotation jobs update

    Update exactly one of a job's labeler, reviewer, or instructions.

  • Annotations get

    Read current saved annotation geometry for existing project images. Returns the native annotation envelope (boxes, polygons, masks or keypoints, plus image dimensions), annotation group and revision, project classes and explicit null-label state. Geometry is returned to the assistant, not only a widget. Supports object detection, instance/semantic segmentation and keypoint image projects; classification labels and video segments are not geometry results from this tool. annotation_valid=false means stored data could not be decoded: do not use the empty fallback as a backup or overwrite from it. A null validity means the platform did not report validity, so an empty result alone does not establish that the image has no saved annotation. This reads current project data, including images in annotation jobs and batches; it does not generate a Dataset Version, run inference or change annotations, job status or Dataset membership. Get image IDs with images_search or annotation_jobs_images_list, then read them in batches of at most 25. Use this before correcting labels or when backing up current geometry; search annotation summaries are not coordinates.

  • Annotations save

    Save an annotation for an existing image. The native annotation envelope returned by annotations_get is a read representation, not necessarily an accepted annotation file. Convert the geometry to a supported format for the project's task; do not submit a serialized native boxes envelope as arbitrary JSON. For object detection, a YOLO TXT file has one row per box: class index, normalized center x, center y, width and height. Use a .txt annotation_name and provide labelmap mapping those indices to project class names. By default this only stores the annotation: it does not change whether the image belongs to the project Dataset. Pass add_to_dataset=true to also add the image to the Dataset. That membership is what makes the image count toward a dataset version, so an image that is uploaded and annotated but never added to the Dataset will show up as 0 images in versions_generate. With job_name, saving normally moves the image from its batch or current job to the named job, even if add_to_dataset=false. For an image held by upload screening, the save and placement are deferred until the verdict. When adding to the Dataset without a name, an image outside a job moves from its batch into "Annotated via API"; an image already in a job stays there. Saving without Dataset addition or a job name preserves placement. Saving labels alone also preserves an existing annotation job's image status. After verifying the saved geometry with annotations_get, use annotation_jobs_review_image with status="annotated" when the user wants that image marked labeled in its job. This is separate from accepting images into the Dataset. Set prediction_routing to ``review`` to request an automatic move from the target-project batch into a Review job only when the image has target-project batch membership and no target-project annotation-job membership. Set it to ``unassigned`` to suppress that move and preserve existing batch, annotation-job, and Dataset memberships. Prediction uploads never add Dataset membership, even when add_to_dataset is true, and existing Dataset membership is preserved. Neither value guarantees movement to a named queue. Saving onto an image that already has annotations fails with a 409 conflict unless you pass overwrite=true, which replaces the existing annotation. Classification projects never hit that conflict: their saves already overwrite. If the response has status="screening", the annotation was accepted for an image held by upload screening, but has not been saved to a Source. Even with add_to_dataset=true, Dataset membership is not yet complete. Use images_screening_status(image_id) for the verdict and duplicate resolution. A rejected or failed image loses its deferred annotations; even after approval, check the resulting Source before reporting a save.

  • Api keys create

    Create a new API key for the workspace. Who can create keys: a credential may create keys only if it is unscoped (full access) or holds the ``api-key:create`` scope; an OAuth token also needs the ``create_api_key`` permission. Always ask for least-privilege ``scopes`` first. When ``scopes`` is omitted the key inherits every scope of the calling credential, so a full-access caller creates a full-access key (it comes back with ``scopes: null``); the dashboard's scoped default does not apply here. Scoped keys, like ``folder_ids``, ``custom_metadata``, ``rotation_due_at`` and ``owners``, need the Advanced API Keys plan feature. Without it the platform answers 403 and this tool says which arguments need it. That is a plan limit, not a permissions problem: tell the user, and do not silently retry without ``scopes``. The only key such a plan can create is unscoped, so create one only after the user agrees to a key with all of the caller's access (and suggest revoking it with ``api_keys_revoke`` once the task is done). For browser or client-side inference, the publishable key from ``api_keys_get_publishable`` may be enough and needs no secret. Scopes are stored as explicit leaf scopes — a section name or ``role:`` preset is expanded to its current leaves, so a key never auto-gains an ability added to that group later (add new scopes explicitly when needed). The secret ``key`` value is returned ONCE in the response and cannot be retrieved again. Store it immediately in a ``.gitignore``'d ``.env`` file (e.g. ``ROBOFLOW_API_KEY=rf_...``). Never echo it in logs, code comments, or tool output. Rotation reminders: set ``rotation_due_at`` to have the platform email the key's ``owners`` 15 days before the key is due; without a date no reminder is sent. Returns ``{ key_id, key, name, scopes, folder_ids, protected, rotation_due_at, owners, publishable_key }``. ``key_id`` is the non-secret handle used in all subsequent management calls.

  • Api keys disable

    Disable (or re-enable) an API key without revoking it. A disabled key is inactive and will be rejected by the platform until re-enabled. Protected keys cannot be disabled; disabling requires the Advanced API Keys plan feature, so the specific error returned depends on the workspace. A key that backs a dedicated deployment cannot be disabled from here either (the deployment would be paused): to rotate such a key use ``api_keys_roll``, which moves the deployment onto the replacement key. Returns the updated masked key metadata.

  • Api keys get

    Get metadata for a single API key by its keyId. Secret values are never returned. The key is identified by its non-secret ``keyId`` handle (not the secret key string).

  • Api keys get publishable

    Get the workspace's publishable key (``rf_<workspaceId>``). The publishable key is the non-secret workspace identifier used with Roboflow.js and browser-side inference SDKs. It is browser-safe and cannot manage workspace data or read private resources. It is not a true secret, but it is not powerless: anyone who holds it can run inference and download the workspace's deployed models. Embed it in client-side code as intended; do not treat it as a capability to hand to untrusted parties.

  • Api keys list

    List all API keys for the workspace. Secret key values are never returned — keys are represented by their non-secret ``keyId`` handle and a masked ``prefix``. Returns ``{ api_keys, publishable_key }`` where ``publishable_key`` is the workspace's ``rf_<workspaceId>`` key (safe to embed in client-side code).

  • Api keys owner candidates

    List the workspace members who may be named as a key's ``owners``. Owners receive the rotation reminder email, so they must be able to roll the key: for a workspace-wide key, members who can create and revoke keys and view the workspace key list; for a folder key, members who can also write every folder it is scoped to. Each must have an account email the platform can send to. Call this before passing ``owners`` to ``api_keys_create``, ``api_keys_update`` or ``api_keys_roll``; the platform rejects uids that are not listed here. Pass ``key_id`` for an existing key, or ``folder_ids`` for one about to be created (omit both for a workspace-wide key). The platform accepts either the ``api-key:create`` or the ``api-key:update`` scope, and the workspace needs the Advanced API Keys plan feature. Returns ``{ members: [{uid, name, email}, ...] }``.

  • Api keys protect

    Mark an API key as protected so it cannot be revoked or disabled. Protection is one-way from the API: a protected key can only be unprotected in the Roboflow dashboard at ``app.roboflow.com/settings/api``. The API, CLI, and MCP cannot unprotect a key, so there is deliberately no ``api_keys_unprotect`` tool. Returns the updated masked key metadata.

PreviousPage 2 / 18Next