MCP Server

Connect Claude, Cursor, Codex, or any MCP client to the Roboflow MCP server, and the tools it exposes.

Work on your Roboflow projects together with AI. Connect Claude Code (or any MCP-compatible agent) to your workspace. It can create projects, upload data, train models, build Workflows, and guide you through the visual steps in the Roboflow UI. You handle what you're best at (seeing, labeling, judging results), your agent handles the rest.

Demo

https://mcp.roboflow.com/

Adding MCP

The Roboflow MCP server uses OAuth for authentication - no API key needed. You'll be prompted to sign in to Roboflow on first use.

Add Roboflow as a connector in your Claude account. Once connected, it works everywhere - Claude.ai, Claude Desktop, and Claude Code.

Add Roboflow to Claude - click the link, confirm, and you're done. You'll be prompted to sign in to Roboflow with OAuth on first use.

Claude Code CLI

claude mcp add -s user roboflow \
  --transport http https://mcp.roboflow.com/mcp

Cursor

Install the Roboflow plugin from the Cursor marketplace, or run /add-plugin roboflow in Cursor. Either installs the MCP server along with Roboflow's skills. Sign in to Roboflow with OAuth on first use.

To configure the server manually instead, add this to Cursor's MCP config (~/.cursor/mcp.json):

{
  "mcpServers": {
    "roboflow": {
      "type": "http",
      "url": "https://mcp.roboflow.com/mcp"
    }
  }
}

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.roboflow]
url = "https://mcp.roboflow.com/mcp"

Connecting MCP Gateways (Pre-Registered Credentials)

Most MCP clients (Cursor, Claude Desktop, VS Code, Claude Code) register automatically using Dynamic Client Registration. Some platforms require a pre-registered client_id and client_secret instead - for example, Azure AI Foundry agents, Microsoft Copilot Studio, and TrueFoundry AI Gateway.

