Skip to main content
Glama
ring-vision-mcp

ring-vision-mcp

by SwaggyXO

ring-vision-mcp

Model Context Protocol (MCP) server for Ring cameras and doorbells, built on the official 2026 Amazon Vision Partner API (api.amazonvision.com).

Disclaimer: This is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by Amazon, Ring, or their affiliates (yet!).


What This Is / What This Is Not

  • This is: An open-source Model Context Protocol (MCP) bridge to Ring's official 2026 Partner API (api.amazonvision.com) for authorized device discovery, connectivity status, event history, diagnostics, and WebRTC (WHEP) live-view session signaling.

  • This is not: An unofficial consumer-account scraper (no 2FA circumvention), a computer-vision model, or a replacement for Ring's own developer console.


Related MCP server: Rhombus MCP Server

Features

  • Official 2026 Vision Partner API: Communicates directly with api.amazonvision.com endpoints for device inventory, real-time connectivity status, event history, and WebRTC HTTP Egress Protocol (WHEP) live streaming.

  • Dual Authentication Modes:

    • Developer Playground: Quick start using direct access tokens generated from the Amazon Vision Developer Portal.

    • Production OAuth 2.0: Long-running sessions using client credentials (client_id and client_secret) with automated token refresh.

  • Flexible Transports:

    • stdio (default): Native integration with desktop LLM clients (Claude Desktop, Cursor, Antigravity).

    • Streamable HTTP: Full MCP 2025-11-25 Streamable HTTP transport (--http) listening at /mcp for networked or cloud agent integrations (such as Alexa+).

  • Human-Friendly Device Resolution: Tools accept either upstream device UUIDs or friendly name substrings (e.g. "Front Door", "backyard").

  • Offline Mock Mode: Enables full development, UI preview, and automated CI testing without live hardware or active credentials via --mock or RING_MOCK_MODE=true.

  • Privacy-First Architecture:

    • Excludes user personal identity information (account profile, name, email, billing).

    • Excludes raw device GPS coordinates.

    • Diagnostic tools for raw payload inspection are quarantined behind an explicit --extended runtime flag.


Architecture

+---------------------+       stdio JSON-RPC       +--------------------+
|                     | <========================> |                    |
|   LLM Client        |                            |  ring-vision-mcp   |
|  (Claude / Cursor)  |   or Streamable HTTP /mcp  |                    |
+---------------------+ <------------------------> +---------+----------+
                                                             |
                                                             | HTTPS (Bearer Token)
                                                             v
                                                   +--------------------+
                                                   | Amazon Vision API  |
                                                   | api.amazonvision   |
                                                   +--------------------+

Quick Start

Option 1: Run via npx

You can run the server directly without manual installation:

# Using a developer playground token
RING_ACCESS_TOKEN="your-access-token" npx -y ring-vision-mcp

# Or in offline mock mode (no credentials needed)
npx -y ring-vision-mcp --mock

Option 2: Clone and Build Locally

# Clone the repository
git clone https://github.com/SwaggyXO/ring-vision-mcp.git
cd ring-vision-mcp

# Install dependencies
npm install

# Run automated tests
npm test

# Build production bundle to dist/
npm run build

# Start local server via stdio
node dist/index.js

# Or start via Streamable HTTP on port 3001
node dist/index.js --http --port 3001

Client Configuration

Claude Desktop

Add the server to your claude_desktop_config.json:

Developer Playground Token Mode

{
  "mcpServers": {
    "ring-vision": {
      "command": "npx",
      "args": ["-y", "ring-vision-mcp"],
      "env": {
        "RING_ACCESS_TOKEN": "your-developer-access-token"
      }
    }
  }
}

Production OAuth 2.0 Mode

