@tenuo/mcp 0.3.0-beta.0 → 0.3.1-beta.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 +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,6 +63,10 @@ failure returns the constant "Replay store unavailable"; pass
|
|
|
63
63
|
`onNonceStoreError` for the original cause. Unknown option keys, including
|
|
64
64
|
mixed typos like `{ allow, nonceStroe }`, throw at register time.
|
|
65
65
|
|
|
66
|
+
A minimal runnable version of the above, with an in-memory v2 client and
|
|
67
|
+
server, one allowed call, and one denied call, lives in
|
|
68
|
+
[`examples/v2`](examples/v2/README.md). From `tenuo-ts`: `pnpm example:mcp:v2`.
|
|
69
|
+
|
|
66
70
|
There is no FastMCP adapter and no v1 adapter package. For
|
|
67
71
|
`@modelcontextprotocol/sdk` v1, copy the recipe in
|
|
68
72
|
`packages/core/examples/mcp/host.ts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tenuo/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1-beta.0",
|
|
4
4
|
"description": "Optional adapter: guard @modelcontextprotocol/server v2 tools with @tenuo/core.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Tenuo Contributors",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
54
|
-
"@tenuo/core": ">=0.3.
|
|
54
|
+
"@tenuo/core": ">=0.3.1-beta.0 <0.3.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@modelcontextprotocol/client": "2.0.0",
|