@aiwerk/mcp-bridge 2.7.4 → 2.7.5

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.
@@ -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.5",
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",