@loopops/mcp-server 3.52.0 → 3.53.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/dist/index.js CHANGED
@@ -17,6 +17,7 @@ import { registerPursueTools } from "./tools/pursue.js";
17
17
  import { registerAccountMasterTools } from "./tools/account-master.js";
18
18
  import { registerPeopleMasterTools } from "./tools/people-master.js";
19
19
  import { registerScoringTools } from "./tools/scoring.js";
20
+ import { registerAccountCurateTools } from "./tools/account-curate.js";
20
21
  import { registerCpqTools } from "./tools/cpq.js";
21
22
  import { registerDealPrepTools } from "./tools/deal-prep.js";
22
23
  import { registerPlanTools } from "./tools/plan.js";
@@ -75,6 +76,7 @@ registerSfdcSyncTools(server, allowedSkills);
75
76
  registerCpqTools(server, allowedSkills);
76
77
  registerDealPrepTools(server, allowedSkills);
77
78
  registerPlanTools(server, allowedSkills);
79
+ registerAccountCurateTools(server, allowedSkills);
78
80
  // Skills framework — fetch role-visible skills from the Loop API and
79
81
  // register each as a server-provided MCP prompt. Surfaces in the
80
82
  // client's `/` menu and bundles (system prompt + tool emphasis +
@@ -0,0 +1,13 @@
1
+ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
+ /**
3
+ * Account-curation context tool — surface for the `/account_curate`
4
+ * skill (ops + eng).
5
+ *
6
+ * The skill bundles existing Account Master tools (list_pending_account_matches,
7
+ * account_show, walk_account_hierarchy, override_account_attribute,
8
+ * score_account, score_explain, evaluate_tal_now, deploy_account,
9
+ * approve_initial_deployment, deployment_status, drift_report,
10
+ * resolve_drift, export_pending_approvals, process_approvals_csv) with
11
+ * a system prompt + the playbook loaded by this context tool.
12
+ */
13
+ export declare function registerAccountCurateTools(server: McpServer, allowed: Set<string>): void;
@@ -0,0 +1,18 @@
1
+ import { trpcQuery } from "../api-client.js";
2
+ import { safeTool } from "./_helpers.js";
3
+ /**
4
+ * Account-curation context tool — surface for the `/account_curate`
5
+ * skill (ops + eng).
6
+ *
7
+ * The skill bundles existing Account Master tools (list_pending_account_matches,
8
+ * account_show, walk_account_hierarchy, override_account_attribute,
9
+ * score_account, score_explain, evaluate_tal_now, deploy_account,
10
+ * approve_initial_deployment, deployment_status, drift_report,
11
+ * resolve_drift, export_pending_approvals, process_approvals_csv) with
12
+ * a system prompt + the playbook loaded by this context tool.
13
+ */
14
+ export function registerAccountCurateTools(server, allowed) {
15
+ if (allowed.has("account_curate_context")) {
16
+ server.tool("account_curate_context", "Loads Loop's account-curation playbook: workflow (triage → per-account curation → rescoring → TAL membership check → SFDC deployment → drift handling), override_reasons guidance, provider_conflict_resolution (priority waterfall + multi-account-per-domain), scoring_gotchas, conversation_patterns, audit_responsibility, handoff_to_other_skills. Call ONCE per account-curate conversation before doing anything else. The /account_curate skill auto-loads this on entry.", {}, safeTool(async () => trpcQuery("mcp.accountCurateContext")));
17
+ }
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loopops/mcp-server",
3
- "version": "3.52.0",
3
+ "version": "3.53.0",
4
4
  "description": "Loop Operations MCP Server — AI skills for RevOps",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",