Skip to main content
Glama
Roboflow MCP Server
by eusef

Roboflow MCP Server

A Model Context Protocol (MCP) server that gives AI coding agents programmatic access to Roboflow's computer vision platform. Provides 10 tools across 5 groups: Discovery, Rapid Creation, Inference, Workflows, and Utilities.

Quick Install

curl -fsSL https://raw.githubusercontent.com/eusef/Eusef_Roboflow_MCP/main/install.sh | bash

This clones the repo to ~/.roboflow/mcp-server, installs dependencies, builds, and prints the config snippet to add to Claude Code.

Related MCP server: MCP Server for n8n Integration

Prerequisites

Installation

git clone https://github.com/eusef/Eusef_Roboflow_MCP.git
cd Eusef_Roboflow_MCP
npm install
npm run build

Configuration

Set your Roboflow API key as an environment variable:

export ROBOFLOW_API_KEY="your_api_key_here"

Optional environment variables:

Variable

Description

Default

ROBOFLOW_API_KEY

Your Roboflow API key (required)

--

ROBOFLOW_API_URL

Override the base API URL

https://api.roboflow.com

ROBOFLOW_WORKSPACE

Default workspace ID

API key owner's workspace

Adding to Claude Code

Add this to your Claude Code MCP settings (~/.claude/settings.json or project-level .claude/settings.json):

{
  "mcpServers": {
    "roboflow": {
      "command": "node",
      "args": ["/absolute/path/to/Eusef_Roboflow_MCP/dist/index.js"],
      "env": {
        "ROBOFLOW_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tools

Discovery

Tool

Description

roboflow_api_status

Check API connectivity and key validity

roboflow_universe_search

Search Universe for existing models and datasets

roboflow_project_list

List projects in your workspace

roboflow_pretrained_list

List curated pre-trained APIs (OCR, people, PPE, etc.)

Rapid Creation

Tool

Description

roboflow_rapid_create

Create a model from a natural language prompt (no training data needed)

Inference

Tool

Description

roboflow_inference_run

Run object detection or segmentation on an image

roboflow_inference_classify

Run classification on an image

Workflows

Tool

Description

roboflow_workflow_list

List available Workflows in a workspace

roboflow_workflow_run

Execute a Workflow pipeline

Utilities

Tool

Description

roboflow_upload_image

Upload an image to a project dataset

Running Tests

npm test

Development

Watch mode for TypeScript compilation:

npm run dev

Start the server directly:

npm start

License

MIT

Available Tools

10 tools
roboflow_api_statusA

Check Roboflow API connectivity and key validity. Use as a first call to verify setup.

Inputs: no named parameters.

roboflow_inference_classifyA

Run classification inference on a Roboflow model. Returns top-K class predictions with confidence scores.

Inputs: image (required), model_id (required), top_k.

roboflow_inference_runA

Run object detection or segmentation inference on a Roboflow model. Accepts image as URL, base64, or local file path.

Inputs: image (required), model_id (required), format, overlap, +1 more.

roboflow_pretrained_listA

List Roboflow's curated pre-trained APIs for common vision tasks (OCR, people detection, PPE, license plates, etc.). These are production-ready, zero-setup endpoints.

Inputs: task.

roboflow_project_listA

List projects in the authenticated Roboflow workspace.

Inputs: workspace.

roboflow_rapid_createA

Create a model using Roboflow Rapid (prompt-based, no training data required). Describe what to detect in natural language.

Inputs: prompt (required), project_name (required), workspace.

roboflow_upload_imageA

Upload an image to a Roboflow project dataset for training. Specify the dataset split (train/valid/test).

Inputs: image (required), project_id (required), tag, split, +1 more.

roboflow_workflow_listA

List available Roboflow Workflows in a workspace.

Inputs: workspace.

roboflow_workflow_runA

Execute a Roboflow Workflow. Workflows chain multiple models and logic steps into a single pipeline.

Inputs: image (required), workflow_id (required), workspace, parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct operation: status checking, searching, listing different resource types, creating via Rapid, running different inference types, executing workflows, and uploading images. The only potential overlap between inference_run and inference_classify is clearly differentiated by model task type.

    Naming Consistency3/5

    All tools share the 'roboflow_' prefix, but the suffix pattern is inconsistent: some use noun_verb (universe_search, inference_run), some use noun_noun (project_list, api_status), and one uses verb_noun (upload_image). This mix of patterns makes it less predictable than a uniform convention.

    Tool Count5/5

    With 10 tools, the server is well-scoped, covering the core Roboflow workflows without being bloated. Each tool serves a clear purpose and the count fits the intended functionality.

    Completeness3/5

    The set covers discovery, inference, workflow execution, and data upload, but lacks project management operations like create/update/delete project or dataset. This creates notable gaps for users who need to set up new projects outside of Rapid creation.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers