@insforge/install 0.0.2 → 0.0.3

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 (3) hide show
  1. package/README.md +35 -21
  2. package/dist/utils.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -5,44 +5,58 @@ CLI tool for installing Insforge MCP servers across different AI clients.
5
5
  ## Installation & Usage
6
6
 
7
7
  ```bash
8
- # Interactive mode (will prompt for API key)
9
- npx @insforge/install
10
-
11
- # Quick install with required API key
12
- npx @insforge/install --client claude --api-key YOUR_API_KEY
13
-
14
- # With custom base URL (API key still required)
15
- npx @insforge/install --client cursor --api-key YOUR_API_KEY --base-url http://localhost:7130
16
-
17
- # Uninstall
18
- npx @insforge/install uninstall --client claude
8
+ # Install for specific clients with required API key and base URL
9
+ npx @insforge/install --client claude-code --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
10
+ npx @insforge/install --client cursor --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
11
+ npx @insforge/install --client windsurf --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
12
+ npx @insforge/install --client cline --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
13
+ npx @insforge/install --client roocode --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
14
+
15
+ # With custom base URL (e.g., production server)
16
+ npx @insforge/install --client cursor --env API_KEY=YOUR_API_KEY --env API_BASE_URL=https://api.insforge.com
19
17
  ```
20
18
 
21
19
  ## Required Configuration
22
20
 
23
- - **API Key** (required): Your Insforge API key for authentication
24
- - **Base URL** (optional): Defaults to `http://localhost:7130`
21
+ - **API_KEY** (required): Your Insforge API key for authentication
22
+ - **API_BASE_URL** (optional): Defaults to `http://localhost:7130`
25
23
 
26
24
  ## Supported Clients
27
25
 
28
- - **claude** - Claude Desktop
29
- - **cursor** - Cursor IDE
30
- - **windsurf** - Windsurf IDE
26
+ - **claude-code** - Claude Desktop (uses `~/.claude/claude_mcp_config.json`)
27
+ - **cursor** - Cursor IDE (uses `~/.cursor/mcp.json`)
28
+ - **windsurf** - Windsurf IDE (uses `~/.codeium/windsurf/mcp_config.json`)
31
29
  - **cline** - Cline VS Code Extension
32
30
  - **roocode** - Roo-Code VS Code Extension (Cline fork)
33
31
 
34
32
  ## Options
35
33
 
36
34
  ```
37
- --client <client> Target AI client
38
- --api-key <key> Insforge API key
39
- --base-url <url> Insforge base URL (default: http://localhost:7130)
40
- --force Overwrite existing configuration
35
+ --client <client> Target AI client (required)
36
+ --env KEY=VALUE Environment variables (can be used multiple times)
37
+ API_KEY is required
38
+ API_BASE_URL is optional (default: http://localhost:7130)
41
39
  ```
42
40
 
43
41
  ## Examples
44
42
 
45
- See the [examples](./examples) directory for programmatic usage.
43
+ ### Basic Installation
44
+ ```bash
45
+ # Install Insforge MCP for Claude Code
46
+ npx @insforge/install --client claude-code --env API_KEY=your-api-key-here --env API_BASE_URL=http://localhost:7130
47
+
48
+ # Install for Windsurf with production server
49
+ npx @insforge/install --client windsurf --env API_KEY=your-api-key --env API_BASE_URL=https://api.insforge.com
50
+ ```
51
+
52
+ ### What This Does
53
+
54
+ The installer will:
55
+ 1. Create or update the MCP configuration file for your chosen client
56
+ 2. Add the Insforge MCP server with your API credentials
57
+ 3. Configure it to run via `npx @insforge/insforge-mcp@latest`
58
+
59
+ After installation, restart your AI client to load the Insforge MCP server.
46
60
 
47
61
  ## License
48
62
 
package/dist/utils.js CHANGED
@@ -47,7 +47,7 @@ var clientPaths = {
47
47
  },
48
48
  roocode: {
49
49
  type: "file",
50
- path: path.join(baseDir, vscodePath, "saoudrizwan.claude-dev", "settings", "cline_mcp_settings.json")
50
+ path: path.join(baseDir, vscodePath, "rooveterinaryinc.roocline", "settings", "mcp_settings.json")
51
51
  }
52
52
  };
53
53
  var clientNames = Object.keys(clientPaths);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/install",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "CLI tool for installing Insforge MCP servers across different AI clients",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",