Sentvia

ai.sentvia由 sentvia.ai 發布v0.2.1更新於 Oct 24, 2026

Email for AI agents: inboxes, send/reply/forward, search, threads, webhooks — 21 SentVia tools.

已驗證STDIO僅桌面效率與工作流溝通與協作

概覽

AI 產生的概覽

為 AI 助理提供電子郵件工具:建立收件匣、寄送、回覆、轉寄、搜尋郵件,並管理對話串、草稿、網域、Webhook 與地址規則。

可以做什麼
將 SentVia 郵件 API 包裝成 21 個 MCP 工具,涵蓋收件匣、郵件、對話串、草稿、自訂網域、Webhook 以及允許/封鎖地址規則。助理可以建立與刪除收件匣,寄送、回覆與轉寄郵件,以關鍵字、語意或混合模式讀取與搜尋郵件,並管理草稿與規則。回覆會自動建立對話串關聯,工具錯誤會回傳 HTTP 狀態碼,方便模型回報金鑰錯誤或方案限制等問題。
適用情境
當你希望助理直接操作信箱時適用:寄送與回覆郵件、分類與搜尋對話串,或在代理工作流程中管理寄信網域與 Webhook。適合支援 MCP 工具、需要把郵件當成原生能力的代理主機,而不是另外寫腳本。
執行需求
透過 npm 套件 sentvia-mcp 以本機 stdio 程序執行,需要 Node.js 與 npx。需要 SentVia API 金鑰,透過環境變數 SENTVIA_API_KEY 提供;SENTVIA_BASE_URL 為選用,可覆寫 API 基礎網址。需要連線至 SentVia API 的網路。僅支援桌面主機。
安裝前請注意
API 金鑰屬於機密,應透過主機的受保護憑證設定配置,切勿放入聊天、shell 歷史、版本控制或日誌。寄送、回覆與轉寄無法復原且面向外部,刪除類工具會移除收件匣、Webhook 與地址規則。每次工具呼叫都是攜帶金鑰向 SentVia API 發出的 HTTPS 請求,郵件內容會離開本機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sentvia,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

sentfromai-mcp

This branch prepares 0.5.0-beta.1. Use its pinned install commands only after the release operator confirms publication; a source checkout is not a published release. Existing marketplace, Gemini, Cursor and server-directory defaults remain on the stable mail release. The beta companion is enabled explicitly through the local installation instructions below.

[npm] [MCP registry] [License: MIT]

MCP server for SentFromAI — email infrastructure for AI agents.

Gives any MCP-capable agent (Claude Code, Claude Desktop, Cursor, VS Code, Gemini CLI, Codex, OpenClaw, or your own MCP host) email as native tools: create inboxes, send, reply, forward, search, read threads, manage drafts, custom domains, webhooks, and allow/block rules — 21 tools, each a thin wrapper over the SentFromAI REST API. Every tool carries MCP annotations (read-only / write / send / delete) so hosts can group them and confirm the irreversible ones.

Use an existing SentFromAI API key (sf_live_…), or follow the agent setup guide to bootstrap an inbox through REST when agent signup is enabled. New agent accounts can receive and read before their human claims them; sending and other changes require that claim. The console remains available for human signup.

Let your agent install it

Paste this into your agent (Claude Code, OpenClaw, Gemini CLI, any MCP-capable agent):

text
Set up email for yourself: https://docs.sentfrom.ai/agent-install.md

Bootstrap uses POST /v1/agent-signups, not an MCP tool: MCP requires the key returned by signup. Save a random Idempotency-Key before the request and reuse it with the same body for retries within the replay window. Save the response privately; give its claim_url only to your operator in your existing chat. GET /v1/account reports current capabilities; POST /v1/account/claim-link refreshes a link with the original API key. Claiming preserves the inbox and key.

Use your host's protected credential configuration. Never put a real key in chat, shell commands, source control or logs. Configure SENTFROMAI_API_KEY in the stdio server environment privately before starting it; examples below show placeholders only. For hosted MCP, configure its Bearer header privately. This onboarding flow needs the matching API and console rollout; the package itself does not create accounts or bypass account limits.

Install

Claude Code

As a plugin (asks for the key when you enable it, and adds a skill that teaches Claude email etiquette):

bash
claude plugin marketplace add sentfromai/sentfromai-mcpclaude plugin install sentfromai@sentfromai

Or as a plain MCP server:

bash
claude mcp add sentfromai -- npx -y [email protected]

Claude Desktop, Cursor, Windsurf, Cline, any JSON-config host

json
{  "mcpServers": {    "sentfromai": {      "command": "npx",      "args": ["-y", "[email protected]"],      "env": { "SENTFROMAI_API_KEY": "sf_live_…" }    }  }}

Cursor one-click (then paste your key into the generated config): [Install in Cursor]

Cursor and Grok Bot (plugin)

Install SentFromAI from the Cursor Marketplace; Grok Bot lists the same plugin under Settings, Plugins. It connects to the hosted endpoint and asks for your API key on install. To try it before it is listed, copy this repo into ~/.cursor/plugins/local/sentfromai and reload Cursor.

VS Code

Add npx -y [email protected] through VS Code's MCP configuration and enter SENTFROMAI_API_KEY in a protected input.

Gemini CLI

