@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.
- package/README.md +35 -21
- package/dist/utils.js +1 -1
- 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
|
-
#
|
|
9
|
-
npx @insforge/install
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
npx @insforge/install --client
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
- **
|
|
24
|
-
- **
|
|
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>
|
|
38
|
-
--
|
|
39
|
-
|
|
40
|
-
|
|
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
|
-
|
|
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, "
|
|
50
|
+
path: path.join(baseDir, vscodePath, "rooveterinaryinc.roocline", "settings", "mcp_settings.json")
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
var clientNames = Object.keys(clientPaths);
|