gasp-standard-mcp 1.0.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/LICENSE +21 -0
- package/README.md +61 -0
- package/build/export-data.d.ts +8 -0
- package/build/export-data.js +32 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +250 -0
- package/build/loader.d.ts +31 -0
- package/build/loader.js +163 -0
- package/build/parser.d.ts +11 -0
- package/build/parser.js +256 -0
- package/build/standard-data.json +1 -0
- package/build/standard-version.json +1 -0
- package/build/types.d.ts +63 -0
- package/build/types.js +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"metricCount":299,"definitionCount":79,"nodeCount":21,"edgeCount":25,"buildDate":"2026-02-08"}
|
package/build/types.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/** A parsed metric from the standard markdown files */
|
|
2
|
+
export interface Metric {
|
|
3
|
+
/** Display name, e.g. "MRR (Monthly Recurring Revenue)" */
|
|
4
|
+
name: string;
|
|
5
|
+
/** Heading anchor slug, e.g. "mrr-monthly-recurring-revenue" */
|
|
6
|
+
slug: string;
|
|
7
|
+
/** Short definition from **Definition:** field */
|
|
8
|
+
definition: string;
|
|
9
|
+
/** Formula(s) from code blocks, may have multiple variants */
|
|
10
|
+
formulas: string[];
|
|
11
|
+
/** Benchmark ranges, if present */
|
|
12
|
+
benchmarks: string | null;
|
|
13
|
+
/** What it tells you blurb */
|
|
14
|
+
insight: string | null;
|
|
15
|
+
/** Common mistakes, if present */
|
|
16
|
+
commonMistakes: string[] | null;
|
|
17
|
+
/** Source URLs */
|
|
18
|
+
sources: string[];
|
|
19
|
+
/** The department file this was parsed from */
|
|
20
|
+
department: string;
|
|
21
|
+
/** The section heading (e.g. "Revenue Metrics", "Pipeline Metrics") */
|
|
22
|
+
category: string;
|
|
23
|
+
/** Abbreviations / aliases (e.g. ["MRR", "NDR"]) */
|
|
24
|
+
aliases: string[];
|
|
25
|
+
/** Full raw markdown of this metric section */
|
|
26
|
+
rawMarkdown: string;
|
|
27
|
+
}
|
|
28
|
+
/** A term from definitions.md */
|
|
29
|
+
export interface Definition {
|
|
30
|
+
/** Term name */
|
|
31
|
+
term: string;
|
|
32
|
+
/** Slug for linking */
|
|
33
|
+
slug: string;
|
|
34
|
+
/** Definition text */
|
|
35
|
+
definition: string;
|
|
36
|
+
/** Section it belongs to (e.g. "Revenue Terms") */
|
|
37
|
+
section: string;
|
|
38
|
+
/** Canonical definition link, if present */
|
|
39
|
+
canonicalLink: string | null;
|
|
40
|
+
/** Departments that use this term */
|
|
41
|
+
usedIn: string[];
|
|
42
|
+
}
|
|
43
|
+
/** A node in the relationship graph */
|
|
44
|
+
export interface RelationshipNode {
|
|
45
|
+
id: string;
|
|
46
|
+
label: string;
|
|
47
|
+
level: number;
|
|
48
|
+
category: string;
|
|
49
|
+
description: string;
|
|
50
|
+
}
|
|
51
|
+
/** An edge in the relationship graph */
|
|
52
|
+
export interface RelationshipEdge {
|
|
53
|
+
source: string;
|
|
54
|
+
target: string;
|
|
55
|
+
type: string;
|
|
56
|
+
}
|
|
57
|
+
/** The full loaded dataset */
|
|
58
|
+
export interface StandardData {
|
|
59
|
+
metrics: Metric[];
|
|
60
|
+
definitions: Definition[];
|
|
61
|
+
nodes: RelationshipNode[];
|
|
62
|
+
edges: RelationshipEdge[];
|
|
63
|
+
}
|
package/build/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gasp-standard-mcp",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "MCP server for the GASP Standard — SaaS metrics definitions, formulas, benchmarks, and relationships",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "GASP Standard",
|
|
8
|
+
"homepage": "https://gaspwiki.com/v1/tools",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/GASPstandard/eom.git",
|
|
12
|
+
"directory": "mcp-server"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"mcp",
|
|
16
|
+
"model-context-protocol",
|
|
17
|
+
"saas",
|
|
18
|
+
"metrics",
|
|
19
|
+
"gasp",
|
|
20
|
+
"kpi",
|
|
21
|
+
"arr",
|
|
22
|
+
"mrr",
|
|
23
|
+
"churn",
|
|
24
|
+
"nrr"
|
|
25
|
+
],
|
|
26
|
+
"mcpName": "dev.gasp/gasp-standard-mcp",
|
|
27
|
+
"main": "build/index.js",
|
|
28
|
+
"bin": {
|
|
29
|
+
"gasp-standard-mcp": "build/index.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"build/**/*.js",
|
|
33
|
+
"build/**/*.d.ts",
|
|
34
|
+
"build/standard-data.json",
|
|
35
|
+
"build/standard-version.json"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc",
|
|
39
|
+
"start": "node build/index.js",
|
|
40
|
+
"export-data": "node build/export-data.js",
|
|
41
|
+
"prepublishOnly": "npm run build && npm run export-data"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
45
|
+
"zod": "^3.24.2"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/node": "^22.15.2",
|
|
49
|
+
"typescript": "^5.8.3"
|
|
50
|
+
}
|
|
51
|
+
}
|