@insforge/install 0.0.30 → 0.0.31

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/dist/index.js CHANGED
@@ -63,7 +63,15 @@ import {
63
63
  if (argv.client === "claude-code") {
64
64
  // Claude Code uses mcpServers at root level
65
65
  if (!config.mcpServers) config.mcpServers = {};
66
- config.mcpServers[name] = {
66
+ const isWindows = process.platform === 'win32';
67
+ config.mcpServers[name] = isWindows ? {
68
+ command: "cmd",
69
+ args: ["/c", "npx", "-y", mcpVersion],
70
+ env: {
71
+ API_KEY: envVars.API_KEY,
72
+ API_BASE_URL: envVars.API_BASE_URL
73
+ }
74
+ } : {
67
75
  command: "npx",
68
76
  args: ["-y", mcpVersion],
69
77
  env: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/install",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "CLI tool for installing Insforge MCP servers across different AI clients",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +0,0 @@
1
- {
2
- "enabledMcpjsonServers": [
3
- "insforge"
4
- ],
5
- "enableAllProjectMcpServers": true
6
- }
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
- }