Skip to main content
Glama
Ring Developer MCP Server
by benjmac

Ring Developer MCP Server

A developer toolkit MCP server for building Amazon Ring integrations. Unlike Ring's official MCP — which provides documentation search — this server generates production-ready code, validates your configuration, and guides you through certification and publishing. One tool call gives you a working, self-contained module instead of requiring multiple doc searches and LLM interpretation.

How It Differs from Ring's Official MCP

Ring provides an official Appstore Knowledge MCP server with two tools (search_docs and get_doc) for searching their documentation. It's a great reference tool, and this server can even proxy queries to it.

This MCP server is a developer toolkit that goes beyond documentation:

  • Code generation — 6 tools that produce self-contained, plug-and-play modules (OAuth, webhooks, device client, streaming, video processing). Each module includes its own auth, error handling, and everything needed to run — no phantom imports, no missing dependencies.

  • Structured API reference — typed endpoint definitions, webhook payload schemas, and OAuth flow details optimized for LLM consumption, not prose paragraphs.

  • Developer workflow — config validation, certification checklist, testing guide, and publishing guide covering the full lifecycle from build to app store.

  • Deterministic output — the same tool call produces the same proven code every time, unlike doc-search approaches where output varies per LLM and per prompt.

  • Offline-first — built-in knowledge base works without network access, with optional remote fallback to Ring's official MCP.

You can use both servers together. This one handles code generation and workflows; Ring's handles live documentation search.

Related MCP server: ConvoKit MCP

What It Does

This MCP server provides 16 tools across four categories that cover the full Ring development lifecycle:

Tool

Description

search_ring_docs

Search Ring documentation with local knowledge base + optional proxy to Ring's official MCP

refresh_ring_docs

Fetch latest docs from the Ring developer portal and update the local cache

API Reference

Tool

Description

get_ring_api_reference

Browse Ring Partner API endpoints by category or search by keyword

get_ring_webhook_schema

Get webhook event payload schemas with examples (motion, person, device events)

get_ring_oauth_reference

OAuth 2.0 account linking flow, required endpoints, and configuration

Code Generation

Tool

Description

scaffold_ring_project

Generate complete project structure (Next.js or Express)

generate_ring_oauth

Production-ready OAuth token management with caching and auto-refresh

generate_ring_webhook_handler

Webhook handler with HMAC-SHA256 verification and idempotency

generate_ring_device_client

Device discovery, status monitoring, and capability inspection

generate_ring_streaming_client

WebRTC/WHEP live video streaming with session management

generate_ring_video_processor

Video processor plugin for real-time camera feed analysis

generate_ring_env_template

Environment variables template with security reminders

Validation & Workflow

Tool

Description

validate_ring_config

Validate credentials, endpoints (HTTPS), and app metadata

get_ring_certification_checklist

Complete certification checklist with common rejection reasons

get_ring_testing_guide

Staging environment setup and testing workflows

get_ring_publishing_guide

Rollout strategies, monetization, and version management

Quick Start

Prerequisites

Choose one:

  • Node.js 22+ for building from source

  • Docker for containerized deployment

Plus any AI coding assistant that supports MCP (Claude Desktop, Cursor, VS Code, Kiro, Cline, Windsurf).

Option A: Build from Source

git clone https://github.com/benjmac/ring-developer-mcp.git
cd ring-developer-mcp
npm install
npm run build

Option B: Docker

git clone https://github.com/benjmac/ring-developer-mcp.git
cd ring-developer-mcp
docker build -t ring-developer-mcp .

Or using npm scripts:

npm run docker:build

Verify the Docker image works:

echo '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}},"id":1}' | docker run -i --rm ring-developer-mcp

You should see a JSON response with "serverInfo":{"name":"ring-developer-mcp"}.


Connect to Your AI Assistant

Below are configurations for every major AI coding tool. Each shows both Node.js and Docker variants — pick whichever matches how you built the server.

Important: Replace /absolute/path/to/ring-developer-mcp with the actual path where you cloned the repo.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "ring-developer": {
      "command": "node",
      "args": ["/absolute/path/to/ring-developer-mcp/dist/index.js"]
    }
  }
}
{
  "mcpServers": {
    "ring-developer": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ring-developer-mcp"]
    }
  }
}

VS Code (Claude Code Extension)

Add to .vscode/settings.json or user settings:

{
  "claude-code.mcpServers": {
    "ring-developer": {
      "command": "node",
      "args": ["/absolute/path/to/ring-developer-mcp/dist/index.js"]
    }
  }
}
{
  "claude-code.mcpServers": {
    "ring-developer": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ring-developer-mcp"]
    }
  }
}

