mcpstore-gateway 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +12 -3
package/dist/index.js CHANGED
@@ -99,20 +99,22 @@ async function sync(apiKey) {
99
99
  }
100
100
  }
101
101
  // Add/update installed MCPs
102
+ let updated = false;
102
103
  for (const mcp of installed) {
103
104
  const key = `${MANAGED_PREFIX}${mcp.slug}`;
104
105
  const newEntry = buildMcpEntry(mcp);
105
106
  const existing = config.mcpServers[key];
106
- // Only write if entry is new or changed
107
+ // Only write if entry is new or changed (including credential updates)
107
108
  if (!existing || JSON.stringify(existing) !== JSON.stringify(newEntry)) {
108
109
  config.mcpServers[key] = newEntry;
109
110
  if (!existing) {
110
111
  added.push(mcp.slug);
111
112
  }
113
+ updated = true;
112
114
  }
113
115
  }
114
- // Write if anything changed
115
- if (added.length > 0 || removed.length > 0) {
116
+ // Write if anything changed (added, removed, or credentials updated)
117
+ if (updated || removed.length > 0) {
116
118
  writeMcpJson(config);
117
119
  }
118
120
  return { added, removed, total: installed.length };
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "mcpstore-gateway",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "MCP Store Gateway — Syncs your installed MCPs from mcpclaudecode.com into Claude Code",
5
- "keywords": ["mcp", "claude", "claude-code", "ai", "gateway", "marketplace"],
5
+ "keywords": [
6
+ "mcp",
7
+ "claude",
8
+ "claude-code",
9
+ "ai",
10
+ "gateway",
11
+ "marketplace"
12
+ ],
6
13
  "license": "MIT",
7
14
  "author": "MCP Store <contact@mcpclaudecode.com>",
8
15
  "repository": {
@@ -13,7 +20,9 @@
13
20
  "bin": {
14
21
  "mcpstore-gateway": "./dist/index.js"
15
22
  },
16
- "files": ["dist"],
23
+ "files": [
24
+ "dist"
25
+ ],
17
26
  "scripts": {
18
27
  "build": "tsc",
19
28
  "dev": "tsx src/index.ts",