Skip to content

Commit 66bbf18

Browse files
committed
Optimize MCP config: bundle cross-spawn and use local path in gemini-extension.json
1 parent 0e0cd28 commit 66bbf18

3 files changed

Lines changed: 510 additions & 7 deletions

File tree

gemini-extension.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"description": "This plugin provides a specialized suite of skills for data engineers and database practitioners working on Google Cloud. It acts as an expert assistant, allowing you to use natural language prompts in your preferred coding agent to architect complex data pipelines, transform data with dbt, write Spark and BigQuery SQL notebooks, and orchestrate end-to-end workflows across GCP's data ecosystem.",
55
"mcpServers": {
66
"notebook_and_visualization": {
7-
"command": "npx",
7+
"command": "node",
88
"args": [
9-
"-y",
10-
"git+https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack.git"
9+
"${extensionPath}/mcp/dist/index.js"
1110
],
11+
"cwd": "${extensionPath}/mcp",
1212
"env": {}
1313
},
1414
"datacloud_bigquery_toolbox": {

mcp/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ esbuild.build({
3838
platform: 'node',
3939
format: 'esm',
4040
outfile: 'dist/index.js',
41-
external: ['child_process', 'fs', 'path', 'url', 'cross-spawn'],
41+
external: ['child_process', 'fs', 'path', 'url'],
4242
banner: {
4343
js: `#!/usr/bin/env node\n${licenseHeader}\n`,
4444
},

0 commit comments

Comments
 (0)