Skip to content

Commit 3b4bb8a

Browse files
authored
Feat: Add config file to make repo a Gemini CLI extension (#1090)
1 parent 9d59aa1 commit 3b4bb8a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ Then enable the Google Apps Script API: https://script.google.com/home/usersetti
6666

6767
![Enable Apps Script API](https://user-images.githubusercontent.com/744973/54870967-a9135780-4d6a-11e9-991c-9f57a508bdf0.gif)
6868

69+
### Installing as a Gemini CLI Extension
70+
71+
You can install clasp as an Gemini CLI extensions using the following command:
72+
73+
`gemini extensions install https://github.com/google/clasp`
74+
75+
This makes clasp available as an MCP server in Gemini CLI.
76+
77+
Make sure to enable the Google Apps Script API (as explained above) and perform a `clasp login` (with your specific login parameters) before you use the extension.
78+
6979
## Commands
7080

7181
The following command provide basic Apps Script project management.

gemini-extension.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "clasp",
3+
"version": "latest",
4+
"mcpServers": {
5+
"clasp": {
6+
"command": "clasp",
7+
"args": ["mcp"],
8+
"env": {},
9+
"cwd": "./",
10+
"timeout": 30000,
11+
"trust": true
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)