@unified-product-graph/mcp-server 0.7.3 → 0.7.5
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/CHANGELOG.md +2 -2
- package/README.md +11 -11
- package/dist/index.js +369 -135
- package/dist/index.js.map +1 -1
- package/dist/tools-manifest.json +24 -24
- package/package.json +1 -1
- package/scripts/claudemd-snippet.md +8 -8
- package/scripts/install-skills.sh +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -6,13 +6,13 @@ All notable changes to `@unified-product-graph/mcp-server` are documented in thi
|
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
- **`list_frameworks` / `get_framework` now serve the 34 canonical frameworks**, not the full 216-record research library. They previously imported `UPG_FRAMEWORKS` from the internal `@unified-product-graph/frameworks` package; they now source it from `@unified-product-graph/core`'s canonical surface
|
|
9
|
+
- **`list_frameworks` / `get_framework` now serve the 34 canonical frameworks**, not the full 216-record research library. They previously imported `UPG_FRAMEWORKS` from the internal `@unified-product-graph/frameworks` package; they now source it from `@unified-product-graph/core`'s canonical surface, matching `cloud-server`, the published `core` export, and the public catalog on unifiedproductgraph.org. Research frameworks remain internal and are promoted into the canonical set incrementally as each is reviewed. `get_framework` for a non-canonical id now returns "Unknown framework id".
|
|
10
10
|
|
|
11
11
|
## [0.6.2] - 2026-05-26
|
|
12
12
|
|
|
13
13
|
### Fixed
|
|
14
14
|
|
|
15
|
-
- **Server failed to start when launched through a symlinked path
|
|
15
|
+
- **Server failed to start when launched through a symlinked path**, which broke the primary install path `claude mcp add upg -- npx @unified-product-graph/mcp-server`, npx `.bin` shims, global installs, and macOS `/tmp`. The entrypoint guard compared `process.argv[1]` (literal invocation path) to `import.meta.url` (symlink-resolved by the ESM loader) as raw strings; when they diverged the server exited 0 with no output, which MCP clients report as "Failed to connect." The guard now compares realpaths. Added a regression test that spawns the built binary through a symlink.
|
|
16
16
|
|
|
17
17
|
## [0.6.1] - 2026-05-26
|
|
18
18
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A local [Model Context Protocol](https://modelcontextprotocol.io) server that reads and writes `.upg` files. The `.upg` file is a portable JSON document holding your product graph: entities (personas, features, hypotheses, OKRs) and the relationships between them.
|
|
4
4
|
|
|
5
|
-
The server exposes 90 tools. They cover graph reads and writes plus introspection of everything `@unified-product-graph/core` ships
|
|
5
|
+
The server exposes 90 tools. They cover graph reads and writes plus introspection of everything `@unified-product-graph/core` ships: entity types, edges, frameworks, regions, playbooks, lenses, anti-patterns, benchmarks.
|
|
6
6
|
|
|
7
7
|
See [CHANGELOG.md](./CHANGELOG.md) for the release history.
|
|
8
8
|
|
|
@@ -52,10 +52,10 @@ If no `.upg` file exists, the server creates a blank `product.upg`. Use `create_
|
|
|
52
52
|
|
|
53
53
|
The server picks the `.upg` file to load in this order:
|
|
54
54
|
|
|
55
|
-
1. `--file` flag
|
|
56
|
-
2. `.upg/workspace.json
|
|
57
|
-
3. `*.upg` files in cwd
|
|
58
|
-
4. Otherwise
|
|
55
|
+
1. `--file` flag: use that file directly
|
|
56
|
+
2. `.upg/workspace.json`: load the default product from a workspace
|
|
57
|
+
3. `*.upg` files in cwd: first alphabetically
|
|
58
|
+
4. Otherwise: create a blank `product.upg`
|
|
59
59
|
|
|
60
60
|
## Conceptual Surface
|
|
61
61
|
|
|
@@ -73,7 +73,7 @@ UPG ships five collaborating primitives. The MCP server exposes all five.
|
|
|
73
73
|
|
|
74
74
|
## MCP Tools
|
|
75
75
|
|
|
76
|
-
90 tools across nine domains. Full reference: [TOOLS.md](./TOOLS.md)
|
|
76
|
+
90 tools across nine domains. Full reference: [TOOLS.md](./TOOLS.md), generated from `src/tools/*.ts` and shipped on npm.
|
|
77
77
|
|
|
78
78
|
| Domain | Count | What it covers |
|
|
79
79
|
|---|---|---|
|
|
@@ -116,7 +116,7 @@ Every canonical export from `@unified-product-graph/core` is reachable from the
|
|
|
116
116
|
- **Entity meta:** `list_entity_types`, `get_entity_meta` (immutable type_id, maturity tier, since-version, replacements)
|
|
117
117
|
- **Domains:** `list_domains` (with `with_guide_only` toggle), `get_domain_guide`
|
|
118
118
|
- **Anti-patterns:** `list_anti_patterns`, `get_anti_pattern` (machine-evaluable conditions, remediation, severity, applicable stages)
|
|
119
|
-
- **Benchmarks:** `list_benchmarks({ kind })
|
|
119
|
+
- **Benchmarks:** `list_benchmarks({ kind })`: count / relationship / ratio / domain-activation catalogs (data behind `get_graph_digest` health logic)
|
|
120
120
|
- **Product stages:** `list_product_stages` (canonical 9-stage journey)
|
|
121
121
|
- **Spec version:** `get_spec_version` (UPG version + counts)
|
|
122
122
|
|
|
@@ -153,9 +153,9 @@ The install script supports six AI coding tools: Claude Code, Cursor, Codex CLI,
|
|
|
153
153
|
|
|
154
154
|
## Companion Docs
|
|
155
155
|
|
|
156
|
-
- **[TOOLS.md](./TOOLS.md)
|
|
157
|
-
- **[CHANGELOG.md](./CHANGELOG.md)
|
|
158
|
-
- **[unifiedproductgraph.org](https://unifiedproductgraph.org)
|
|
156
|
+
- **[TOOLS.md](./TOOLS.md)**: source-of-truth tool reference (auto-generated)
|
|
157
|
+
- **[CHANGELOG.md](./CHANGELOG.md)**: release history
|
|
158
|
+
- **[unifiedproductgraph.org](https://unifiedproductgraph.org)**: the UPG specification and conceptual model
|
|
159
159
|
|
|
160
160
|
## Spec
|
|
161
161
|
|
|
@@ -163,4 +163,4 @@ The Unified Product Graph format is documented at [unifiedproductgraph.org](http
|
|
|
163
163
|
|
|
164
164
|
## License
|
|
165
165
|
|
|
166
|
-
MIT
|
|
166
|
+
MIT; see [LICENSE](./LICENSE).
|