npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

addai-sms-mcp

v0.1.1

Published

MCP server for AddAi SMS — set up SMS, craft templates with live segment math, and send test texts

Readme

addai-sms-mcp

MCP server for AddAi SMS — set up SMS for a workspace, craft templates with live segment math, and send real test texts through the workspace's Twilio number.

The SMS sibling of addai-emails-mcp. Same API keys (em_live_*): the sms-api edge function validates with the same email_api_key_validate RPC, so one key powers both channels.

Quick start

npx addai-sms-mcp --setup

Or manually in .mcp.json:

{
  "mcpServers": {
    "addai-sms": {
      "command": "npx",
      "args": ["-y", "addai-sms-mcp"],
      "env": { "ADDAI_SMS_API_KEY": "em_live_xxxx" }
    }
  }
}

ADDAI_EMAILS_API_KEY also works as a fallback env var — genuinely the same keys.

Tools

| Area | Tools | |---|---| | Setup | get_sms_setup, connect_twilio (verifies against Twilio before saving), preview_segments | | Sending | send_test_sms ([TEST]-prefixed), send_sms (REAL send, requires confirm: true, logged), send_template_test | | Templates | list_templates, get_template, create_template, update_template, delete_template, duplicate_template, move_to_folder, send_template_test | | Organization | list_folders, create_folder, update_folder, delete_folder, list_categories, create_category, update_category, delete_category |

What "elite" means here

  • Segment math is server-side truth. Every create/update/preview returns encoding (GSM-7 vs UCS-2), character count, segment count, and — crucially — which characters forced UCS-2 (smart quotes, em-dashes, emoji). One bad apostrophe halves your character budget; this MCP catches it.
  • {{variables}} are extracted automatically from content; test sends substitute provided values and surface any tokens you forgot.
  • Twilio credentials are verified before they're stored — a bad SID/token pair is rejected with Twilio's own error, never saved.
  • Test sends are honest tests: [TEST]-prefixed, capped at 5 recipients. Campaigns belong in the AddAi app.
  • UK-first phone normalisation (07700...+447700...), E.164 preferred.

Backend

supabase/functions/sms-api — a workspace-scoped REST API mirroring emails-api, backed by the existing sms_templates / sms_folders / sms_categories tables and the workspace integrations row (type: 'twilio') that the AddAi SMS app already uses.

Build

npm install
npm run build