gasp-standard-mcp 1.5.0 → 1.7.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/README.md +11 -4
- package/build/index.js +13 -0
- package/build/loader.js +1 -0
- package/build/standard-data.json +1 -1
- package/build/standard-version.json +1 -1
- package/build/types.d.ts +8 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -45,13 +45,16 @@ Restart your MCP client after adding the config.
|
|
|
45
45
|
## Data
|
|
46
46
|
|
|
47
47
|
- 300 metrics across 13 departments
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
48
|
+
- 92 glossary definitions (80 SaaS domain + 12 GASP framework)
|
|
49
|
+
- 82 relationship nodes (60 metrics + 15 entities + 7 concepts), 164 edges
|
|
50
|
+
- 22 entity-to-entity business model edges (OWNS, GRANTS, CONVERTS_TO, GENERATES, PARENT_OF, PRICED_BY, REPRESENTED_BY, etc.)
|
|
51
51
|
- 78 data requirements with field types, grain, and example SQL
|
|
52
|
-
-
|
|
52
|
+
- 15 business entities (Customer, Subscription, License, Lead, Opportunity, User, Ticket, Employee, Invoice, Partner, Project, Plan, Product, Campaign, Contact)
|
|
53
|
+
- 7 business concepts (Revenue, Bookings, COGS, Cohort, Pipeline, Segment, TCV)
|
|
54
|
+
- 22 source categories, 198 canonical fields
|
|
53
55
|
- 60 structured formulas with decomposed inputs (metric refs + field refs)
|
|
54
56
|
- 60 temporal mappings (grain, frequency, period for every metric node)
|
|
57
|
+
- Access control classifications for every graph metric (sensitivity tier + access scope)
|
|
55
58
|
- CEL `change_nature` field for revenue quality analysis (Adjusted NRR/GRR)
|
|
56
59
|
- Sources: the canonical [GASP Standard](https://gaspwiki.com) files
|
|
57
60
|
|
|
@@ -63,6 +66,10 @@ Once installed, ask your AI assistant:
|
|
|
63
66
|
- "How do I calculate CAC Payback?"
|
|
64
67
|
- "What drives ARR?"
|
|
65
68
|
- "How does Customer relate to Subscription?"
|
|
69
|
+
- "What sensitivity tier is CAC classified as?"
|
|
70
|
+
- "What does confidential mean in GASP?"
|
|
71
|
+
- "How does Plan relate to Subscription?"
|
|
72
|
+
- "Which campaigns source leads into the pipeline?"
|
|
66
73
|
- "List all marketing metrics"
|
|
67
74
|
- "What data do I need to implement ARR tracking?"
|
|
68
75
|
- "Search for churn"
|
package/build/index.js
CHANGED
|
@@ -158,6 +158,19 @@ server.tool("lookup_metric", "Look up a GASP Standard metric by name or abbrevia
|
|
|
158
158
|
parts.push(`\n## Adjusted Variant\n\n${sf.adjustedVariant}`);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
+
// Access control classification (if available)
|
|
162
|
+
const acMap = data.ontology?.accessControl?.classifications;
|
|
163
|
+
if (acMap) {
|
|
164
|
+
const nodeId = metric.slug.replace(/-/g, '_');
|
|
165
|
+
const ac = acMap[nodeId]
|
|
166
|
+
|| Object.entries(acMap).find(([k]) => nodeId.startsWith(k + '_'))?.[1];
|
|
167
|
+
if (ac) {
|
|
168
|
+
parts.push(`\n## Recommended Access Control\n` +
|
|
169
|
+
`- **Sensitivity:** ${ac.sensitivityTier} (https://gaspwiki.com/v1/definitions/sensitivity-tier)\n` +
|
|
170
|
+
`- **Scope:** ${ac.accessScope} (https://gaspwiki.com/v1/definitions/access-scope)\n` +
|
|
171
|
+
`See https://gaspwiki.com/v1/governance for policy patterns (Cedar, OPA, warehouse RLS).`);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
161
174
|
// Swap EOM → GASP branding
|
|
162
175
|
const text = parts.join("\n").replace(/\bEOM Standard\b/g, "GASP Standard");
|
|
163
176
|
return { content: [{ type: "text", text }] };
|
package/build/loader.js
CHANGED
|
@@ -118,6 +118,7 @@ export function loadStandard() {
|
|
|
118
118
|
concepts: ontRaw.concepts || [],
|
|
119
119
|
entityRelationships: ontRaw.entityRelationships || undefined,
|
|
120
120
|
structuredFormulas: ontRaw.structuredFormulas || undefined,
|
|
121
|
+
accessControl: ontRaw.accessControl || undefined,
|
|
121
122
|
};
|
|
122
123
|
}
|
|
123
124
|
catch {
|