dsh-kankan-mail
消息通讯 活跃维护

dsh-kankan-mail

zhulianxing/dsh-kankan-mail

轻量化邮件扩展插件,可对接看站场景的邮件收发、内容解析与规则校验流程,无需额外复杂配置即可融入现有工作流,实现邮件类看站任务的自动化处理。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
6 KB
仓库大小
28 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:zhulianxing/dsh-kankan-mail
git clone https://github.com/zhulianxing/dsh-kankan-mail.git
git clone git@github.com:zhulianxing/dsh-kankan-mail.git
README.md main

dsh-kankan-mail

DSH plugin exposing kankan.email (AI Agent mailboxes) as MCP tools. Zero dependencies — a single mcp-server.js Node script speaking NDJSON JSON-RPC over stdio.

Tools

Tool Description
create_mailbox(name_hint?) Create a mailbox; returns the address + mail_key (save the key!)
list_messages(address?, key?, after_id?) List received messages (incremental via after_id)
send_mail(to, subject, body, address?, key?) Send an email from the mailbox
renew_mailbox(address?, key?) Renew the mailbox
pay_order(order_no, method) Pay an order
order_status(order_no) Query order status

Install

npx @deepseek-ai/dsh plugin --profile web add github:zhulianxing/dsh-kankan-mail

Configuration

Set environment variables before launching DSH (they are forwarded to the MCP server):

  • KANKAN_ADDRESS — default mailbox address (optional; can be passed per tool call)
  • KANKAN_MAIL_KEY — default mail_key (optional; can be passed per tool call)

Note: outbound send uses the X-Mail-Key header carrying your mail_key. If kankan.email changes its auth header name, adjust mailHeaders() in mcp-server.js.

License

MIT