@remit/mcp-server 0.5.1 → 0.5.2

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.
@@ -3,7 +3,8 @@ import { AddressRole, ContentDisposition, MediaType, } from "@remit/domain-enums
3
3
  import { materializeBodyParts, ownedMessages } from "@remit/mailbox-service";
4
4
  import { z } from "zod";
5
5
  export const MAX_BODY_BYTES = 20 * 1024;
6
- const DEFAULT_PAGE_SIZE = 25;
6
+ const DEFAULT_PAGE_SIZE = 50;
7
+ const MAX_PAGE_SIZE = 50;
7
8
  const READ_ONLY = { readOnlyHint: true, openWorldHint: false };
8
9
  const asJson = (value) => ({
9
10
  content: [{ type: "text", text: JSON.stringify(value) }],
@@ -12,9 +13,9 @@ const pageSize = z
12
13
  .number()
13
14
  .int()
14
15
  .min(1)
15
- .max(100)
16
+ .max(MAX_PAGE_SIZE)
16
17
  .optional()
17
- .describe(`Page size, default ${DEFAULT_PAGE_SIZE}`);
18
+ .describe(`Page size, default ${DEFAULT_PAGE_SIZE}, at most ${MAX_PAGE_SIZE}`);
18
19
  const continuationToken = z
19
20
  .string()
20
21
  .optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/mcp-server",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "The remit MCP server: mail tools over streamable HTTP and the OAuth authorization server that guards them.",
5
5
  "type": "module",
6
6
  "exports": {