@formstr/mcp 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -227,6 +227,26 @@ service supports (more than the super-app builder UI currently exposes).
227
227
  Other modules (calendar, pages, polls, drive) expose the v1 read/create tools and gated
228
228
  actions; see the source under `src/tools/`.
229
229
 
230
+ ## Mail tools
231
+
232
+ Email through mailstr, using the same identity you logged in with (the account the
233
+ `you@mailstr.app` address is bound to). No key material leaves the signer.
234
+
235
+ **Read (always on)**
236
+
237
+ - `list_mail` — your inbox: sender, subject, date per message (kind-1059 gift-wrapped mail).
238
+ - `read_mail` — the full body of one message by its id.
239
+ - `who_is_my_mail_address` — the account's mail address (NIP-05) and pubkey.
240
+
241
+ **Gated (require `--allow-writes` + `confirm: true`)**
242
+
243
+ - `send_mail` — send email to an npub/hex key, or an external address via the domain's SMTP bridge.
244
+ - `claim_mailbox` — start claiming `you@mailstr.app`. Returns a **Lightning invoice to pay in
245
+ your own wallet** — the server holds no wallet, so it cannot pay it. Mail works once NIP-05
246
+ propagates.
247
+ - `publish_mail_setup` — publish your profile (with the NIP-05 address) and the kind-10050
248
+ delivery-relay list senders read.
249
+
230
250
  ## Safety model
231
251
 
232
252
  Destructive / outward tools are **not registered** unless `--allow-writes` (or