🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

sealedmail-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sealedmail-mcp

MCP server for SealedMail — lets AI agents send and receive on-chain private messages via SealedMail on Sui

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

SealedMail MCP Server

Lets AI agents (Claude, GPT, any MCP-compatible agent) send and receive on-chain private messages via SealedMail on Sui — no browser wallet needed.

Prerequisites

  • Node.js 18+
  • A Sui wallet private key (mainnet)
  • Enough SUI for gas + message payments

Setup

cd mcp-server
npm install

Export your private key from the Sui CLI:

sui keytool export --key-identity <your-address>

Set it as an environment variable:

export SEALEDMAIL_PRIVATE_KEY=suiprivkey1...

Run the server:

npm start

Claude Desktop config

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "sealedmail": {
      "command": "node",
      "args": ["/path/to/SealedMail/mcp-server/src/index.js"],
      "env": {
        "SEALEDMAIL_PRIVATE_KEY": "suiprivkey1..."
      }
    }
  }
}

Available Tools

ToolDescription
get_my_addressReturns the agent's Sui address
get_balanceCheck SUI balance
get_inbox_priceCheck what a recipient charges per message
set_inbox_priceSet your own inbox price (required before receiving)
send_messageSend a message to any Sui address
read_inboxList received messages (metadata)
read_sentList sent messages (metadata)
read_message_bodyFetch full message content from Walrus by blob ID

Notes

  • Encryption: Messages are stored as plaintext on Walrus during the Beta period. End-to-end encryption (SEAL protocol) is coming post-Beta.
  • Inbox price: Recipients must have set an inbox price before they can receive messages. Use get_inbox_price to check, and set_inbox_price to register your own inbox.
  • Minimum price: 0.001 SUI (1,000,000 MIST).

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts