@opennous/mcp 0.37.0 → 0.38.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 +1 -1
- package/src/server.js +10 -2
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -44,7 +44,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
44
44
|
import { z } from "zod";
|
|
45
45
|
import { get, post } from "./client.js";
|
|
46
46
|
|
|
47
|
-
export const SERVER_VERSION = "0.
|
|
47
|
+
export const SERVER_VERSION = "0.38.0";
|
|
48
48
|
|
|
49
49
|
// ─── helpers ──────────────────────────────────────────────────────────────────
|
|
50
50
|
|
|
@@ -771,6 +771,10 @@ export function createServer() {
|
|
|
771
771
|
lines.push("SETUP:");
|
|
772
772
|
lines.push(` ${mark(setup.onboarding?.done)} Onboarding${setup.onboarding?.done ? "" : ` — missing ${(setup.onboarding?.missing ?? []).join(", ") || "details"}`}`);
|
|
773
773
|
lines.push(` ${mark(setup.gtm_playbook?.done)} GTM playbook${setup.gtm_playbook?.model ? " (scoring model live)" : ""}${setup.gtm_playbook?.stale_facts ? ` · ${setup.gtm_playbook.stale_facts} stale fact(s)` : ""}`);
|
|
774
|
+
if (setup.icp_sync) {
|
|
775
|
+
const sy = setup.icp_sync;
|
|
776
|
+
lines.push(` ⟳ ICP synced from ${sy.synced_from} (${relAge(sy.synced_at)})${sy.model_changed ? " · model has CHANGED since — run get_icp_model to refresh the file" : ""}`);
|
|
777
|
+
}
|
|
774
778
|
const ints = setup.integrations?.connected ?? [];
|
|
775
779
|
lines.push(` ${mark((setup.integrations?.count ?? 0) > 0)} Integrations (${setup.integrations?.count ?? 0})${ints.length ? `: ${ints.map((i) => i.name).join(", ")}` : ""}`);
|
|
776
780
|
const crm = setup.crm_sync ?? {};
|
|
@@ -956,7 +960,11 @@ export function createServer() {
|
|
|
956
960
|
"in the project for an existing GTM setup — folders like context/, .claude/, gtm/, and files named " +
|
|
957
961
|
"icp*, positioning*, pricing*, competitors*, messaging*, market*. READ the ones you find with your " +
|
|
958
962
|
"own file tools, then call this with each file's content mapped to a section, AND its path in " +
|
|
959
|
-
"`source_path`.
|
|
963
|
+
"`source_path`. MAP GRANULARLY: map each FILE to the single section it best fits (icp.md -> ICP, " +
|
|
964
|
+
"positioning.md -> Positioning, pricing.md -> Pricing, competitors.md -> Competitors, market.md -> " +
|
|
965
|
+
"Market, messaging.md -> Notes) — one entry per file, do NOT dump several files' content into ICP. " +
|
|
966
|
+
"If one file holds several sections under headers, split it by header into multiple entries. " +
|
|
967
|
+
"Nous keeps a served copy of the prose and rebuilds the ICP scoring model from it; " +
|
|
960
968
|
"the recorded source_path is what get_icp_model writes the learned model back into. " +
|
|
961
969
|
"IF NO ICP FILE EXISTS: don't invent one in Nous. Offer to create `context/icp.md` from what the user " +
|
|
962
970
|
"tells you (write it with your file tools), then call this on that file — so their ICP lives in their " +
|