Skip to main content
Glama
dsh-kankan-mail

dsh-kankan-mail

by zhulianxing

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

Related MCP server: anymail-mcp

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Connects any IMAP/SMTP mailbox to AI agents via MCP, enabling email read, search, send, reply, and management through natural language.
      15 npm
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Enables external AI agents to read, send, and manage email over IMAP/SMTP via MCP, including inbox listing, search, drafts, scheduled/batch sending, and operations like reply, archive, and labels.
      30
      3
      -