Skip to main content
Glama
Reka Vision MCP Server

Reka Vision MCP Server

Official
by reka-ai

Reka Vision MCP Server

mcp-name: ai.reka/mcp

MCP server that lets AI agents upload, index, search, and analyze videos through the Reka Vision API. Agents can search across videos using natural language, ask questions about video content with visual analysis, detect objects in specific time ranges with text prompts, and read processed data like transcripts, captions, and scenes.

Quick Start

# Run the published local stdio server with your Reka API key
REKA_VISION_API_KEY="your-api-key" uvx reka-mcp

For MCP clients that need explicit command configuration:

{
  "command": "uvx",
  "args": ["reka-mcp"],
  "env": {
    "REKA_VISION_API_KEY": "your-api-key-here"
  }
}

For local development:

uv sync
uv run pre-commit install
REKA_VISION_API_KEY="test-key" uv run reka-mcp

The default mode is local stdio. In local mode, REKA_VISION_API_KEY is read once from the process environment and used for all requests.

Related MCP server: Vision MCP Server

Hosted Mode

Hosted mode runs the same MCP tools over Streamable HTTP. It does not use a process-wide Reka API key. Instead, each MCP HTTP request must include the user's key in X-Reka-API-Key; the server forwards that value to the Reka Vision API as x-api-key for that request only.

Production-style hosted startup:

REKA_MCP_MODE=hosted \
REKA_MCP_HTTP_HOST=0.0.0.0 \
PORT=8080 \
uv run reka-mcp

Endpoints:

  • MCP Streamable HTTP: http://<host>:<port>/mcp

  • Health check: http://<host>:<port>/health

Hosted clients must send:

X-Reka-API-Key: your-api-key

REKA_MCP_AUTH_TOKEN is optional MCP transport auth. When set, HTTP clients must also send Authorization: Bearer <token>.

index_video works the same in both modes: it polls the feature DAG until all requested features are ready (or times out). After upload_video, poll get_video until the video status is uploaded, then call index_video.

Run Hosted Mode Locally

Hosted mode enables DNS rebinding protection. Its default allowed hosts and origins are production/staging domains, so override them for localhost testing:

REKA_MCP_MODE=hosted \
REKA_MCP_TRANSPORT=http \
REKA_MCP_HTTP_HOST=0.0.0.0 \
REKA_MCP_HTTP_PORT=8080 \
PORT=8080 \
REKA_MCP_HTTP_PATH=/mcp \
REKA_MCP_ALLOWED_HOSTS="localhost:*,127.0.0.1:*" \
REKA_MCP_ALLOWED_ORIGINS="http://localhost:*,http://127.0.0.1:*" \
uv run reka-mcp

Then connect to http://localhost:8080/mcp and configure your MCP client or inspector to send X-Reka-API-Key. Check the server with:

curl -H "Host: localhost:8080" http://localhost:8080/health

Connect to Hosted MCP (mcp.reka.ai)

No installation required — connect directly to the hosted server with your Reka API key.

Claude Desktop

Claude Desktop does not speak Streamable HTTP directly, so use the mcp-remote bridge. Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "reka-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.reka.ai/mcp",
        "--header",
        "X-Reka-API-Key:${REKA_VISION_API_KEY}"
      ],
      "env": {
        "REKA_VISION_API_KEY": "your-api-key-here"
      }
    }
  }
}

Requires Node.js installed locally. Restart Claude Desktop after editing the config.

Claude Code

claude mcp add --transport http reka-mcp https://mcp.reka.ai/mcp \
  --header "X-Reka-API-Key: your-api-key-here"

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "reka-mcp": {
      "type": "streamable-http",
      "url": "https://mcp.reka.ai/mcp",
      "headers": {
        "X-Reka-API-Key": "your-api-key-here"
      }
    }
  }
}

Claude Desktop Setup (Local)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "reka-mcp": {
      "command": "uvx",
      "args": ["reka-mcp"],
      "env": {
        "REKA_VISION_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor Setup (Local)

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "reka-mcp": {
      "command": "uvx",
      "args": ["reka-mcp"],
      "env": {
        "REKA_VISION_API_KEY": "your-api-key-here"
      }
    }
  }
}

