@anvia/mcp 1.0.4 → 1.0.7

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 (2) hide show
  1. package/README.md +13 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -5,14 +5,25 @@ Model Context Protocol client integration for Anvia agents.
5
5
  This package owns MCP connections, transports, tool discovery, and cleanup. `@anvia/core` keeps only
6
6
  the lightweight MCP registration contracts consumed by `Agent`.
7
7
 
8
- Requires Node.js 20 or newer and uses the official MCP TypeScript SDK v2 client.
8
+ Requires Node.js 20 or newer, or Bun 1.3.14, and uses the official MCP TypeScript SDK v2 client.
9
9
 
10
10
  ## Installation
11
11
 
12
12
  ```sh
13
- pnpm add @anvia/mcp @anvia/core
13
+ pnpm add @anvia/mcp@rc @anvia/core@rc
14
14
  ```
15
15
 
16
+ ### Bun
17
+
18
+ Bun 1.3.14 is the currently tested and supported runtime baseline:
19
+
20
+ ```sh
21
+ bun add @anvia/mcp@rc @anvia/core@rc
22
+ ```
23
+
24
+ Compatibility tests cover modern protocol negotiation, Streamable HTTP with chunked SSE responses,
25
+ stdio subprocesses, URL-safety enforcement, and installation from packed package artifacts.
26
+
16
27
  ## Usage
17
28
 
18
29
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvia/mcp",
3
- "version": "1.0.4",
3
+ "version": "1.0.7",
4
4
  "description": "Model Context Protocol client integration for Anvia.",
5
5
  "author": "anvia",
6
6
  "maintainer": "Indra Zulfi",
@@ -34,10 +34,10 @@
34
34
  "tsup": "^8.5.0",
35
35
  "typescript": "^5.9.3",
36
36
  "vitest": "^4.0.8",
37
- "@anvia/core": "1.0.4"
37
+ "@anvia/core": "1.0.7"
38
38
  },
39
39
  "peerDependencies": {
40
- "@anvia/core": "1.0.4"
40
+ "@anvia/core": "1.0.7"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=20"