@ractive-ch/tab-mcp 0.3.0 → 0.3.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 +2 -2
- package/index.js +3 -3
- package/index.js.map +3 -3
- package/main.js +3 -3
- package/main.js.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ and gets an MCP address. The user adds that address to an AI app and pairs it by
|
|
|
10
10
|
a code from the page on the relay's sign-in page. The relay then forwards the AI app's
|
|
11
11
|
requests to the page. It knows nothing about the tools themselves.
|
|
12
12
|
|
|
13
|
-
**Status: 0.3.
|
|
13
|
+
**Status: 0.3.1.** Until 1.0, a new minor version can still change settings and the API.
|
|
14
14
|
The relay speaks MCP revision 2026-07-28 only and accepts AI apps that register through
|
|
15
15
|
OAuth Client ID Metadata Documents; see [compatibility](https://github.com/ractive/tab-mcp/blob/main/docs/compatibility.md)
|
|
16
16
|
for which apps work.
|
|
@@ -32,7 +32,7 @@ Or with Docker (linux/amd64 and linux/arm64):
|
|
|
32
32
|
docker run -d -p 127.0.0.1:8080:8080 -v tab-mcp-data:/data \
|
|
33
33
|
-e TAB_MCP_PUBLIC_URL=https://relay.example.com \
|
|
34
34
|
-e TAB_MCP_ALLOWED_ORIGINS=https://app.example.com \
|
|
35
|
-
ractive/tab-mcp:0.3.
|
|
35
|
+
ractive/tab-mcp:0.3.1
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
The image is also on `ghcr.io/ractive/tab-mcp`. Put the relay behind a reverse proxy
|
package/index.js
CHANGED
|
@@ -1191,7 +1191,7 @@ function parseTabMessage(text) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
1193
|
// package.json
|
|
1194
|
-
var version = "0.3.
|
|
1194
|
+
var version = "0.3.1";
|
|
1195
1195
|
|
|
1196
1196
|
// src/exchange.ts
|
|
1197
1197
|
var RelayErrorCode = {
|
|
@@ -4487,7 +4487,7 @@ function startRelay(options, hooks) {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
function checkVersion(req, body, rpcId) {
|
|
4489
4489
|
const header = req.headers.get("mcp-protocol-version");
|
|
4490
|
-
if (body["method"] === "initialize") {
|
|
4490
|
+
if (body["method"] === "initialize" && !(header === MCP_PROTOCOL_VERSION && metaVersion(body) === MCP_PROTOCOL_VERSION)) {
|
|
4491
4491
|
const params = body["params"];
|
|
4492
4492
|
const requested = typeof params?.["protocolVersion"] === "string" ? params["protocolVersion"] : header ?? null;
|
|
4493
4493
|
return rpcError(400, rpcId, -32022, `Unsupported protocol version: ${String(requested)}. This server supports only ${MCP_PROTOCOL_VERSION}.`, corsHeaders, { supported: [MCP_PROTOCOL_VERSION], requested });
|
|
@@ -4834,5 +4834,5 @@ export {
|
|
|
4834
4834
|
resolveConfig
|
|
4835
4835
|
};
|
|
4836
4836
|
|
|
4837
|
-
//# debugId=
|
|
4837
|
+
//# debugId=00790963557D76A664756E2164756E21
|
|
4838
4838
|
//# sourceMappingURL=index.js.map
|