Claude Code Setup (Local)

claude mcp add reka-mcp -e REKA_VISION_API_KEY=your-api-key-here -- uvx reka-mcp

Updating

To update to the latest version, clear the cached package and restart your client:

uv cache clean reka-mcp

To check which version you're running:

uvx reka-mcp --version

Available Tools

Tool

Description

upload_video

Upload a video from a URL

list_videos

List videos in your account or a group

get_video

Get video details, metadata, and feature status

update_video

Update a video's name, title, description, or group

delete_video

Permanently delete a video and all indexed data

create_group

Create a new video group

list_groups

List all video groups

delete_group

Delete a video group

index_video

Index a video for search/QA/analysis. Waits until all requested features are ready (2-10 min).

search_videos

Semantic search across indexed videos

ask_video

Ask questions about video content with visual analysis

get_transcript

Get transcript as text, segments, or words

get_captions

Get AI-generated visual descriptions

get_scenes

Get detected scene boundaries

get_feature_catalog

List available features and dependencies

summarize_video

Compact overview of video content and status

Environment Variables

Variable

Default

Description

REKA_MCP_MODE

local

Runtime mode: local or hosted

REKA_VISION_API_KEY

(required in local mode)

API key from https://platform.reka.ai. Not used as the primary auth source in hosted mode.

REKA_VISION_API_URL

https://vision-agent.api.reka.ai

API base URL

REKA_MCP_INDEX_TIMEOUT

600

Max seconds to wait for indexing

REKA_MCP_POLL_INTERVAL

5

Seconds between index status polls

REKA_MCP_TRANSPORT

stdio in local, http in hosted

Transport: stdio or http

REKA_MCP_HTTP_HOST

127.0.0.1 in local, 0.0.0.0 in hosted

Host for HTTP transport

REKA_MCP_HTTP_PORT

8080

Port for HTTP transport. In hosted mode, PORT takes precedence when set.

REKA_MCP_HTTP_PATH

/mcp

Streamable HTTP endpoint path

REKA_MCP_ALLOWED_HOSTS

mcp.reka.ai,staging.mcp.reka.ai in hosted

Comma-separated allowed HTTP Host values for DNS rebinding protection

REKA_MCP_ALLOWED_ORIGINS

https://mcp.reka.ai,https://staging.mcp.reka.ai in hosted

Comma-separated allowed Origin values

REKA_MCP_AUTH_TOKEN

(none)

Optional bearer token for HTTP transport auth. Clients must send Authorization: Bearer <token> when set.

Release Checks

