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

@xtnd-dynamics/mcp-one

v0.1.5

Published

Model Context Protocol (MCP) server for one.com mailboxes. Full email management (IMAP/SMTP) for Claude and AI agents.

Readme

📬 XTND | MCP | ONE

The Premier Model Context Protocol (MCP) Server for one.com Mail Infrastructure

npm version License: MIT Smithery Compatible MCP Specification Cloudflare Edge TypeScript

Empower Claude, Cursor, ChatGPT, Zed, and autonomous AI agents with full mailbox intelligence (IMAP/SMTP) over one.com.

Features • Client Setup Guides • Tool Catalog • Workflow Prompts • Dynamic Resources • Architecture • Security


🚀 Key Features

  • 📂 Complete Mailbox Hierarchy: Manage all standard and custom folders (INBOX, Drafts, Sent, Archive, Trash) with real-time total and unread message counters.
  • 🔍 Server-Side Search Engine: Search by full-text keyword, sender, recipient, subject, date ranges, and flags (unread, flagged) without downloading gigabytes of data.
  • 📖 AI Context Protection: Automatically converts HTML emails into clean, token-efficient Markdown, stripping tracking pixels, inline CSS blobs, and scripts.
  • 🏷️ Triage & Flagging: Mark emails as read/unread/flagged, batch move between folders, and perform safe trash or permanent expunge.
  • ✉️ Outbound SMTP Delivery: Send new messages via send.one.com:465 (implicit TLS), draft intelligent replies with automated In-Reply-To/References, forward threads, and manage drafts.
  • ⚡ Triple-Transport Architecture:
    1. NPX Stdio for local desktop clients (npx @xtnd-dynamics/mcp-one).
    2. Streamable HTTP (/mcp) for Smithery, Cursor, and web AI agents.
    3. Server-Sent Events (/sse) for legacy streaming clients.

📦 Client Setup Guides

1. Claude Desktop (Local NPX)

Add the following to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "XTND | MCP | ONE": {
      "command": "npx",
      "args": ["-y", "@xtnd-dynamics/mcp-one"],
      "env": {
        "ONECOM_EMAIL": "[email protected]",
        "ONECOM_PASSWORD": "your_mailbox_password"
      }
    }
  }
}

2. 1-Click Install via Smithery CLI

npx -y @smithery/cli install @xtnd-dynamics/mcp-one --client claude

3. Cursor IDE (.cursor/mcp.json)

{
  "mcpServers": {
    "one-mail": {
      "command": "npx",
      "args": ["-y", "@xtnd-dynamics/mcp-one"],
      "env": {
        "ONECOM_EMAIL": "[email protected]",
        "ONECOM_PASSWORD": "your_mailbox_password"
      }
    }
  }
}

4. Zed Editor (settings.json)

{
  "context_servers": {
    "one-mail": {
      "command": {
        "path": "npx",
        "args": ["-y", "@xtnd-dynamics/mcp-one"],
        "env": {
          "ONECOM_EMAIL": "[email protected]",
          "ONECOM_PASSWORD": "your_mailbox_password"
        }
      }
    }
  }
}

5. Remote Hosted Edge Gateway (Streamable HTTP / SSE)

For web-based AI clients or SaaS deployments:

  • Streamable HTTP Endpoint: https://one.mcp.xgi.io/mcp
  • SSE Endpoint: https://one.mcp.xgi.io/sse
{
  "mcpServers": {
    "XTND | MCP | ONE": {
      "url": "https://one.mcp.xgi.io/mcp",
      "headers": {
        "X-OneCom-Email": "[email protected]",
        "X-OneCom-Password": "your_mailbox_password"
      }
    }
  }
}

🛠️ Tool Catalog (15 Tools)

