Back to home@zhulianxing

dsh-kankan-mail

DeepSeek Harness (DSH) plugin

Stars
0
Language
JavaScript
Created
Aug 24, 2026
Updated
Aug 24, 2026

Introduction

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

ToolDescription
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