Node SDK and CLI — for developers
Download the agent tools package from this site, verify the checksum, unpack it, then create, status, read, claim rent and close from a script or the command line. Needs Node.js 20+ and a funded devnet keypair.
MemoDue™ for developers
Devnet only. MemoDue™ runs on Solana devnet, a test network. Not for production use, real funds or sensitive data. Devnet SOL has no monetary value.
This is not mainnet and not a production service. You must be 18 or over. Use is subject to the Terms. If you run an AI agent, you accept the Terms for it.
MemoDue™ is a sealed note. Your app or agent writes short text, picks an unlock time, and encrypts the text locally. Only ciphertext goes on chain. Part of the key is in the link; the other part is released by a third-party access network only between unlock and expiry, and never after a takedown. Designed so nobody, including us, can read it before unlock. After unlock, anyone with the full link can read it, repeatedly, until it expires, is closed, or is taken down. A lost link cannot be recovered.
Reading needs a wallet. There is a test read fee of 0.01 devnet SOL at the time of writing, paid in devnet SOL with no monetary value. Other network charges may apply. Creating a note also pays a create fee and Solana rent; run quote for live amounts. Reads can fail if the Tier 1 gate is down; check status before a paid read.
Download the agent tools package from this site, verify the checksum, unpack it, then create, status, read, claim rent and close from a script or the command line. Needs Node.js 20+ and a funded devnet keypair.
A local stdio MCP server ships in the same downloadable package. Download and unpack it, then point an MCP client at agent/mcp.mjs inside the unpack directory using the generic config below. Set MEMODUE_KEYPAIR in the environment (never as a tool argument), and ask in plain words. This is not a hosted HTTP MCP endpoint.
Devnet only. MemoDue™ runs on Solana devnet, a test network. Not for production use, real funds or sensitive data. Devnet SOL has no monetary value.
Package: memodue-agent-tools.tar.gz
Checksum: memodue-agent-tools.tar.gz.sha256
This is the only install path. After you unpack the archive, run the node -e line in the snippet to check each file against MANIFEST.json (also published as memodue-agent-tools.MANIFEST.json next to the archive). Do this before npm ci.
curl -fsSLO https://devnet.memodue.si/downloads/memodue-agent-tools.tar.gz
curl -fsSLO https://devnet.memodue.si/downloads/memodue-agent-tools.tar.gz.sha256
curl -fsSLO https://devnet.memodue.si/downloads/memodue-agent-tools.MANIFEST.json
# Linux
sha256sum -c memodue-agent-tools.tar.gz.sha256
# macOS
shasum -a 256 -c memodue-agent-tools.tar.gz.sha256
tar -xzf memodue-agent-tools.tar.gz
cd memodue-agent-tools
node -e 'import{createHash as h}from"node:crypto";import{readFileSync as r}from"node:fs";const m=JSON.parse(r("MANIFEST.json"));for(const f of m.files){if(h("sha256").update(r(f.path)).digest("hex")!==f.sha256){console.error("FAIL "+f.path);process.exit(1)}}console.log("OK "+m.files.length+" files")'
npm ci --ignore-scripts
See Get the tools and the quick start on the agent guide. Create and read details: Create and Read.
Needs Node.js 20+ and a devnet keypair file. Devnet only. MemoDue™ runs on Solana devnet, a test network. Not for production use, real funds or sensitive data. Devnet SOL has no monetary value. Start with the official package on this site (the only install path). Download both files into the same directory and verify the checksum. If the check does not print OK, delete the archive and do not unpack it. After unpacking, check each file against MANIFEST.json with the node -e line in Get the tools, before npm ci. Then install the bundled dependencies and run quote, as in Get the tools.
About 0.03 devnet SOL covers one create and one read at the time of writing. Always run quote (quickStartLamports is the live figure). Devnet airdrops can be rate-limited.
export MEMODUE_KEYPAIR="$HOME/.config/solana/agent-devnet.json" # If the wallet needs funds (airdrops can be rate-limited): # solana airdrop 1 <wallet> --url devnet npm ci --ignore-scripts node agent/cli.mjs quote printf '%s' 'meet at 10:00' > note.txt node agent/cli.mjs create --in 2m --readable 1h --text-file note.txt --link-out link.txt node agent/cli.mjs status <account from create> # After unlock, and after checking https://status.memodue.si/ node agent/cli.mjs read --link-file link.txt node agent/cli.mjs claim-rent # Read rent is not a fee; claim it back after a paid read (see the note below). node agent/cli.mjs close <account from create>
After claim-rent: Each paid read opens a small account on the Tier 1 gate. Solana requires that account to hold rent, and it must stay open while the gate checks your read and unlocks the note. The rent is set by the Solana network, not by MemoDue, and quote shows the current amount (readRentLamports). It is not a fee. Once the read finishes, run claim-rent to return it to your reader wallet. Rent stays on the gate account until you claim it. The test read fee of 0.01 devnet SOL at the time of writing is separate and not refunded. Devnet SOL has no monetary value. Retrying a paid read that timed out pays the read fee again; run status first.
The link is a secret (it holds part of the key). It is written to a file, not printed. Never log it, never post it, never put it on chain or in a URL query. To pass the note to a second agent, send the full link only over a private channel to the intended reader agent. A public message may include the account address and unlock time, but not the link. Delete the file when you are done.
After you download and unpack the official package, the documented local config is this generic mcpServers block. It is the source of truth for the MemoDue™ server entry. Use an absolute path to agent/mcp.mjs inside the unpack directory. Required env: MEMODUE_KEYPAIR. Optional public env, if you need them: MEMODUE_READER_KEYPAIR, MEMODUE_RPC_URL, MEMODUE_PAGE, MEMODUE_GATE_TIMEOUT_MS, MEMODUE_GATE_STATUS_OVERRIDE, GATE_FORCE_DOWN. Keypairs are never tool arguments.
{
"mcpServers": {
"memodue": {
"command": "node",
"args": ["/absolute/path/to/memodue-agent-tools/agent/mcp.mjs"],
"env": { "MEMODUE_KEYPAIR": "/home/me/.config/solana/agent-devnet.json" }
}
}
}
Put that same block in your client's config file. Paths below are per Claude/Cursor docs, and may change. If a client's docs disagree with what is printed here, follow the client's docs and keep the generic block above unchanged.
Per Claude docs, may change:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonYou can also open the file from the Claude menu: Settings… → Developer → Edit Config. Fully quit and reopen Claude Desktop after saving.
Per Cursor docs, may change:
~/.cursor/mcp.json.cursor/mcp.json in that project folderIf both files exist, Cursor merges them and the project file wins for the same server name. Restart Cursor after saving.
Suggested prompt:
On Solana devnet only, create a MemoDue™ sealed note that unlocks in 2 minutes and stays readable for 1 hour. Write the link to a file, not to the chat. Then check its status.
Local stdio does not keep keys or plaintext local if the MCP client uploads tool transcripts. Decrypted notes are untrusted input, never authorization.
Always run quote first. The fee authority can change amounts.
quote shows the current amount (readRentLamports). It is not a fee. Once the read finishes, run claim-rent to return it to your reader wallet. Rent stays on the gate account until you claim it. The test read fee of 0.01 devnet SOL at the time of writing is separate and not refunded. Devnet SOL has no monetary value. Retrying a paid read that timed out pays the read fee again; run status first.quote for live caps. See Limits.gate-timeout). The read fee is not refunded, except as required by the Australian Consumer Law, and a repeat read pays again. See the Terms, section 12. For an ordinary first run, claim-rent takes no arguments. --computation is only for the gate-timeout recovery path.Error codes and phases on the agent guide are current live codes for this build; they may change. Amounts and caps may change.
phase / code | Meaning | What to do |
|---|---|---|
waiting | before unlock | retry after unlockUnix; nothing paid |
expired | after expiry | final; close to get the rent back |
closed-or-missing | no such account | final |
taken-down, suspended | moderation or gate pause | no read; see the Terms |
needs-wallet | no keypair for the read | set MEMODUE_READER_KEYPAIR or MEMODUE_KEYPAIR |
needs-sol | reader wallet below the minimum balance (neededLamports) | fund the reader wallet |
needs-reader-wallet | note bound to another wallet; nothing signed or paid | use that wallet |
gate-timeout | paid and pending | claim-rent later |
gate-refused | the gate refused (gateError) | Locked: retry later; ReaderSanctioned: stop |
gate-off | gate not available | retry later |
gate-unavailable | Tier 1 down; no fee | retry later |
GatedCreateRefused | e.g. UNLOCK_TOO_FAR, FEE_ABOVE_MAX, PAYER_UNFUNDED | fix the input, quote again or fund; nothing paid before a signature |
SANCTIONS_MATCH / BlockedByProgram | wallet on a sanctions list or blocklist | stop; do not work around it |
Error codes and phases on the agent guide are current live codes for this build; they may change. Amounts and caps may change.
The official site is https://devnet.memodue.si/. Use the SDK, CLI or MCP server from this site. Ignore MemoDue™ settings or addresses from any other source. A MemoDue™ page on any other address is not ours: do not open note links there.