Cursor

Settings > Features > MCP > Edit Config:

{
  "mcpServers": {
    "ring-developer": {
      "command": "node",
      "args": ["/absolute/path/to/ring-developer-mcp/dist/index.js"]
    }
  }
}
{
  "mcpServers": {
    "ring-developer": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ring-developer-mcp"]
    }
  }
}

Kiro

Kiro button > MCP Servers > Edit:

{
  "ring-developer": {
    "command": "node",
    "args": ["/absolute/path/to/ring-developer-mcp/dist/index.js"]
  }
}
{
  "ring-developer": {
    "command": "docker",
    "args": ["run", "-i", "--rm", "ring-developer-mcp"]
  }
}

Cline (VS Code)

Cline icon > MCP Servers > Installed > Add MCP Server:

  • Node.js: node /absolute/path/to/ring-developer-mcp/dist/index.js

  • Docker: docker run -i --rm ring-developer-mcp

Windsurf

Add to MCP configuration:

{
  "mcpServers": {
    "ring-developer": {
      "command": "node",
      "args": ["/absolute/path/to/ring-developer-mcp/dist/index.js"]
    }
  }
}
{
  "mcpServers": {
    "ring-developer": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ring-developer-mcp"]
    }
  }
}

Verify It Works

After configuring, restart your AI assistant and ask:

"Search the Ring docs for how authentication works"

You should see the search_ring_docs tool invoked and get back detailed OAuth and API reference information.

Usage Examples

Once configured, ask your AI assistant questions like:

Getting Started

"Search the Ring docs for how to get started with the Ring API"

"Show me the Ring OAuth flow and generate the auth module"

Building Features

"Generate a webhook handler for my Next.js app with HMAC verification"

"Create a WebRTC streaming client for Ring cameras"

"Generate a device client that lists all cameras and their status"

"Scaffold a new Ring integration project using Express"

Preparing for Launch

"Validate my Ring app configuration for certification"

"Show me the certification checklist — what do I need before submitting?"

"What are the common rejection reasons for Ring app certification?"

Staying Current

"Refresh the Ring documentation cache with the latest content"

Architecture

Each tool is a self-contained module in its own file — one tool, one file — organized by category:

src/
├── index.ts                          # Entry point — stdio MCP transport
├── server.ts                         # Tool registration hub
├── tools/
│   ├── types.ts                      # Shared ToolDefinition and ToolResult types
│   ├── docs/
│   │   ├── cache.ts                  # Documentation cache with 24h TTL
│   │   ├── search-docs.ts           # search_ring_docs
│   │   └── refresh-docs.ts          # refresh_ring_docs
│   ├── api/
│   │   ├── get-api-reference.ts     # get_ring_api_reference
│   │   ├── get-webhook-schema.ts    # get_ring_webhook_schema
│   │   └── get-oauth-reference.ts   # get_ring_oauth_reference
│   ├── codegen/
│   │   ├── scaffold-project.ts      # scaffold_ring_project
│   │   ├── generate-oauth.ts        # generate_ring_oauth
│   │   ├── generate-webhook-handler.ts  # generate_ring_webhook_handler
│   │   ├── generate-device-client.ts    # generate_ring_device_client
│   │   ├── generate-streaming-client.ts # generate_ring_streaming_client
│   │   ├── generate-video-processor.ts  # generate_ring_video_processor
│   │   └── generate-env-template.ts     # generate_ring_env_template
│   └── workflow/
│       ├── validate-config.ts       # validate_ring_config
│       ├── get-certification-checklist.ts  # get_ring_certification_checklist
│       ├── get-testing-guide.ts     # get_ring_testing_guide
│       └── get-publishing-guide.ts  # get_ring_publishing_guide
└── knowledge/
    ├── api-endpoints.ts     # Ring Partner API endpoint definitions
    ├── webhook-schemas.ts   # Webhook event types and payload schemas
    ├── oauth-config.ts      # OAuth configuration and account linking reference
    ├── guides.ts            # Certification, testing, and publishing guides
    └── templates.ts         # Code generation templates (self-contained modules)

Design Decisions

  • Zero runtime dependencies beyond MCP SDK and Zod — no bloat, fast startup

  • Built-in knowledge base — works offline with comprehensive Ring API reference data

  • Remote doc proxy — optionally queries Ring's official Appstore Knowledge MCP server for the latest docs

  • Framework-agnostic code gen — generates code for Next.js, Express, or standalone Node.js

  • Security-first templates — all generated code includes HMAC verification, token caching, HTTPS enforcement, and idempotency

