Skip to main content
Glama
DoubleTick MCP Server

DoubleTick MCP Server

by cseguinlz

DoubleTick CLI

Open-source CLI and MCP server for email read tracking via Gmail. Know when your emails are opened — from the terminal.

Works with the DoubleTick backend. Tracks from the CLI show up alongside tracks from the Chrome extension.

Install

npm install -g doubletick-cli

Related MCP server: Gmail MCP Server

Quick Start

# 1. Log in with your Gmail account (one-time)
doubletick login

# 2. Send a tracked email
doubletick send --to jane@company.com --subject "Q1 Planning" --body "Hi Jane, here are the numbers..."

# 3. Check if they read it
doubletick status --last

Commands

doubletick login

Authenticate with Gmail and DoubleTick. Opens your browser for Google sign-in. One-time setup — credentials are stored locally in ~/.doubletick/credentials.json.

doubletick logout

Remove stored credentials.

doubletick send

Send a tracked email. Injects a read-tracking pixel, sends via Gmail API, and registers the track.

# Send a tracked email (body is markdown by default)
doubletick send --to jane@co.com --subject "Hi" --body "Hello **Jane**"

# HTML body instead of markdown
doubletick send --to jane@co.com --subject "Hi" --body "<h1>Hello</h1>" --html

# Body from file
doubletick send --to jane@co.com --subject "Hi" --body-file ./email.md

# With CC/BCC
doubletick send --to jane@co.com --cc "bob@co.com" --subject "Hi" --body "Hello"

doubletick status

Check if a tracked email has been opened.

# Most recent tracked email
doubletick status --last

# Find by recipient
doubletick status --to jane@company.com

# By tracking ID
doubletick status abc-123

doubletick dashboard

List all your tracked emails with open rates and stats.

doubletick dashboard
doubletick dashboard --limit 50

MCP Server

DoubleTick works as an MCP server so AI agents (Claude Code, Claude Desktop, etc.) can send and track emails natively.

Setup

Add to your Claude configuration:

{
  "mcpServers": {
    "doubletick": {
      "command": "npx",
      "args": ["-y", "doubletick-cli"]
    }
  }
}

You must run doubletick login first — the MCP server uses the same stored credentials.

Tools

Tool

Description

send_tracked_email

Send an email with read tracking

check_tracking_status

Check if a tracked email has been opened

list_tracked_emails

List recent tracked emails with stats

How It Works

  1. You compose an email (text or markdown)

  2. The CLI converts it to HTML, generates a tracking ID, and injects a 1x1 tracking pixel

  3. The email is sent via the Gmail API

  4. The track is registered with DoubleTick's backend

  5. When the recipient opens the email, the pixel fires and the open is logged

  6. You check the status via doubletick status

The entire DoubleTick backend (pixel serving, open logging, deduplication, device detection) works unchanged. The CLI is just a new way to inject the pixel — replacing the Chrome extension's role for terminal/agent workflows.

Architecture

doubletick CLI / MCP server
  ├── Gmail API        → send emails
  └── DoubleTick API   → register tracks, check status
        ├── GET  /img?t=<id>   → tracking pixel
        ├── POST /track        → register tracked email
        ├── GET  /status?id=   → check opens
        └── GET  /dashboard    → list tracked emails

Requirements

  • Node.js 18+

  • A Gmail account

  • A DoubleTick account (free tier: 5 tracked emails/week)

License

MIT

Available Tools

3 tools
check_tracking_statusA

Check if a tracked email has been opened. Returns open count, device info, and timestamps.

Inputs: trackingId (required).

list_tracked_emailsC

List recent tracked emails with their open status.

Inputs: limit.

send_tracked_emailA

Send an email with read tracking via Gmail. Body accepts markdown (converted to HTML automatically). The email is sent immediately via Gmail API.

Inputs: to (required), subject (required), body (required), cc, +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: check_tracking_status focuses on detailed status of a specific tracked email, list_tracked_emails provides a summary list of recent emails, and send_tracked_email handles sending new emails. There is no overlap in functionality, making it easy for an agent to select the right tool.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (check_tracking_status, list_tracked_emails, send_tracked_email). The naming is predictable and readable, with no deviations in style or convention.

    Tool Count4/5

    With 3 tools, the server is well-scoped for email tracking via Gmail, covering core operations: sending, listing, and checking status. It feels slightly thin but reasonable, as it handles the essential workflow without unnecessary complexity.

    Completeness4/5

    The tool set covers the main email tracking lifecycle: send, list, and check status. A minor gap exists in operations like deleting or updating tracked emails, but agents can work around this, and the core functionality is adequately covered for the domain.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Gmail through the Gmail API to read, send, and manage emails. Supports multiple Gmail accounts with real-time monitoring and advanced features for email search and attachment handling.
      17
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive Gmail integration with 25+ tools for intelligent email management, including AI-powered categorization, advanced search and filtering, automated archiving and cleanup, analytics, and secure OAuth2 authentication.
      150 npm
      2
      MIT