bash
gemini extensions install https://github.com/sentfromai/sentfromai-mcp

Gemini asks for the API key on install and keeps it in your keychain.

Codex CLI

bash
codex mcp add sentfromai -- npx -y [email protected]

OpenClaw

bash
openclaw mcp add sentfromai --command npx --arg -y --arg [email protected]openclaw skills install git:sentfromai/sentfromai-mcp

Full guide: docs.sentfrom.ai/frameworks/openclaw.

Hosted endpoint (no install)

The same 21 tools are served over Streamable HTTP at https://api.sentfrom.ai/mcp for hosts that only speak remote MCP (claude.ai connectors, ChatGPT apps, Meta Muse, Cursor remote servers, MCP Inspector). Authenticate with Authorization: Bearer sf_live_… (an x-api-key header also works), or let OAuth-capable hosts sign you in: the endpoint publishes RFC 9728 resource metadata pointing at SentFromAI's authorization server.

bash
claude mcp add --transport http sentfromai https://api.sentfrom.ai/mcp

Tools

AreaToolsAnnotation
Inboxescreate_inbox · list_inboxes · delete_inboxwrite · read · delete
Messagessend_message · reply_to_message · forward_messagesend (irreversible, open world)
get_message · search_messagesread
Threadslist_threads · get_threadread
Draftscreate_draft · send_draft · list_draftswrite · send · read
Domainsadd_domain · get_domainwrite · read
Webhookscreate_webhook · list_webhooks · delete_webhookwrite · read · delete
Allow/blockadd_address_rule · list_address_rules · delete_address_rulewrite · read · delete

Replies thread correctly (In-Reply-To/References set automatically), search supports keyword, semantic, and hybrid modes, and sends respect the same idempotency and suppression rules as the REST API. API failures come back as tool results with isError and the HTTP status, so the model can read a 401 (bad key) or 402 (plan limit) and tell you instead of retrying.

Configuration

Env varRequiredDefault
SENTFROMAI_API_KEYyes—
SENTFROMAI_BASE_URLnohttps://api.sentfrom.ai

Programmatic use

The tools are exported so you can embed them in your own MCP host or transport:

js
import { createServer, TOOLS, callTool, createApi } from 'sentfromai-mcp'
const server = createServer({ apiKey: process.env.SENTFROMAI_API_KEY })await server.connect(yourTransport)

Privacy

This server keeps no state and stores nothing locally. Every tool call is one HTTPS request to api.sentfrom.ai authenticated with your API key. SentFromAI's privacy policy: https://sentfrom.ai/privacy · terms: https://sentfrom.ai/terms.

Docs

Optional Agent Login companion

For a new human account and agent, follow the bundled SentFrom beta onboarding guide. It includes a validated configuration example, the independent human activation steps, and recovery instructions. Beta admission and first-factor activation require the advertised operator process.

The email tools and application sign-in are separate capabilities. The existing hosted mail MCP endpoint does not hold your local browser or application sessions. The new local companion adds enrollment, human approval, application sign-in, authenticated application operations and logout using the open Agent Login SDK. It targets the working draft; it is not a claim that the hosted service is already deployed or certified.

The planned beta uses [email protected], @agentlogin/[email protected] and [email protected]. These versions are release candidates until the release operator confirms publication. Before publication, install the matching reviewed tarballs supplied by that operator:

sh
npm install --save-exact /absolute/artifacts/agentlogin-0.2.0-beta.1.tgz /absolute/artifacts/agentlogin-mcp-0.2.0-beta.1.tgz /absolute/artifacts/sentfromai-mcp-0.5.0-beta.1.tgz

After those exact versions are confirmed public, a registry installation is:

sh
npm install --save-exact [email protected] @agentlogin/[email protected] [email protected]

Use a maintained Node.js release satisfying the companion's Node.js 22.13 minimum. The mail-only package retains its existing runtime requirement.

Create a private mode-0600 Agent Login config following the companion README. Set the selected identity's handle to the existing inbox, enrollmentEndpoint to the actual deployed identity service's /identity/enrollment-requests, and enrollmentCredentialEnv to SENTFROMAI_API_KEY. Supply the latter only through the host's protected secret configuration. Set ownerPortal to the actual human identity service origin and ownerApprovalPath to /identity/transactions/{transaction_id} for direct human approval links. Configure each target application explicitly; a provider catalog does not authorize application access.

For a Git-cloned Claude plugin, install the exact companion in that checkout with npm install --no-save @agentlogin/[email protected] after its publication; installing it in an unrelated project does not make it available to this wrapper. For other hosts, use both packages from the same npm installation directory.

For Claude plugin installations, the opt-in mcp-with-identity.json contains both local servers. Select it as the plugin's mcpServers configuration and configure identity_config to the absolute private config path. Other MCP hosts can add a local server command node /absolute/package/identity-server.js with AGENTLOGIN_MCP_CONFIG and SENTFROMAI_API_KEY in their protected environment. Keep the existing mail-only configuration when the companion is not installed.

The skills/agent-login skill explains the tool flow. Keys and cookies remain in the local helper's private directory. A successful sign-in authenticates that helper; it does not authenticate a separate browser. Owner approval takes place in the independent human interface and cannot be performed with the mail API key.

來源:README.md,提交 3894afb

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分