@aiwerk/mcp-bridge 2.7.4 → 2.7.6

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.
@@ -25,7 +25,7 @@ export async function initializeProtocol(transport, version) {
25
25
  jsonrpc: "2.0",
26
26
  method: "initialize",
27
27
  params: {
28
- protocolVersion: "2024-11-05",
28
+ protocolVersion: "2025-06-18",
29
29
  capabilities: {},
30
30
  clientInfo: {
31
31
  name: "mcp-bridge",
@@ -197,7 +197,7 @@ export class StandaloneServer {
197
197
  jsonrpc: "2.0",
198
198
  id,
199
199
  result: {
200
- protocolVersion: "2024-11-05",
200
+ protocolVersion: "2025-06-18",
201
201
  capabilities: {
202
202
  tools: {}
203
203
  },
@@ -44,7 +44,14 @@ export class FileTokenStore {
44
44
  for (const file of readdirSync(this.tokensDir)) {
45
45
  if (!file.endsWith(".json"))
46
46
  continue;
47
- const serverName = file.slice(0, -5);
47
+ const encoded = file.slice(0, -5);
48
+ let serverName;
49
+ try {
50
+ serverName = decodeURIComponent(encoded);
51
+ }
52
+ catch {
53
+ serverName = encoded;
54
+ }
48
55
  const token = this.load(serverName);
49
56
  if (token) {
50
57
  results.push({ serverName, token });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiwerk/mcp-bridge",
3
- "version": "2.7.4",
3
+ "version": "2.7.6",
4
4
  "description": "Standalone MCP server that multiplexes multiple MCP servers into one interface",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",