@apex-inc/mcp-server 0.29.0 → 0.30.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apex-inc/mcp-server",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "description": "MCP server for Apex \u2014 currently in private beta.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -218,6 +218,10 @@ Examples:
218
218
 
219
219
  When generating communications for a journey, **mention exit rules in the same breath**. The apex-journeys skill has the full pattern.
220
220
 
221
+ ## Sender domain is a hop
222
+
223
+ `start_sender_domain` issues DNS records. That is not green. The shop pastes them at the registrar; you cannot click the registrar for them. Poll `get_sender_domain` until status is verified.
224
+
221
225
  ## Proactive nudge: missing exit rules
222
226
 
223
227
  When a user generates or creates a marketing journey with `wait` steps and a purchase or activation goal, proactively check whether exit rules exist:
@@ -334,3 +334,14 @@ ad accounts + Stripe in their workspace; per-client spend/revenue/ROI
334
334
  and the transparent at-risk rule roll up on the agency org
335
335
  (`GET /api/agency/clients` — org owner/admin sessions only; it is a
336
336
  financial boundary with no API-key lane).
337
+
338
+ ## Recipe: Set up Apex from this repo
339
+
340
+ If get_setup_state shows first-run incomplete, name the shop before inventing events.
341
+
342
+ 1. Call `get_setup_state`. If the shop has no name, no vertical, or no conversion model, stop.
343
+ 2. `update_organization` with the shop's real name. `update_workspace` with `workspace_name`, `vertical`, `conversion_model`, and `website_url` when you know them. The rail finishes from those saves — do not look for a mark-complete tool.
344
+ 3. Name Production (and optional Beta) sites with `list_workspace_environments` / `set_workspace_environments` before you trust the Production slice.
345
+ 4. Install the snippet or SDK and wire the events the shop actually fires. Do not invent event names to make a step look done.
346
+ 5. Finish writable setup with the matching tools (`claim_links_subdomain`, `set_consent_posture`, webhooks, scoring, invitations, engagement, app platforms, attribution, sender domain, push keys, protect auto-pause). Consent answers are not a live-site tap. Sender-domain records issued are not green — poll `get_sender_domain` until verified.
347
+ 6. Hop only when the next incomplete step is a hop: `start_integration_install` for GitHub, Stripe, Meta, Google, LinkedIn, or TikTok. Legal acknowledgements stay on the opened page. You cannot click the ad consoles or the DNS registrar for them.
@@ -188,4 +188,5 @@ Policies:
188
188
 
189
189
  - `apex-integration-cookbook` — end-to-end patterns combining partner network + communications + experiments
190
190
  - MCP tools: `list_partner_programs`, `create_partner_program`, `invite_partner`, `approve_payouts`, `vouch_for_partner`, `get_effective_fees`
191
+ - Stripe Connect for the shop is a hop: `start_integration_install` with `type: "stripe"`. Legal acknowledgements stay on the opened page.
191
192
  - Docs: `/docs/partner-network/` for concept walkthroughs + integration guides