cd /path/to/reka-mcp
uv build
uv run twine check dist/*
# Publish only after explicit approval:
uv run twine upload dist/*

Example Workflows

Search and Visual Q&A

Agent: search_videos(query="revenue chart")
→ [{video_id: "v1", start: 30.0, end: 35.0, score: 0.95}]

Agent: ask_video(question="What numbers are on the chart?",
                 video_id="v1", start=30.0, end=35.0)
→ {answer: "Q3 revenue of $4.2M, up 32%...", conversation_id: "c1"}

Agent: ask_video(question="What's the percentage change?",
                 conversation_id="c1")
→ {answer: "Revenue increased by 32% quarter-over-quarter..."}

Cross-Video Comparison

Agent: search_videos(query="quarterly revenue")
→ [{video_id: "v1", start: 30.0, ...}, {video_id: "v2", start: 120.0, ...}]

Agent: ask_video(question="How do the revenue figures compare?",
                 videos=[
                   {video_id: "v1", start: 30.0, end: 35.0},
                   {video_id: "v2", start: 120.0, end: 125.0}
                 ])
→ {answer: "Video 1 shows Q3 at $4.2M while Video 2 shows Q4 at $5.1M..."}

Video Summary and Transcript Extraction

Agent: summarize_video(video_id="v1")
→ {name: "Lecture 3", duration_seconds: 3600, features: {...},
   scene_count: 42, transcript_preview: "Welcome to today's lecture..."}

Agent: get_transcript(video_id="v1", format="segments", start=0, end=60)
→ {data: [{start: 0.0, end: 5.2, text: "Welcome..."}, ...],
   total_count: 12, truncated: false}

Available Tools

17 tools
ask_videoA
Read-only

Ask a question about one or more videos with visual analysis. Most effective on focused time ranges — use start/end to specify the segment to analyze.

BEFORE calling this tool, read the reka://docs/guide resource for recommended workflows. In most cases, you should first:

  • search_videos to find WHEN something happens, then pass those timestamps here as start/end

  • segment_video to detect and locate specific objects

  • get_transcript to read what was said

For single-video questions, pass video_id with start/end. For cross-video questions, pass videos — a list of video references with start/end each.

For follow-up questions, pass conversation_id from the previous response. You can add start/end to drill into a specific moment while keeping the conversation context.

Requires qa_only or full pipeline.

Inputs: question (required), end, start, videos, +3 more. Returns: result

create_groupA

Create a new video group. Groups organize videos into collections. Returns the new group's ID and name.

Inputs: name (required), rationale. Returns: result

delete_groupA
DestructiveIdempotent

Delete a video group. Videos in the group are not deleted — they are simply removed from the group.

Inputs: group_id (required), rationale. Returns: result

delete_videoA
DestructiveIdempotent

Permanently delete a video and all its indexed data (transcript, captions, embeddings, etc.). This cannot be undone.

Inputs: video_id (required), rationale. Returns: result

get_captionsA
Read-onlyIdempotent

Get AI-generated visual descriptions of what happens on screen. Use this to understand the visual content without watching — each caption describes a short segment with timestamps.

Use start/end to narrow results.

Requires the captions feature (qa_only or full pipeline).

Inputs: video_id (required), end, start, rationale, +1 more. Returns: result

get_feature_catalogA
Read-onlyIdempotent

List available video analysis features with their dependencies and descriptions. Use this to understand what features exist and what pipelines to use with index_video.

Inputs: rationale. Returns: result

get_scenesA
Read-onlyIdempotent

Get detected scene boundaries with start/end timestamps. Use this to understand the video's structure, then pass scene timestamps as start/end to:

  • ask_video for per-scene contextual analysis

  • segment_video to detect specific objects per scene (scenes typically fit in segment_video's 15s max range)

Requires transcript indexed with scene detection (on by default; skipped only if index_video was called with scene_detection=False).

Inputs: video_id (required), rationale, max_results. Returns: result

get_transcriptA
Read-onlyIdempotent

Get the spoken words in a video. Use this instead of ask_video when you need to read what was said — it returns the actual text, not a summary.

Use start/end to narrow results for long videos.

Requires the transcript feature to be indexed.

Inputs: video_id (required), end, start, format, +3 more. Returns: result

get_videoA
Read-onlyIdempotent

Get detailed information about a video including upload status, metadata (duration, resolution, fps), and per-feature indexing status. Use this to check if upload or indexing is complete. The 'url' field is a short-lived HTTPS presigned URL (expires within hours) — fetch immediately and do not store; call get_video again for a fresh URL when needed.

Inputs: video_id (required), rationale. Returns: result

index_videoA
Idempotent

Index a video for search, QA, or full analysis. Processes the video through a pipeline of AI features. Typically takes 3-7 minutes; longer for long videos or the 'full' pipeline. Times out after 10 minutes by default.

Pipelines:

  • search_only: transcription + captions + embeddings (enables search_videos)

  • qa_only: transcription + captions (enables ask_video)

  • full: transcription + captions + embeddings (enables all tools)

Scene detection is enabled by default and produces scene boundaries for get_scenes. Pass scene_detection=False to skip it.

Prerequisites: if using video_id, the video must be in 'uploaded' status. Use get_video to check status before calling this tool.

Accepts either video_id (for an already-uploaded video) or file_path (a local file to upload and index in one step). Provide exactly one.

Inputs: pipeline, video_id, file_path, rationale, +1 more. Returns: result

list_groupsA
Read-onlyIdempotent

List all video groups. Use list_videos with a group_id to see videos in a specific group.

Inputs: rationale. Returns: result

list_videosA
Read-onlyIdempotent

List all videos in your account, or filter to a specific group by passing group_id. Shows upload status and which features have been indexed for each video. Each video's 'url' is a short-lived HTTPS presigned URL (expires within hours) — fetch immediately and do not store; call list_videos or get_video again for a fresh URL when needed.

Inputs: group_id, rationale. Returns: result

search_videosA
Read-onlyIdempotent

Find WHEN and WHERE something happens across your videos. Returns timestamped results ranked by relevance — use these timestamps as start/end in ask_video for focused analysis.

This is the recommended first step for most questions. Instead of asking ask_video about the entire video, search first to narrow down the relevant moments.

Each result's 'video_url' is a short-lived HTTPS presigned URL (expires within hours) — fetch immediately and do not store; call search_videos or get_video again for a fresh URL when needed.

Requires search_only or full pipeline.

Inputs: query (required), group_id, rationale, video_ids, +1 more. Returns: result

segment_videoA
Read-onlyIdempotent

Detect objects in a video segment using text prompts. Describe what to look for and get per-frame detections with bounding boxes and confidence scores.

Prompt tips:

  • Use broad, visual categories: 'animal', 'vehicle', 'person', 'text on screen'

  • Specific labels ('rabbit', 'Toyota') are less reliable — the detector matches visual patterns, not semantic concepts

  • Best for confirming whether a category of object appears in a time window, not for precise identification

How to pick a time range:

  • Use search_videos to find WHEN something appears, then pass those timestamps here

  • Use get_scenes to scan systematically — call segment_video once per scene (scenes typically fit in the 15s window)

  • Or pass any range you already know

Maximum range is 15 seconds per call; for longer spans, make multiple calls with consecutive windows.

Does NOT require any feature indexing — works on any uploaded video.

Inputs: start (required), prompts (required), video_id (required), end, +2 more. Returns: result

summarize_videoA
Read-onlyIdempotent

Start here. Get a compact overview of a video: metadata, which features are indexed, a transcript preview, and scene count. Use this to decide which tools to call next — then use segment_video to detect specific objects in time ranges of interest.

Inputs: video_id (required), rationale. Returns: result

update_videoA
Idempotent

Update a video's display name, title, description, or move it to a different group. At least one field must be provided. To remove a video from its group, pass group_id as null.

Inputs: video_id (required), name, title, group_id, +3 more. Returns: result

upload_videoA

Upload a video from a URL. Returns a video_id. Local file paths are not accepted; upload files outside the MCP server and pass a reachable video_url. The upload runs asynchronously — poll get_video until status is 'uploaded', then call index_video to enable search and analysis.

Inputs: video_url (required), name, group_id, rationale, +1 more. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools target a distinct resource or action, and descriptions cross-reference when to use each. The only mild overlap is between get_video and summarize_video, since both surface metadata and indexing status, though summarize_video is clearly positioned as the higher-level entry point.

    Naming Consistency5/5

    Every tool follows a consistent snake_case verb_noun pattern such as get_video, create_group, search_videos, and summarize_video. There are no mixed conventions or vague generic names.

    Tool Count4/5

    At 17 tools, the count is slightly above the ideal 3-15 range, but the platform spans video management, grouping, indexing, search, QA, object detection, and transcript/caption/scene retrieval. Each tool serves a distinct workflow step, so the larger number is justified.

    Completeness5/5

    The toolset covers the full video lifecycle from upload and indexing through status checks, updates, and deletion, plus group organization and every major analysis feature: search, QA, object detection, transcript, captions, scenes, and a feature catalog. No obvious dead ends or missing core operations stand out.

    Related MCP Connectors

    Related MCP Servers