To connect one of these platforms:

  1. Go to Workspace Settings > Developer in the Roboflow dashboard
  2. Click "Create OAuth App" and fill in a name, redirect URI (matching your gateway's callback URL), and allowed scopes
  3. Set "Token endpoint authentication" to match your gateway: client_secret_basic (HTTP Basic header, used by Azure and TrueFoundry) or client_secret_post (secret in the form body)
  4. Copy the Client ID and Client Secret (shown once)
  5. In your gateway's connector form, enter:
FieldValue
MCP Server URLhttps://mcp.roboflow.com/mcp
Authorization URLhttps://app.roboflow.com/oauth/authorize
Token URLhttps://app.roboflow.com/oauth/token
Discovery (OAuth AS metadata)https://app.roboflow.com/.well-known/oauth-authorization-server
ScopesSpace-separated list (ex: workspace:read project:read model:infer offline_access)

Include offline_access in your scope list if the gateway supports refresh tokens.

For the full scope catalog, see Available Scopes.

Tools

The server exposes 141 tools. Most MCP clients namespace them, so projects_list appears as mcp__roboflow__projects_list. Each tool declares the OAuth scopes it needs, and your client only gets the scopes you approve at sign-in.

Agent

Hand a task to the Roboflow agent and collect what it produced.

ToolDescription
agent_chatChat with the Roboflow AI agent for Q&A, Workflow building, and solution planning.
agent_chat_resultCollect the result of an agent_chat run that was still working.
agent_conversations_listList agent conversations in the workspace.
agent_conversation_getGet one conversation with its message history.
agent_workflow_publishPublish the latest agent-edited draft of a Workflow.

Projects

Create and inspect projects in your workspace.

ToolDescription
projects_listList projects in the workspace.
projects_getGet project detail including versions, classes, splits, and trained models.
projects_createCreate a new computer vision project.
projects_deleteDelete a project, moving it to the workspace Trash.
projects_forkEnqueue an async fork of a public Universe project into your workspace.
projects_healthGet the dataset health check for a project.
datasets_rebalance_splitsEnqueue an async rebalance of a project's train, valid, and test splits.

Images

Upload images and find them again later.

ToolDescription
image_uploadUpload local image files to a project via a zip.
image_upload_statusCheck the status of an image zip upload task.
images_searchSearch for images inside a project.
images_workspace_searchSearch images across the entire workspace using RoboQL.
images_update_metadataUpdate metadata and tags on a single image.
images_batch_update_metadataBatch-update metadata and tags on multiple images.

Annotation

Save labels and run automatic labeling.

ToolDescription
annotations_saveSave an annotation for an existing image.
autolabel_startStart a hosted auto label job over a batch of images.
autolabel_job_getGet per-subjob status and progress for an auto label job.

Batches

Group uploaded images before they enter labeling.

ToolDescription
annotation_batches_listList upload batches in a project.
annotation_batches_getGet details about one upload batch.
annotation_batches_createMove selected images from one batch into a new batch.
annotation_batches_mergeMove all images from source batches into a target batch.
annotation_batches_deleteDelete a batch and move its images to unassigned.
annotation_batches_admin_listList annotation board batches with cursor pagination.
annotation_batches_admin_getGet details about one annotation board batch.
annotation_batches_admin_images_listList image IDs in a batch with cursor pagination.

Annotation Jobs

Assign labeling work, run review, and accept results into the Dataset.

ToolDescription
annotation_jobs_listList annotation jobs in a project.
annotation_jobs_getGet details about one annotation job.
annotation_jobs_createCreate a job and move images from a batch into it.
annotation_jobs_updateUpdate a job's labeler, reviewer, or instructions.
annotation_jobs_images_listList image IDs assigned to a job.
annotation_jobs_images_addMove images into an existing job.
annotation_jobs_images_reassignCreate a job from selected images and clear their prior assignment.
annotation_jobs_submit_for_reviewAdvance a labeling job into review.
annotation_jobs_return_for_editsMove a review job back to labeling, optionally with a new labeler.
annotation_jobs_review_imageSet the review status for one image in a job.
annotation_jobs_review_imagesSet a status for every job image matching a current status.
annotation_jobs_accept_into_datasetFinalize job images into the Dataset and assign splits.
annotation_jobs_move_to_unassignedRemove a job and move its images to an unassigned batch.
annotation_jobs_delete_annotationsDelete the annotation data for every image assigned to a job.

Versions

Freeze a dataset version and export it.

ToolDescription
versions_generateCreate a version with optional preprocessing and augmentation.
versions_getGet version info including splits and its trainings.
versions_exportCheck or trigger a dataset export for a version.
versions_deleteDelete a version, moving it to the workspace Trash.

Models and Training

Train models, watch progress, and run inference.

ToolDescription
trainings_describe_recipeDescribe the tuning options for a model type and return a ready-to-submit recipe.
trainings_createStart a training run on a dataset version.
trainings_listList the training runs on a dataset version.
trainings_getGet a training's status, produced models, and metrics.
trainings_stopRequest an early stop on an in-flight training run.
trainings_cancelCancel an in-flight training run.
trainings_deleteDelete a training run, moving it to the workspace Trash.
models_listList trained models in a project.
models_getGet details for a trained model.
models_inferRun hosted inference on an image using a trained model.
models_upload_custom_weightsGet the recipe for uploading locally trained weights to Roboflow.
models_star_nasStar or unstar a model found by neural architecture search.

Model Evaluations

Read mAP, confusion matrices, and per-class results.

ToolDescription
model_evals_listList model evaluations in the workspace.
model_evals_getGet the top-level summary for one evaluation.
model_evals_get_map_resultsGet per-split mAP results.
model_evals_get_confidence_sweepGet the precision, recall, and F1 confidence sweep.
model_evals_get_performance_by_classGet per-class performance metrics for one split.
model_evals_get_confusion_matrixGet the confusion matrix.
model_evals_get_image_predictionsGet per-image prediction stats, paginated.
model_evals_get_vector_analysisGet clustering of image embeddings for the evaluation.
model_evals_get_recommendationsGet generated recommendations for the evaluation, if available.

Workflows

Build, validate, and run inference pipelines.

ToolDescription
workflows_listList saved Workflows in the workspace.
workflows_getGet details for a saved Workflow.
workflows_createCreate and save a new Workflow.
workflows_updateUpdate a saved Workflow's name and definition.
workflows_deleteDelete a saved Workflow, moving it to the workspace Trash.
workflows_runExecute a saved Workflow on one or more images.
workflow_specs_validateValidate a Workflow JSON definition without running it.
workflow_specs_runExecute a Workflow from an inline JSON definition.
workflow_blocks_listList all available Workflow blocks with a short summary of each.
workflow_blocks_get_schemaGet the full schema of one Workflow block.

Project Deployment

Manage a project's stable live endpoint and Active Learning.

ToolDescription
project_deployment_getGet the live endpoint state for a project.
project_deployment_launchCreate or prepare a Project Deployment.
project_deployment_set_modelChange the default model behind a deployment without changing its endpoint.
project_deployment_runRun inference through the project's live endpoint.
project_deployment_enable_active_learningEnable Active Learning for a deployment.
project_deployment_disable_active_learningPause Active Learning collection.
project_deployment_configure_active_learningConfigure how a deployment collects Active Learning data.
project_deployment_list_review_queuesList review queues fed by production inference.

Vision Events

Query production events and manage use cases.

ToolDescription
vision_events_queryQuery production vision events with filters and pagination.
vision_events_use_cases_listList the vision event use cases in the workspace.
vision_events_custom_metadata_schema_getGet the custom metadata schema discovered for a use case.
vision_events_use_case_createCreate a new use case.
vision_events_use_case_renameRename an existing use case.
vision_events_use_case_archiveArchive a use case.
vision_events_use_case_unarchiveRestore a previously archived use case.

Devices and Streams

Monitor and configure edge devices managed by Deployment Manager.

ToolDescription
devices_listList devices registered in the workspace.
devices_getGet a single device by id.
devices_createProvision a new device.
devices_get_snapshotGet the full current state of a device in one call.
devices_get_configGet the device's current runtime configuration.
devices_update_configUpdate the device's runtime configuration.
devices_get_default_configGet the workspace's default device configuration.
devices_get_config_historyList prior configuration revisions, newest first.
devices_streams_listList streams configured on the device.
devices_streams_getGet a single stream by id.
devices_get_logsFetch device logs.
devices_get_telemetryGet aggregated hardware metrics and device health.
devices_get_deploymentsGet the device's deployment history with per-deployment activity.
devices_get_eventsList device and stream lifecycle events.
devices_get_exception_occurrencesList raw occurrences of one exception fingerprint, newest first.

Cloud Storage

Mirror an S3 or GCS bucket into a project.

ToolDescription
connect_cloud_storageSet up a bucket mirror end to end, from credential to first run.
credentials_listList cloud storage credentials in the workspace.
credentials_createCreate a cloud storage credential.
credentials_deleteDelete a credential.
datasources_listList bucket mirror configurations in the workspace.
datasource_getGet full detail for a single datasource.
datasource_createCreate a datasource that mirrors a bucket path into a project.
datasource_updateUpdate a datasource. Only the fields you pass change.
datasource_deleteDelete a datasource. Already mirrored images stay in the project.
datasource_validateCheck that Roboflow can reach the datasource's bucket.
datasource_triggerStart a mirror run.
datasource_job_getGet the status and statistics of one mirror run.

Universe

Search public datasets and models on Roboflow Universe.

ToolDescription
universe_searchSearch Roboflow Universe for datasets or models.
universe_dataset_images_searchSearch images inside a public Universe dataset given its URL.

Media

Look at an image or video before deciding what to build.

ToolDescription
media_uploadPrepare a local image or video for analysis.
media_upload_finalizeValidate a staged upload and publish it.
media_analyzeAnalyze an image or short video with a vision model to understand its contents.
media_trimCut a clip from an Asset Library video and get an analyzable public URL.

API Keys

Create and retire keys for your workspace.

ToolDescription
api_keys_listList all API keys for the workspace.
api_keys_getGet metadata for a single key.
api_keys_get_publishableGet the workspace's publishable key.
api_keys_createCreate a new API key.
api_keys_updateUpdate a key's name, scopes, or metadata.
api_keys_protectMark a key as protected so it cannot be revoked or disabled.
api_keys_disableDisable or re-enable a key without revoking it.
api_keys_revokePermanently revoke a key.

Trash

Restore something that was deleted.

ToolDescription
trash_listList soft-deleted items currently in the workspace Trash.
trash_restore_projectRestore a deleted project.
trash_restore_versionRestore a deleted dataset version.
trash_restore_workflowRestore a deleted Workflow.
trash_restore_trainingRestore a deleted training run.

Other

Poll long-running work and send feedback.

ToolDescription
async_tasks_getPoll an async task by id, such as a project fork or a split rebalance.
meta_feedback_sendReport a bug, missing feature, or documentation issue to the Roboflow team.