hypermail-mcp 0.7.7 → 0.7.8

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
@@ -3,6 +3,11 @@
3
3
  A **Model Context Protocol** server that lets an agent operate any of the user's
4
4
  inboxes through a single, unified tool surface.
5
5
 
6
+ > **v0.7.8** — Default Gmail loopback redirect URI changed from random-port
7
+ > `/oauth2callback` to fixed `http://127.0.0.1:33333/callback` (still overridable via
8
+ > `HYPERMAIL_GMAIL_REDIRECT_URI`). `.data/` encryption key directory added to
9
+ > `.gitignore`.
10
+ >
6
11
  > **v0.7.7** — Env-only configuration. Runtime config now comes from flat
7
12
  > `HYPERMAIL_*` environment variables plus selected CLI overrides. Config files
8
13
  > and legacy provider env names are no longer read. Hosted Gmail OAuth callbacks
package/dist/cli.js CHANGED
@@ -15606,7 +15606,7 @@ async function startLocalCallbackServer() {
15606
15606
  return;
15607
15607
  }
15608
15608
  const callbackUrl = new URL(req.url, redirectUri);
15609
- if (callbackUrl.pathname !== "/oauth2callback") {
15609
+ if (callbackUrl.pathname !== "/callback") {
15610
15610
  sendHtml(res, 404, "Not found", "This local callback server only handles Gmail OAuth redirects.");
15611
15611
  return;
15612
15612
  }
@@ -15621,7 +15621,7 @@ async function startLocalCallbackServer() {
15621
15621
  });
15622
15622
  await new Promise((resolve, reject) => {
15623
15623
  server.once("error", reject);
15624
- server.listen(0, "127.0.0.1", () => {
15624
+ server.listen(33333, "127.0.0.1", () => {
15625
15625
  server.off("error", reject);
15626
15626
  resolve();
15627
15627
  });
@@ -15631,7 +15631,7 @@ async function startLocalCallbackServer() {
15631
15631
  closeServer();
15632
15632
  throw new Error("Failed to start local Gmail OAuth callback server");
15633
15633
  }
15634
- redirectUri = `http://127.0.0.1:${address.port}/oauth2callback`;
15634
+ redirectUri = "http://127.0.0.1:33333/callback";
15635
15635
  function closeServer() {
15636
15636
  if (closed) return;
15637
15637
  closed = true;
@@ -17841,7 +17841,7 @@ function registerTools(server, opts) {
17841
17841
  // package.json
17842
17842
  var package_default = {
17843
17843
  name: "hypermail-mcp",
17844
- version: "0.7.7",
17844
+ version: "0.7.8",
17845
17845
  description: "Unified email MCP server \u2014 operate any inbox (Outlook now, IMAP/Gmail later) by passing an email address.",
17846
17846
  type: "module",
17847
17847
  bin: {