@gapi/gcli 1.8.194 → 1.8.196
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 +48 -1
- package/package.json +2 -2
- package/release/index.js +818 -777
package/README.md
CHANGED
|
@@ -1,13 +1,60 @@
|
|
|
1
1
|
### Installation
|
|
2
2
|
|
|
3
3
|
```bash
|
|
4
|
-
curl -L "https://github.com/Stradivario/gapi/
|
|
4
|
+
curl -L "https://github.com/Stradivario/gapi/releases/download/v1.8.195/gcli-linux" -o ~/.local/bin/gcli
|
|
5
5
|
```
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
chmod +x ~/.local/bin/gcli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
Use MCP tool in Claude or any other tool that accepts mcp servers config
|
|
12
|
+
|
|
13
|
+
The MCP server only works in nodejs bigger than 20 it works perfect in 24
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"lambforge": {
|
|
19
|
+
"command": "gcli",
|
|
20
|
+
"args": ["mcp:start", "--url", "http://localhost:8000/mcp"]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Using regular npm package installed globally `npm install @gapi/gcli -g`
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"mcpServers": {
|
|
31
|
+
"lambforge": {
|
|
32
|
+
"command": "npx",
|
|
33
|
+
"args": ["gcli", "mcp:start", "--url", "http://localhost:8000/mcp"]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Using specific version of nodejs
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"mcpServers": {
|
|
44
|
+
"lambforge": {
|
|
45
|
+
"command": "/home/user/.nvm/versions/node/v24.11.1/bin/node",
|
|
46
|
+
"args": [
|
|
47
|
+
"/home/user/.nvm/versions/node/v24.11.1/bin/npx",
|
|
48
|
+
"gcli",
|
|
49
|
+
"mcp:start",
|
|
50
|
+
"--url",
|
|
51
|
+
"http://localhost:8000/mcp"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
11
58
|
#### Using NPM
|
|
12
59
|
|
|
13
60
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gapi/gcli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.196",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/Stradivario/gapi.git"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"copy:nodejs": "cp $(command -v node) ./release/gcli-linux",
|
|
20
20
|
"chmod": "chmod +x ./release/gcli-linux",
|
|
21
21
|
"postject": "npx postject ./release/gcli-linux NODE_SEA_BLOB ./release/gcli.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2",
|
|
22
|
-
"build": "
|
|
22
|
+
"build": "npm run esbuild",
|
|
23
23
|
"esbuild": "node build.js",
|
|
24
24
|
"introspect": "gapi schema introspect --collect-documents --collect-types"
|
|
25
25
|
},
|