New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@wraps.dev/mcp

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wraps.dev/mcp

MCP server for Wraps email infrastructure. Query send history, check domain status, manage suppressions, and send emails via your AWS SES account.

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
40
-85.13%
Maintainers
1
Weekly downloads
 
Created
Source

@wraps.dev/mcp

MCP server for Wraps email infrastructure. Gives AI agents access to your AWS SES sending history, domain status, suppression list, and — optionally — the ability to send email.

Runs locally via stdio. Your AWS credentials never leave your machine.

Prerequisites

  • Wraps email stack deployed (wraps email deploy)
  • AWS credentials configured in your environment (same profile used for the Wraps CLI)

Tools

ToolDescriptionWrite?
send_emailSend a transactional email via your SES accountYes — requires WRAPS_WRITE_ENABLED=true
list_recent_sendsList recent sends from your email historyNo
get_email_event_logGet the full delivery event log for a message (Send, Delivery, Bounce, Complaint, Open, Click)No
verify_domain_statusCheck verification and DKIM status of a sending domainNo
list_suppressionsList addresses on your SES suppression list, optionally filtered by BOUNCE or COMPLAINTNo

Setup

Claude Desktop

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

{
  "mcpServers": {
    "wraps": {
      "command": "npx",
      "args": ["-y", "@wraps.dev/mcp"],
      "env": {
        "AWS_REGION": "us-east-1",
        "AWS_PROFILE": "your-aws-profile"
      }
    }
  }
}

Claude Code

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "wraps": {
      "command": "npx",
      "args": ["-y", "@wraps.dev/mcp"]
    }
  }
}

Claude Code inherits your shell's AWS environment, so no extra env config is needed if your credentials are already set.

Configuration

All configuration is via environment variables.

VariableRequiredDefaultDescription
AWS_REGIONYes—AWS region where your Wraps stack is deployed
WRAPS_HISTORY_TABLE_NAMENowraps-email-historyDynamoDB table name for email history
WRAPS_ACCOUNT_IDNoauto-detected via STSYour AWS account ID (skip STS call if set)
WRAPS_WRITE_ENABLEDNofalseSet to true to enable send_email
WRAPS_FROM_EMAILNo—Default from address for send_email

Write Mode

send_email is disabled by default. Set WRAPS_WRITE_ENABLED=true to enable it. The from address must be a domain verified in your SES account.

{
  "mcpServers": {
    "wraps": {
      "command": "npx",
      "args": ["-y", "@wraps.dev/mcp"],
      "env": {
        "AWS_REGION": "us-east-1",
        "WRAPS_WRITE_ENABLED": "true",
        "WRAPS_FROM_EMAIL": "you@yourdomain.com"
      }
    }
  }
}

Send guardrails

When write mode is enabled, the send_email tool can reach any SES-verified address by default. Use these env vars to restrict the agent's sending scope:

VariableDefaultDescription
WRAPS_ALLOWED_RECIPIENTS— (no restriction)Comma-separated exact addresses the agent may send to. If set, any address not in this list (or WRAPS_ALLOWED_RECIPIENT_DOMAINS) is rejected.
WRAPS_ALLOWED_RECIPIENT_DOMAINS— (no restriction)Comma-separated domains (e.g. company.com,partner.org) the agent may send to. Combined with WRAPS_ALLOWED_RECIPIENTS; a recipient is allowed if it matches either list. Matching is exact: example.com allows user@example.com but NOT subdomains like user@mail.example.com — list each subdomain explicitly.
WRAPS_MAX_RECIPIENTS50Maximum number of recipients per send_email call.
WRAPS_ALLOW_FROM_OVERRIDEfalseSet to true to let the agent supply a from address that differs from WRAPS_FROM_EMAIL. When false (default), the caller-supplied from is rejected if it does not match the configured address.

Note: Running with WRAPS_WRITE_ENABLED=true and no allowlist gives the agent unrestricted send capability to any address in your SES account.

License

MIT

Keywords

mcp

FAQs

Package last updated on 17 Jun 2026

Related posts