{
  "mcpServers": {
    "ring-vision": {
      "command": "npx",
      "args": ["-y", "ring-vision-mcp"],
      "env": {
        "RING_CLIENT_ID": "your-client-id",
        "RING_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Offline Mock Mode (No Hardware Required)

{
  "mcpServers": {
    "ring-vision": {
      "command": "npx",
      "args": ["-y", "ring-vision-mcp", "--mock"]
    }
  }
}

Cursor

Add to your project .cursor/mcp.json:

{
  "mcpServers": {
    "ring-vision": {
      "command": "npx",
      "args": ["-y", "ring-vision-mcp"],
      "env": {
        "RING_ACCESS_TOKEN": "your-developer-access-token"
      }
    }
  }
}

Alexa+ / Cloud Agents (Streamable HTTP)

Point your MCP client or reverse proxy to the /mcp endpoint:

http://<host>:3001/mcp

Transport type: streamable-http (MCP 2025-11-25).


MCP Reference

Resources (Passive State)

Resources provide passive read-only state for clients supporting resource context attachments:

URI

MIME Type

Description

ring://devices

application/json

Complete catalog of all Ring cameras and doorbells registered to the account.

ring://devices/{deviceId}/status

application/json

Real-time connectivity status and optional device-reported telemetry.

ring://events/recent

application/json

Snapshot of the most recent incoming motion alerts and doorbell ring events.

Core Operational Tools (Active Operations)

Tools are callable by AI models to query device state, audit configurations, and manage video streaming:

Tool Name

Parameters

Description

ring_list_devices

includeOffline (boolean, default: true)

Lists all cameras and doorbells with online status and hardware capabilities.

ring_get_device_status

deviceId (string: ID or name substring)

Retrieves online/offline status and device-reported telemetry (battery percentage, Wi-Fi signal metrics when available).

ring_get_device_capabilities

deviceId (string: ID or name substring)

Inspects device-reported capabilities (supported video codecs, max resolution, two-way audio, and image enhancements).

ring_get_device_configurations

deviceId (string: ID or name substring)

Inspects motion detection status, active motion zones count, and privacy zone configurations.

ring_query_event_history

deviceId (optional string), limit (number, 1-100)

Retrieves past events. If deviceId is omitted, aggregates recent events across all account devices.

ring_initiate_whep_stream

deviceId (string: ID or name), sdpOffer (string)

Submits a WebRTC SDP offer to Ring's WHEP gateway; returns the SDP answer and session control URL.

ring_terminate_whep_stream

sessionUrl (string)

Closes an active WebRTC live view session immediately.

Important WebRTC Signaling Boundary: ring_initiate_whep_stream performs WebRTC HTTP Egress Protocol (WHEP) signaling negotiation by exchanging the client's SDP offer with Ring's media gateway. It returns the session control URL and SDP answer. It does not decode, process, or display video frames directly inside the MCP client. Decoded playback is handled by an external WebRTC player, browser, or media pipeline.

Extended Diagnostic Tools (--extended)

To expose advanced inspection tools for low-level debugging, start the server with the --extended flag:

node dist/index.js --extended

Tool Name

Parameters

Description

ring_inspect_raw_device

deviceId (string)

Retrieves unparsed upstream API attributes for a device for troubleshooting.

ring_inspect_auth_status

none

Validates token configuration, active auth mode, and connectivity without exposing secrets.

ring_inspect_stream_session

sessionUrl (string)

Validates active WHEP session control URL and connection state.


Environment Variables

Variable

Type

Description

RING_ACCESS_TOKEN

String

Direct developer access token from the Ring Developer Playground.

RING_CLIENT_ID

String

OAuth 2.0 Client ID (paired with RING_CLIENT_SECRET).

RING_CLIENT_SECRET

String

OAuth 2.0 Client Secret.

RING_API_BASE

String

Amazon Vision API base URL. Defaults to https://api.amazonvision.com.

RING_TOKEN_URL

String

OAuth token endpoint. Defaults to https://api.amazonvision.com/oauth/token.

RING_MOCK_MODE

Boolean

Set to "true" to run offline with simulated devices and events.

RING_EXTENDED_TOOLS

Boolean

Set to "true" to register extended diagnostic tools.

MCP_TRANSPORT

String

Set to "http" to start the Streamable HTTP transport instead of stdio.

MCP_PORT

Number

Port for the Streamable HTTP server (default: 3001).

Note: Setting both RING_ACCESS_TOKEN and RING_CLIENT_ID simultaneously will cause the server to fail fast with a configuration error to prevent credential ambiguity.


Development

# Run all automated unit and protocol tests
npm test

# Verify TypeScript types
npm run typecheck

# Build release bundle
npm run build

License

MIT License. See LICENSE for details.

Available Tools

7 tools
ring_get_device_capabilitiesA

Inspect hardware capabilities for a Ring device (supported video codecs, resolutions, two-way audio, color night vision).

Inputs: deviceId (required).

ring_get_device_configurationsA

Retrieve motion zones, privacy zones, and camera alert settings for a Ring device by ID or name.

Inputs: deviceId (required).

ring_get_device_statusA

Retrieve real-time battery percentage, Wi-Fi RSSI signal strength, and firmware version for a Ring device by ID or name.

Inputs: deviceId (required).

ring_initiate_whep_streamC

Start a live WebRTC WHEP video streaming session with a Ring camera by ID or name and exchanging a client SDP offer.

Inputs: deviceId (required), sdpOffer (required).

ring_list_devicesA

List all connected Ring cameras and doorbells with online status and hardware capabilities.

Inputs: includeOffline.

ring_query_event_historyA

Retrieve recorded historical events (motion alerts, doorbell presses, live views). Can target a specific device ID or name, or aggregate recent events across all account devices.

Inputs: limit, deviceId.

ring_terminate_whep_streamA

Cleanly terminate an active WebRTC WHEP live streaming session using its session control URL.

Inputs: sessionUrl (required).

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 7 tools

    Disambiguation5/5

    Each tool targets a distinct concern: device discovery, status, capabilities, configurations, stream lifecycle, and event history. There is no meaningful overlap between tools, so an agent can reliably select the right one.

    Naming Consistency5/5

    All tools share a consistent ring_ prefix and follow a clear verb_noun structure such as list_devices, get_device_status, initiate_whep_stream. Naming conventions are uniform and predictable.

    Tool Count5/5

    Seven tools is well-scoped for a Ring-focused MCP server. Each tool addresses a distinct operational need without redundancy or bloat.

    Completeness4/5

    The surface covers device listing, status, capabilities, configurations, live streaming, and event history—the core Ring use cases. Minor gaps exist, such as the lack of configuration updates or recorded clip playback, but these do not break primary workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Amazon services through AI assistants, allowing users to search products, manage their cart, view order history, and place orders using natural language.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to interact with Rhombus physical security systems, providing access to smart cameras, access control, IoT sensors, and alarm monitoring through the Rhombus API.
      31
      280 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables control of Ring home security devices, including doorbells, cameras, lights, and alarm systems, through MCP-compatible clients like Claude Desktop.
      5
      MIT