@webmcp-gate/protocol 0.1.0-alpha.0 → 0.1.0-alpha.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.
- package/README.md +6 -2
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# @webmcp-gate/protocol
|
|
2
2
|
|
|
3
|
-
Message types, constants and the connection string format shared by the webmcp-gate relay and the browser client.
|
|
4
|
-
|
|
3
|
+
Message types, constants and the connection string format shared by the [webmcp-gate](https://github.com/hon2be/webmcp-gate) relay and the browser client. No dependencies.
|
|
4
|
+
|
|
5
|
+
The page and the local relay prove they share a per-session pairing code with a mutual HMAC-SHA256 handshake, and the code itself is never sent.
|
|
6
|
+
The wire format and a test vector for writing your own client are in [docs/protocol.md](https://github.com/hon2be/webmcp-gate/blob/main/docs/protocol.md).
|
|
7
|
+
|
|
8
|
+
Most apps want [`@webmcp-gate/client`](https://www.npmjs.com/package/@webmcp-gate/client) instead.
|
|
5
9
|
|
|
6
10
|
Part of [webmcp-gate](https://github.com/hon2be/webmcp-gate).
|
package/package.json
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webmcp-gate/protocol",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
4
|
-
"description": "Message shapes, constants and the connection string of the webmcp-gate WebSocket protocol",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "Message shapes, constants and the connection string of the webmcp-gate WebSocket protocol, a mutual HMAC handshake between a web page and a local relay",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"webmcp",
|
|
7
|
+
"mcp",
|
|
8
|
+
"websocket",
|
|
9
|
+
"protocol",
|
|
10
|
+
"hmac",
|
|
11
|
+
"agent-tools"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/hon2be/webmcp-gate#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/hon2be/webmcp-gate/issues"
|
|
16
|
+
},
|
|
5
17
|
"license": "MIT",
|
|
6
18
|
"type": "module",
|
|
7
19
|
"repository": {
|