@insforge/install 0.0.34 → 0.0.35
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/.claude/settings.local.json +4 -2
- package/dist/index.js +8 -0
- package/package.json +1 -1
- package/.mcp.json +0 -15
package/dist/index.js
CHANGED
|
@@ -106,6 +106,14 @@ import {
|
|
|
106
106
|
if (!settings.enabledMcpjsonServers.includes("insforge")) {
|
|
107
107
|
settings.enabledMcpjsonServers.push("insforge");
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
// Remove "insforge" from disabledMcpjsonServers if present
|
|
111
|
+
if (settings.disabledMcpjsonServers && Array.isArray(settings.disabledMcpjsonServers)) {
|
|
112
|
+
settings.disabledMcpjsonServers = settings.disabledMcpjsonServers.filter(
|
|
113
|
+
(server) => server !== "insforge"
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
|
|
109
117
|
fs.writeFileSync(settingsPath, JSON.stringify(settings, null, 2));
|
|
110
118
|
logger.info("Added \"insforge\" to enabledMcpjsonServers in .claude/settings.local.json");
|
|
111
119
|
} else if (argv.client === "codex") {
|
package/package.json
CHANGED
package/.mcp.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"insforge": {
|
|
4
|
-
"command": "npx",
|
|
5
|
-
"args": [
|
|
6
|
-
"-y",
|
|
7
|
-
"@insforge/mcp@latest"
|
|
8
|
-
],
|
|
9
|
-
"env": {
|
|
10
|
-
"API_KEY": "ik_fff113df777823a0518b8067e4f4f49bb11661904af26b9fda2ac80892b0558c",
|
|
11
|
-
"API_BASE_URL": "http://localhost:7130"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|