| Tool Name | Description | Key Arguments | |---|---|---| | list_folders | List all mailboxes/folders with message and unread counts | (none) | | create_folder | Create a new mailbox folder | name (string) | | rename_folder | Rename an existing mailbox folder | oldName, newName | | delete_folder | Delete a mailbox folder | name (string) | | search_emails | Server-side filtered email search | folder, query, from, to, subject, unreadOnly, limit | | get_recent_emails | Retrieve recent email headers and envelope metadata | folder, limit | | get_email_content | Fetch full message body converted to Markdown | folder, uid, format | | get_email_thread | Retrieve full conversation thread history | folder, uidOrMessageId | | mark_emails | Update flags (read, unread, flag, unflag) | folder, uids, action | | move_emails | Move emails between folders (e.g. to Archive) | sourceFolder, targetFolder, uids | | delete_emails | Soft delete to Trash or permanent expunge | folder, uids, permanent | | send_email | Send outbound email via send.one.com:465 (TLS) | to, subject, bodyText, bodyHtml | | reply_email | Reply with automated headers and quotation | folder, uid, bodyText, replyAll | | forward_email | Forward email with original header context | folder, uid, to, comment | | create_draft | Save message draft directly to one.com Drafts | to, subject, bodyText |


🧠 Workflow Prompts (4 Assistants)

| Prompt Name | Purpose | Parameters | |---|---|---| | triage-inbox | Scans unread emails, categorizes into priority buckets, and drafts action plans | limit (optional) | | draft-reply | Inspects thread context and drafts contextual replies | uid (required), tone (optional) | | clean-inbox | Identifies marketing newsletters, promotional blasts, and automated alerts | folder (optional) | | executive-briefing | Generates a high-density daily digest with blocker checklist | (none) |


📂 MCP Resources (4 Endpoints)

| Resource URI | MIME Type | Description | |---|---|---| | one://folders | application/json | Real-time catalog of all mailboxes and unread counters | | one://status | application/json | Gateway connection health and protocol capabilities | | one://templates/meeting-followup | text/markdown | Standardized executive meeting summary template | | one://templates/out-of-office | text/markdown | Standardized out-of-office auto-reply template |


🏛️ Architecture

flowchart TD
    subgraph Clients ["AI Clients & Platforms"]
        CD["Claude Desktop"]
        CR["Cursor / Zed / Windsurf"]
        CG["ChatGPT Custom GPTs"]
        SM["Smithery Marketplace"]
    end

    subgraph LocalTransport ["Local Execution"]
        NPX["npx @xtnd-dynamics/mcp-one\n(Stdio Protocol)"]
    end

    subgraph EdgeTransport ["Cloudflare Edge (one.mcp.xgi.io)"]
        HTTP["Streamable HTTP (/mcp)"]
        SSE["Server-Sent Events (/sse)"]
        CARD["Static Server Card (/.well-known/mcp/server-card.json)"]
    end

    subgraph CoreEngine ["XTND Core Engine"]
        MIME["MIME & Markdown Token Optimizer"]
        IMAP["IMAP Client (imap.one.com:993 TLS)"]
        SMTP["SMTP Client (send.one.com:465 TLS)"]
    end

    subgraph OneCom ["One.com Mail Infrastructure"]
        MBOX["User Mailboxes & Folders"]
        MX["Mail Submission Relays"]
    end

    CD --> NPX
    CR --> NPX
    CR --> HTTP
    SM --> HTTP
    CG --> HTTP
    CD --> SSE

    NPX --> MIME
    HTTP --> MIME
    SSE --> MIME

    MIME --> IMAP
    MIME --> SMTP

    IMAP <--> MBOX
    SMTP --> MX

🔒 Security & AI Token Budgeting

  • Zero-Credential Storage: Credentials are never persisted on edge servers. Stdio uses local process environment; hosted gateway uses ephemeral request headers.
  • Implicit TLS Only: Inbound connections use port 993 (IMAPS) and outbound uses port 465 (SMTPS) over strict TLS sockets, avoiding STARTTLS vulnerabilities.
  • Token Budget Guard: Incoming HTML is sanitized and converted to semantic Markdown, discarding CSS boilerplate, tracking pixels, and binary attachments to prevent context window exhaustion.

📄 License

MIT License © 2026 XTND Dynamics. Developed for the global AI developer ecosystem.