@safe-shape/mcp 3.5.0 → 3.5.1

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.
Files changed (3) hide show
  1. package/README.md +11 -3
  2. package/README.ru.md +11 -3
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @safe-shape/mcp
2
2
 
3
- **English** | [Русский](https://github.com/dev-ik/safe_shape/blob/v3.5.0/packages/mcp/README.ru.md)
3
+ **English** | [Русский](https://github.com/dev-ik/safe_shape/blob/v3.5.1/packages/mcp/README.ru.md)
4
4
 
5
5
  Runtime contracts for AI tools and a local MCP inspection server. Node >=20.10, ESM.
6
6
  Install this package independently for a narrower setup, or install `safe-shape`
@@ -9,13 +9,21 @@ umbrella installs MCP/SDK transitively without loading them through its main ent
9
9
 
10
10
  ```sh
11
11
  npm install @safe-shape/mcp @safe-shape/core
12
- npx --no-install safe-shape-mcp --workspace . --manifest examples/mcp.manifest.json
12
+ npx --no-install safe-shape-mcp --help
13
13
  ```
14
14
 
15
+ Create your schema module and `safe-shape.mcp.json` using the guide below, then run:
16
+
17
+ ```sh
18
+ npx --no-install safe-shape-mcp --workspace . --manifest safe-shape.mcp.json
19
+ ```
20
+
21
+ The manifest belongs to your project; npm installation does not create example files.
22
+
15
23
  Export SafeShape input/output contracts, validate tool boundaries and inspect
16
24
  registered contracts over stdio. Invalid arguments never reach the handler;
17
25
  invalid results never become successful responses. Trusted schema modules run
18
26
  with process permissions; path checks are not a JavaScript sandbox. Deadlines
19
27
  are cooperative. No automatic retries or baseline writes.
20
28
 
21
- [Guide](https://github.com/dev-ik/safe_shape/blob/v3.5.0/docs/mcp.md) · [API](https://github.com/dev-ik/safe_shape/blob/v3.5.0/docs/api/mcp.md)
29
+ [Guide](https://github.com/dev-ik/safe_shape/blob/v3.5.1/docs/mcp.md) · [API](https://github.com/dev-ik/safe_shape/blob/v3.5.1/docs/api/mcp.md)
package/README.ru.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @safe-shape/mcp
2
2
 
3
- [English](https://github.com/dev-ik/safe_shape/blob/v3.5.0/packages/mcp/README.md) | **Русский**
3
+ [English](https://github.com/dev-ik/safe_shape/blob/v3.5.1/packages/mcp/README.md) | **Русский**
4
4
 
5
5
  Контракты для AI-инструментов и локальный MCP-сервер проверки. Node >=20.10, ESM.
6
6
  Пакет можно установить отдельно либо получить через `safe-shape` и импортировать
@@ -9,13 +9,21 @@ API из `safe-shape/mcp`. Core не зависит от SDK; umbrella уста
9
9
 
10
10
  ```sh
11
11
  npm install @safe-shape/mcp @safe-shape/core
12
- npx --no-install safe-shape-mcp --workspace . --manifest examples/mcp.manifest.json
12
+ npx --no-install safe-shape-mcp --help
13
13
  ```
14
14
 
15
+ Создайте модуль схемы и `safe-shape.mcp.json` по руководству ниже, затем выполните:
16
+
17
+ ```sh
18
+ npx --no-install safe-shape-mcp --workspace . --manifest safe-shape.mcp.json
19
+ ```
20
+
21
+ Manifest принадлежит вашему проекту; npm-установка не создаёт файлы примеров.
22
+
15
23
  Экспортируйте схемы входа/выхода, проверяйте границы инструментов и контракты
16
24
  через stdio. Неверные аргументы не доходят до обработчика; неверный результат
17
25
  не становится успешным ответом. Доверенные модули работают с правами процесса;
18
26
  проверка путей не является песочницей. Deadline кооперативен. Нет автоматических
19
27
  повторов и записи baseline.
20
28
 
21
- [Руководство](https://github.com/dev-ik/safe_shape/blob/v3.5.0/docs/ru/mcp.md) · [API](https://github.com/dev-ik/safe_shape/blob/v3.5.0/docs/ru/api/mcp.md)
29
+ [Руководство](https://github.com/dev-ik/safe_shape/blob/v3.5.1/docs/ru/mcp.md) · [API](https://github.com/dev-ik/safe_shape/blob/v3.5.1/docs/ru/api/mcp.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-shape/mcp",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "SafeShape contracts and validated tools for MCP agents.",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -21,10 +21,10 @@
21
21
  "README.ru.md"
22
22
  ],
23
23
  "dependencies": {
24
- "@safe-shape/core": "3.5.0",
25
- "@safe-shape/validation": "3.5.0",
26
- "@safe-shape/json-schema": "3.5.0",
27
- "@safe-shape/compat": "3.5.0",
24
+ "@safe-shape/core": "3.5.1",
25
+ "@safe-shape/validation": "3.5.1",
26
+ "@safe-shape/json-schema": "3.5.1",
27
+ "@safe-shape/compat": "3.5.1",
28
28
  "@modelcontextprotocol/sdk": "1.32.1"
29
29
  },
30
30
  "scripts": {