@multimail/mcp-server 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -68,7 +68,7 @@ function getMailboxId(argsMailboxId) {
68
68
  // --- Server ---
69
69
  const server = new McpServer({
70
70
  name: "multimail",
71
- version: "0.1.6",
71
+ version: "0.1.7",
72
72
  });
73
73
  // Tool 1: list_mailboxes
74
74
  server.tool("list_mailboxes", "List all mailboxes available to this API key. Returns each mailbox's ID, email address, oversight mode, and display name. Use this to discover your mailbox ID if MULTIMAIL_MAILBOX_ID is not set.", {}, async () => {
@@ -130,6 +130,11 @@ server.tool("search_identity", "Look up the public identity document for any Mul
130
130
  const data = await publicFetch(`/.well-known/agent/${encodeURIComponent(address)}`);
131
131
  return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
132
132
  });
133
+ // Tool 7: resend_confirmation
134
+ server.tool("resend_confirmation", "Resend the operator anti-spam confirmation email. Use this if the account is stuck in 'pending_operator_confirmation' status because the original confirmation email was lost or filtered. Rate limited to 1 request per 5 minutes. Only works for unconfirmed accounts.", {}, async () => {
135
+ const data = await apiCall("POST", "/v1/account/resend-confirmation");
136
+ return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
137
+ });
133
138
  // --- Start ---
134
139
  async function main() {
135
140
  const transport = new StdioServerTransport();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multimail/mcp-server",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "MCP server for MultiMail — email for AI agents",
5
5
  "type": "module",
6
6
  "bin": {