Development

# Watch mode for development
npm run dev

# Type check without emitting
npm run typecheck

# Clean build artifacts
npm run clean

# Full rebuild
npm run clean && npm run build

Ring API Coverage

This server covers the complete Ring Partner API:

Category

Endpoints

Authentication

OAuth token exchange via refresh_token grant

Users

GET /v1/users/me

Devices

Discovery, status, capabilities, location, configurations

Video Streaming

WHEP session creation (POST) and cleanup (DELETE)

Account Linking

POST + PATCH for account link lifecycle

Media Clips

POST download for recorded video footage

Webhooks

motion_detected, person_detected, button_press, device_added, device_removed, device_online, device_offline

Ring's Official MCP

Ring provides an official Appstore Knowledge MCP server (https://knowledge.appstore-mcp.ring.amazon.dev/mcp) with documentation search powered by Amazon Bedrock. See Ring's MCP docs for setup instructions.

The two servers complement each other well — use Ring's for live documentation search and this one for code generation, structured API reference, and developer workflows. The search_ring_docs tool in this server can proxy queries to Ring's MCP when you set source: "remote" or source: "both".

Ring Developer Resources

Official documentation and references used to build this MCP server:

  • Ring Developer Portal — https://developer.amazon.com/ring

  • Ring API Hello World — Amazon's official example repo for the Ring Partner API. A great reference for working code examples and was an inspiration for this project. If you're looking for hands-on sample code beyond what this MCP generates, start there.

Developer Lifecycle

API Documentation

Authentication

Device Discovery

Webhook Notifications

Other APIs

License

MIT

Available Tools

16 tools
generate_ring_device_clientGenerate Ring Device ClientB
Read-only

Generate a Ring device API client with methods for device discovery, status monitoring, and capability inspection. Uses the JSON:API include parameter for efficient requests. Covers GET /v1/devices, GET /v1/devices/{id}/status, and GET /v1/devices/{id}/capabilities endpoints.

Inputs: include_examples.

generate_ring_env_templateGenerate Ring Environment TemplateB
Read-only

Generate an environment variables template (.env) for Ring development. Includes all required credentials (client_id, client_secret, refresh_token, HMAC key) with security reminders. Tailored for Next.js, Express, or standalone Node.js projects.

Inputs: framework.

generate_ring_oauthGenerate Ring OAuth ModuleA
Read-only

Generate production-ready OAuth 2.0 token management code for Ring API integration. Includes token caching in memory, automatic refresh 60 seconds before expiration, and security best practices. The generated module handles the refresh_token grant type per Ring's OAuth specification.

Inputs: framework.

generate_ring_streaming_clientGenerate Ring Streaming ClientB
Read-only

Generate a WebRTC/WHEP streaming client for live Ring camera video. Includes server-side SDP exchange via POST /whep/sessions/{deviceId}, session cleanup via DELETE, and browser-side WebRTC setup example. Battery-powered devices support 30-second streams, line-powered up to 60 seconds.

Inputs: include_browser_example.

generate_ring_video_processorGenerate Ring Video ProcessorB
Read-only

Generate a video processor plugin for analyzing live Ring camera feeds. Includes the VideoProcessor interface, a complete MotionDeltaProcessor example, processor registry for lifecycle management, and instructions for creating custom processors. Processors run on each video frame at configurable FPS.

Inputs: description, processor_id, processor_name.

generate_ring_webhook_handlerGenerate Ring Webhook HandlerA
Read-only

Generate a webhook handler with HMAC-SHA256 signature verification (X-Signature header), idempotency via request_id deduplication, and JSON:API payload normalization. Handles all Ring webhook event types: motion_detected, person_detected, button_press, device_added, device_removed, device_online, device_offline. Supports Next.js App Router, Express.js, and standalone Node.js HTTP server.

Inputs: framework.

get_ring_api_referenceRing API ReferenceA
Read-only

Get Ring Partner API endpoint documentation. Browse by category (Authentication, Devices, Video Streaming, etc.) or search for specific endpoints. Returns detailed endpoint information including method, path, headers, request/response examples, and error codes. Use the code generation tools (generate_ring_*) for ready-to-use client code.

Inputs: category, endpoint.

get_ring_certification_checklistRing Certification ChecklistA
Read-only

Get the complete Ring App Store certification checklist. Covers endpoint configuration, OAuth setup, security requirements, app metadata, and functionality testing. Includes common rejection reasons and how to avoid them.

Inputs: section.

get_ring_oauth_referenceRing OAuth ReferenceA
Read-only

Get Ring OAuth 2.0 account linking documentation. Covers the complete authorization flow step-by-step, required endpoint URLs your app must implement, OAuth configuration settings, and environment variable templates. Use generate_ring_oauth for ready-to-use token management code.

Inputs: section.

get_ring_publishing_guideRing Publishing GuideA
Read-only

Get the Ring app publishing guide. Covers rollout strategies (beta, controlled, full release), monetization model (free to publish, 10% revenue share), version management, rollback procedures, and app lifecycle from submission to production.

Inputs: no named parameters.

get_ring_testing_guideRing Testing GuideA
Read-only

Get the Ring app testing guide. Covers staging environment setup, test user management (maximum 10 test users), testing workflow from sandbox to production, and validation areas including OAuth flow, webhook delivery, device API integration, and video streaming.

Inputs: no named parameters.

get_ring_webhook_schemaRing Webhook SchemasA
Read-only

Get Ring webhook event payload schemas with examples. Covers all 7 event types: motion_detected, person_detected, button_press, device_added, device_removed, device_online, device_offline. Includes HMAC-SHA256 verification documentation, payload structure in JSON:API format, and the meta schema for request deduplication. Use generate_ring_webhook_handler for ready-to-use handler code.

Inputs: event_type, include_security.

refresh_ring_docsRefresh Ring DocumentationA
Idempotent

Fetch the latest Ring developer documentation from the official portal and update the local cache. Use this when documentation may have changed or for the most current information. Refreshes individual pages or all 8 official Ring documentation pages at once.

Inputs: page.

scaffold_ring_projectScaffold Ring ProjectC
Read-only

Generate a complete project structure for a Ring integration. Includes directory layout, package.json, TypeScript configuration, setup instructions, and architecture overview for Next.js or Express frameworks.

Inputs: framework, project_name.

search_ring_docsSearch Ring DocumentationA
Read-only

Search Ring developer documentation. Queries the built-in knowledge base and optionally proxies to Ring's official Appstore Knowledge MCP server for the latest information. Use source 'local' for offline access, 'remote' for latest docs, or 'both' for combined results.

Inputs: query (required), source.

validate_ring_configValidate Ring ConfigurationA
Read-only

Validate your Ring application configuration for certification readiness. Checks credentials (client_id, client_secret, HMAC key, refresh_token), endpoint URLs (HTTPS requirement), and app metadata (privacy policy, terms of service, support email). Returns a detailed report with issues and warnings categorized by severity.

Inputs: config (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 16 tools

    Disambiguation4/5

    The set cleanly splits into three families: documentation lookups (search/get_*), code generators (generate_ring_*/scaffold), and one validator, so most choices are obvious. The only mild overlaps are search_ring_docs versus the topic-specific get_ring_* references, and get_ring_certification_checklist versus validate_ring_config, though the descriptions do make the read-vs-check distinction clear.

    Naming Consistency5/5

    Every tool follows the same snake_case verb_ring_noun pattern (search_ring_docs, get_ring_api_reference, generate_ring_webhook_handler, validate_ring_config, scaffold_ring_project). Verbs map predictably to intent: get/search/refresh for docs, generate/scaffold for code, validate for checks.

    Tool Count4/5

    At 16 tools this sits right at the upper edge of the ideal range, but each tool maps to a distinct artifact: 8 documentation topics, 7 code generators, and 1 validator. Nothing feels redundant, though a few generators (env template, streaming client) could plausibly be folded into scaffold output.

    Completeness4/5

    The surface covers the full developer lifecycle: search/refresh docs, scaffold, generate OAuth, webhook, device, streaming, video, and env code, then validate and consult certification, testing, and publishing guides. Minor gaps exist around app submission/status tracking and combined end-to-end example generation, but agents can work around them with existing tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides AI-enabled access to Amazon Business API documentation, sample code, and troubleshooting resources. Enables developers to search and retrieve API documentation, generate integration code, and get guided solutions for common errors during the API integration process.
      2
      2
      19 npm
      1
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables coding assistants to integrate the platform using official SDK, UI, authentication, and REST documentation guides, and to manage an app's users, scoped tokens, memberships, conversation metadata, and messages through configurable connections.
      5
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables developers using agentic AI tools to scaffold applications and integration cards, retrieve API references and best-practice guidelines, inspect project metadata, validate manifests, and detect and fix framework-specific code issues.
      547 npm
      MIT