@typescape-ai/mcp 1.9.33 → 1.11.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 +33 -17
- package/bin/typescape-mcp +1 -6
- package/dist/mcp.js +205 -201
- package/package.json +5 -3
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,
|
|
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.
|
|
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": "
|
|
76
|
-
"args": ["
|
|
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. `
|
|
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. `
|
|
100
|
-
3. `
|
|
101
|
-
4. `
|
|
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,6 +116,7 @@ API/CLI parity:
|
|
|
111
116
|
Reviews:
|
|
112
117
|
|
|
113
118
|
- `typescape_create_review`
|
|
119
|
+
- `typescape_supersede_review`
|
|
114
120
|
- `typescape_export_review`
|
|
115
121
|
- `typescape_list_reviews`
|
|
116
122
|
- `typescape_get_review`
|
|
@@ -159,8 +165,17 @@ Corpus:
|
|
|
159
165
|
Rules:
|
|
160
166
|
|
|
161
167
|
- `typescape_get_rules`
|
|
168
|
+
- `typescape_list_rule_documents`
|
|
162
169
|
- `typescape_check_content`
|
|
163
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`
|
|
164
179
|
- `typescape_rules_dashboard`
|
|
165
180
|
|
|
166
181
|
Repo, asset, and collection support:
|
|
@@ -175,10 +190,11 @@ Repo, asset, and collection support:
|
|
|
175
190
|
## Notes
|
|
176
191
|
|
|
177
192
|
- Feature-gated tools return `feature_disabled` when the backing capability is off for the tenant.
|
|
193
|
+
- The server publishes a compact `typescape://workspace/summary` resource for ambient tool discovery and workspace context.
|
|
178
194
|
|
|
179
195
|
## Response Shape
|
|
180
196
|
|
|
181
|
-
Every MCP tool returns JSON text in `content[0].text`.
|
|
197
|
+
Every MCP tool returns compact JSON text in `content[0].text`. The tool-call layer stays JSON for compatibility, while the workspace summary resource is optimized for agent bootstrap text.
|
|
182
198
|
|
|
183
199
|
Success example:
|
|
184
200
|
|
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
|
|
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
|