@insforge/install 0.0.33 → 0.0.34
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 +3 -0
- package/.mcp.json +15 -0
- package/dist/index.js +8 -3
- package/package.json +1 -1
package/.mcp.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -99,10 +99,15 @@ import {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
//
|
|
103
|
-
settings.
|
|
102
|
+
// Add "insforge" to enabledMcpjsonServers if not already present
|
|
103
|
+
if (!settings.enabledMcpjsonServers) {
|
|
104
|
+
settings.enabledMcpjsonServers = [];
|
|
105
|
+
}
|
|
106
|
+
if (!settings.enabledMcpjsonServers.includes("insforge")) {
|
|
107
|
+
settings.enabledMcpjsonServers.push("insforge");
|
|
108
|
+
}
|
|
104
109
|
fs.writeFileSync(settingsPath, JSON.stringify(settings, null, 2));
|
|
105
|
-
logger.info("
|
|
110
|
+
logger.info("Added \"insforge\" to enabledMcpjsonServers in .claude/settings.local.json");
|
|
106
111
|
} else if (argv.client === "codex") {
|
|
107
112
|
// Use Codex CLI for Codex
|
|
108
113
|
const homeDir = os.homedir();
|