@typescape-ai/mcp 1.9.31 → 1.10.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 CHANGED
@@ -1,13 +1,12 @@
1
1
  # @typescape-ai/mcp
2
2
 
3
- Typescape MCP server for external agent harnesses that need canonical review, finding, decision, rules, corpus, and export workflows.
3
+ Typescape MCP server for external agent harnesses that need canonical review, finding, decision, rules, governance-signal, corpus, and export workflows.
4
4
 
5
- The published package exposes a broad multi-family tool registry for review, finding, workflow, rules, advisory, project, issue, and repository operations. MCP is the easiest discovery surface for agent clients such as Claude Code, Cursor, and Windsurf, but it is not the whole product surface. Typescape also ships the same operating model over the API and CLI.
5
+ The published package exposes a broad multi-family tool registry for review, finding, workflow, rules, governance-signal, project, issue, and repository operations. MCP is the easiest discovery surface for agent clients such as Claude Code, Cursor, and Windsurf, but it is not the whole product surface. Typescape also ships the same operating model over the API and CLI.
6
6
 
7
7
  ## Requirements
8
8
 
9
- - [Bun](https://bun.sh/) `>=1.0` is preferred
10
- - [Node.js](https://nodejs.org/) `>=18.17` also works for `npx`-style launchers
9
+ - [Bun](https://bun.sh/) `>=1.3.10`
11
10
  - `TYPESCAPE_API_KEY` and `TYPESCAPE_BASE_URL`
12
11
 
13
12
  ## Install
@@ -24,12 +23,6 @@ If you want to pin the package in a repo:
24
23
  bun add -D @typescape-ai/mcp
25
24
  ```
26
25
 
27
- Node-based MCP clients can also launch it without installing Bun:
28
-
29
- ```bash
30
- npx -y @typescape-ai/mcp
31
- ```
32
-
33
26
  ## Client Config
34
27
 
35
28
  Generic MCP config shape:
@@ -72,8 +65,8 @@ Cursor example: `.cursor/mcp.json`
72
65
  {
73
66
  "mcpServers": {
74
67
  "typescape": {
75
- "command": "npx",
76
- "args": ["-y", "@typescape-ai/mcp"],
68
+ "command": "bunx",
69
+ "args": ["@typescape-ai/mcp"],
77
70
  "env": {
78
71
  "TYPESCAPE_API_KEY": "ts_op_your_token",
79
72
  "TYPESCAPE_BASE_URL": "https://your-typescape-instance.example.com"
@@ -91,14 +84,26 @@ Review workflow:
91
84
  2. `typescape_get_render`
92
85
  3. `typescape_create_finding`
93
86
  4. `typescape_post_comment` / `typescape_record_decision`
94
- 5. `typescape_export_review`
87
+ 5. `typescape_supersede_review`
88
+ 6. `typescape_export_review`
89
+
90
+ `typescape_supersede_review` is the generic content-review revision flow.
91
+ Rules working drafts use `typescape_revise_rules`.
95
92
 
96
93
  Rules workflow:
97
94
 
98
95
  1. `typescape_get_rules`
99
- 2. `typescape_check_content`
100
- 3. `typescape_import_rules`
101
- 4. `typescape_rules_dashboard`
96
+ 2. `typescape_list_rule_documents`
97
+ 3. `typescape_check_content`
98
+ 4. `typescape_import_rules`
99
+ 5. `typescape_revise_rules`
100
+ 6. `typescape_publish_rules`
101
+ 7. `typescape_create_release_candidate`
102
+ 8. `typescape_transition_release_candidate`
103
+
104
+ Supplemental diagnostics:
105
+
106
+ - `typescape_rules_dashboard`
102
107
 
103
108
  API/CLI parity:
104
109
 
@@ -111,7 +116,7 @@ API/CLI parity:
111
116
  Reviews:
112
117
 
113
118
  - `typescape_create_review`
114
- - `typescape_revise_review`
119
+ - `typescape_supersede_review`
115
120
  - `typescape_export_review`
116
121
  - `typescape_list_reviews`
117
122
  - `typescape_get_review`
@@ -160,9 +165,17 @@ Corpus:
160
165
  Rules:
161
166
 
162
167
  - `typescape_get_rules`
163
- - `typescape_rules_pack` (compatibility-only)
168
+ - `typescape_list_rule_documents`
164
169
  - `typescape_check_content`
165
170
  - `typescape_import_rules`
171
+ - `typescape_revise_rules`
172
+ - `typescape_publish_rules`
173
+ - `typescape_deprecate_rules`
174
+ - `typescape_create_release_candidate`
175
+ - `typescape_list_release_candidates`
176
+ - `typescape_get_release_candidate`
177
+ - `typescape_get_release_candidate_status`
178
+ - `typescape_transition_release_candidate`
166
179
  - `typescape_rules_dashboard`
167
180
 
168
181
  Repo, asset, and collection support:
package/bin/typescape-mcp CHANGED
@@ -14,15 +14,10 @@ done
14
14
 
15
15
  SCRIPT_DIR="$(CDPATH= cd -P -- "$(dirname -- "$SOURCE")" && pwd -P)"
16
16
 
17
- if command -v node >/dev/null 2>&1; then
18
- exec node "$SCRIPT_DIR/../dist/mcp.js" "$@"
19
- fi
20
-
21
17
  if command -v bun >/dev/null 2>&1; then
22
18
  exec bun "$SCRIPT_DIR/../dist/mcp.js" "$@"
23
19
  fi
24
20
 
25
- echo "Typescape MCP requires Node.js (>=18) or Bun." >&2
26
- echo "Install Node.js: https://nodejs.org/" >&2
21
+ echo "Typescape MCP requires Bun 1.3.10 or newer." >&2
27
22
  echo "Install Bun: https://bun.sh/docs/installation" >&2
28
23
  exit 127