Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ROBOFLOW_API_KEYYesYour Roboflow private API key
ROBOFLOW_API_URLNoOverride the API base (default https://api.roboflow.com)
ROBOFLOW_WORKSPACENoDefault workspace slug, so tools can omit it
ROBOFLOW_MCP_LOG_LEVELNoDEBUG, INFO, WARNING, ERROR (default INFO)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
roboflow_get_workspaceA

Get a Roboflow workspace's metadata and its projects.

Pass workspace to override the default set in ROBOFLOW_WORKSPACE. Set dry_run=True to preview the HTTP request without calling the API.

roboflow_list_projectsA

List all projects in a Roboflow workspace.

Lighter than roboflow_get_workspace when you only need the project list. Pass workspace to override ROBOFLOW_WORKSPACE. Set dry_run=True to preview.

roboflow_search_imagesA

Search images in a Roboflow project.

Filter by tag (e.g. "sku-42"), class_name, or a semantic prompt. Paginated via limit (max 250) and offset. workspace falls back to ROBOFLOW_WORKSPACE. Set dry_run=True to preview the HTTP request without calling.

roboflow_add_image_tagsC

Add one or more tags to an image. Additive; not destructive.

roboflow_remove_image_tagsA

Remove tags from an image.

Destructive: requires confirm='yes' and a server mode of curate or full (see :envvar:ROBOFLOW_MCP_MODE).

roboflow_set_image_tagsA

Replace an image's tags with the given list.

Destructive: requires confirm='yes' and a server mode of curate or full (see :envvar:ROBOFLOW_MCP_MODE).

roboflow_upload_imageA

Upload a single image to a Roboflow project.

source is a discriminated union (exactly one mode):

  • {"kind": "url", "url": "https://..."}

  • {"kind": "path", "path": "/abs/path/img.jpg"} (local path; must live under ROBOFLOW_MCP_UPLOAD_ROOTS)

  • {"kind": "base64", "data": "...", "filename": "img.jpg"}

Every mode runs through URL / path / image safety guards before the upload. split is "train" / "valid" / "test".

roboflow_upload_images_batchA

Upload many images concurrently.

sources is a list of :class:ImageSource dicts. Failed uploads don't abort the batch; the response reports per-image outcomes in results and errors.

roboflow_delete_imageC

Delete an image. Destructive: requires confirm='yes' and ROBOFLOW_MCP_MODE=curate or full.

roboflow_get_imageC

Get the metadata of a single image.

roboflow_list_image_batchesC

List upload batches for a project.

roboflow_upload_annotationC

Attach an annotation to an image.

Supported formats (annotation_format literal):

  • "coco"

  • "yolo" (YOLOv5/v8/v11-compatible .txt)

  • "pascal_voc" (XML)

  • "createml" (Apple CreateML JSON)

  • "roboflow_json"

Pass annotation as a string (raw file contents) or a dict (Python object; we serialize to JSON). Optional labelmap is a class-id to name map Roboflow uses for YOLO formats.

roboflow_get_projectC

Read project metadata (classes, image count, splits).

roboflow_list_versionsC

List dataset versions under a project.

roboflow_get_versionC

Read one version's full metadata.

roboflow_create_versionB

Kick off an async version generation (quota-heavy).

Destructive-of-quota: requires confirm='yes' and ROBOFLOW_MCP_MODE=curate or full. After this returns, poll roboflow_get_version_generation_status until the new version reports status="ready".

roboflow_get_version_generation_statusC

Poll the async generation state of a version.

roboflow_export_versionA

Request an export for a trained/generated version.

Returns a signed download URL when ready. Does NOT stream bytes — pair with roboflow_download_export if you want the zip on disk.

roboflow_delete_versionA

Delete a dataset version. Destructive: confirm='yes' required.

roboflow_download_exportA

Stream an exported dataset zip to disk.

Writes under ROBOFLOW_MCP_EXPORT_CACHE_DIR (default ~/.cache/roboflow-mcp). dest_dir, when given, must be a subdirectory of the cache root.

Destructive-to-fs: requires confirm='yes' and ROBOFLOW_MCP_MODE=curate or full.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MayankD409/Roboflow-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server