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

@sendforai/mcp

v0.1.2

Published

Model Context Protocol server for SendForAI. Send email, verify domains, check cost and capacity from an AI agent.

Readme

@sendforai/mcp

MCP server for SendForAI: email at cost, built for agents.

Configure

{
  "mcpServers": {
    "sendforai": {
      "command": "npx",
      "args": ["-y", "@sendforai/mcp"],
      "env": {
        "SENDFORAI_DOMAIN": "example.com",
        "SENDFORAI_PRIVATE_KEY_FILE": "/path/to/sendforai.key",
        "VERCEL_TOKEN": "optional: lets setup_dns publish DNS records on Vercel DNS",
        "CLOUDFLARE_API_TOKEN": "optional: same, for Cloudflare (Zone:Read + DNS:Edit)"
      }
    }
  }
}

No identity yet? Start the server without env and call generate_identity. With a domain it returns the DNS record to publish; without one it returns a sandbox identity that works immediately against the simulator. SENDFORAI_TOKEN (a connection token) can replace the domain and key.

Hosted server

Nothing to install: connect an MCP client to https://sendforai.com/mcp (Streamable HTTP) with the header Authorization: Bearer <connection token>. Mint the token with npx sendforai token or the local create_connection_token tool. It is a bearer token, not OAuth. The hosted server has every tool except the three that need a local secret.

Tools

whoami, get_account, get_pricing, get_capacity, get_usage, plan_email, send_email, list_domains, add_domain, get_domain_status, verify_domain, upsert_contact, list_contacts, import_contacts, create_broadcast, get_broadcast, send_broadcast, cancel_broadcast, add_credit, set_budget, set_auto_topup, billing_portal, operator_link, list_events.

Local only: generate_identity (omit domain for a no-DNS sandbox identity), setup_dns, create_connection_token.

Every tool returns cost and capacity where relevant. Every error returns a fix. Broadcasts wait for a human unless told otherwise.

Automatic DNS

With VERCEL_TOKEN (plus VERCEL_TEAM_ID for team-owned domains) or CLOUDFLARE_API_TOKEN in the server's environment, the setup_dns tool publishes the identity or delegation record, SES's DKIM and MAIL FROM records, and DMARC if missing, waiting for propagation between steps. The token is used locally and never sent to SendForAI. Without a token, get_domain_status lists the records for your operator to add.