@sendinel/mcp-server 1.0.203 → 1.0.204

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/build/tools/org.js +15 -3
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { readPlanUsage, readAllRows } from "@sendinel/domain";
1
+ import { PLAN_LIMITS as DOMAIN_PLAN_LIMITS, readPlanUsage, readAllRows } from "@sendinel/domain";
2
2
  import { z } from 'zod';
3
3
  import { logAudit } from '../audit.js';
4
4
  import { adminDb, db } from '../db.js';
@@ -577,9 +577,21 @@ export function registerOrgTools(server) {
577
577
  idempotentHint: true,
578
578
  openWorldHint: false,
579
579
  },
580
- description: 'Return plan limits for all plan tiers.',
580
+ description: 'Return plan limits for all tiers, including campaign, A/B testing, landing page, member, and agent-mailbox limits.',
581
581
  inputSchema: {},
582
- }, async () => j(PLAN_LIMITS));
582
+ }, async () => j(Object.fromEntries(Object.entries(DOMAIN_PLAN_LIMITS).map(([plan, domainLimits]) => [
583
+ plan,
584
+ {
585
+ ...PLAN_LIMITS[plan],
586
+ campaign_limit: domainLimits.campaign_limit,
587
+ contact_limit: domainLimits.contact_limit,
588
+ monthly_send_limit: domainLimits.monthly_send_limit,
589
+ ab_testing_access: domainLimits.ab_testing_access,
590
+ landing_pages_access: domainLimits.landing_pages_access,
591
+ maxMembers: domainLimits.maxMembers,
592
+ maxAgentMailboxes: domainLimits.maxAgentMailboxes,
593
+ },
594
+ ]))));
583
595
  server.registerTool('list_audit_log', {
584
596
  title: 'List Audit Log',
585
597
  annotations: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendinel/mcp-server",
3
- "version": "1.0.203",
3
+ "version": "1.0.204",
4
4
  "description": "AI-controlled email operations control plane for campaigns, contacts, segments, analytics, and multi-provider sending via MCP.",
5
5
  "mcpName": "ai.sendinel/mcp-server",
6
6
  "type": "module",