@sendinel/mcp-server 1.0.93 → 1.0.94

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
@@ -12,7 +12,7 @@ AI-controlled email operations control plane for campaigns, contacts, segments,
12
12
 
13
13
  ## Tool groups
14
14
 
15
- Sendinel currently exposes 35 tool groups and 337 tools (gateway mode exposes 4 meta-tools, sharing how_to with full mode). These counts are checked against the tool registry in CI, so this table matches what ships.
15
+ Sendinel currently exposes 35 tool groups and 338 tools (gateway mode exposes 4 meta-tools, sharing how_to with full mode). These counts are checked against the tool registry in CI, so this table matches what ships.
16
16
 
17
17
  | Group | Count | Purpose |
18
18
  |-------|-------|---------|
@@ -23,7 +23,7 @@ Sendinel currently exposes 35 tool groups and 337 tools (gateway mode exposes 4
23
23
  | `analytics` | 15 | Stats, portfolio analytics, project switching, domain health, engagement, deliverability, revenue analytics |
24
24
  | `approvals` | 2 | Poll and list risk-tiered action approvals |
25
25
  | `automations` | 7 | Automation triggers, previews, and response-gated escalation ladders |
26
- | `brand_kit` | 5 | Brand Core text import, media library upload/URL ingest, asset-context reads |
26
+ | `brand_kit` | 6 | Brand Core text import, media library upload/URL ingest, asset-context reads, project logo selection |
27
27
  | `campaigns` | 43 | Full campaign lifecycle: create, edit, approve, launch, enroll, schedule, sequence templates, convert imported campaigns |
28
28
  | `cloud-import` | 6 | Cloud storage import |
29
29
  | `compound` | 4 | Higher-level campaign/template/site setup and delivery diagnosis workflows |
@@ -100,6 +100,7 @@ export const APPROVAL_EXEMPT = {
100
100
  run_list_hygiene: "suppresses invalid or bouncing addresses, which only reduces who receives mail",
101
101
  run_portfolio_analysis: "writes an internal analysis report only",
102
102
  set_active_project: "switches which project this connection targets; no data written",
103
+ set_brand_logo: "copies an approved image to email storage and updates reversible project branding; sends nothing",
103
104
  set_campaign_goal: "sets a goal definition on a campaign; sends nothing",
104
105
  set_subscriber_tags: "edits tags on one contact; tag triggers go through enrollment rules the owner configured. FOLLOW-UP: confirm tag-triggered automations are covered",
105
106
  set_white_label_settings: "edits branding settings; reversible and sends nothing",
package/build/server.js CHANGED
@@ -135,7 +135,7 @@ const WRITE_TOOLS = new Set([
135
135
  'create_signature', 'update_signature',
136
136
  'mark_ai_work_item_seen', 'snooze_ai_work_item', 'dismiss_ai_work_item',
137
137
  'submit_ai_context_event',
138
- 'import_brand_kit_text', 'rehost_brand_asset', 'ingest_brand_assets_by_url', 'upload_brand_asset',
138
+ 'import_brand_kit_text', 'rehost_brand_asset', 'set_brand_logo', 'ingest_brand_assets_by_url', 'upload_brand_asset',
139
139
  'create_newsletter', 'update_newsletter', 'create_newsletter_issue', 'schedule_newsletter_issue',
140
140
  'send_newsletter_issue', 'subscribe_to_newsletter', 'unsubscribe_from_newsletter',
141
141
  'retry_send_queue_rows', 'cancel_send_queue_rows',
@@ -63,6 +63,15 @@ export function registerBrandKitTools(server) {
63
63
  const result = await callBrandKitApi(`/api/v1/brand-kit/assets/${asset_id}/rehost`, { purpose, platforms });
64
64
  return result.ok ? j(result.data) : j({ error: result.error });
65
65
  });
66
+ server.registerTool('set_brand_logo', {
67
+ title: 'Set Project Brand Logo',
68
+ description: 'Use a confirmed PNG, JPEG, GIF or WebP brand asset as this project\'s email logo. Copies it to stable public email storage, preserves other brand settings, and reports site logo overrides without changing them.',
69
+ annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false },
70
+ inputSchema: { asset_id: z.string().uuid() },
71
+ }, async ({ asset_id }) => {
72
+ const result = await callBrandKitApi(`/api/v1/brand-kit/assets/${asset_id}/use-as-logo`, {});
73
+ return result.ok ? j(result.data) : { ...j({ error: result.error }), isError: true };
74
+ });
66
75
  server.registerTool('list_brand_assets', {
67
76
  title: 'List Brand Assets',
68
77
  annotations: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendinel/mcp-server",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
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",