Skip to content

feat: prompt for and configure GCP and BigQuery variables during installation#54

Merged
drosales57 merged 10 commits into
mainfrom
feat/var-prompting
May 7, 2026
Merged

feat: prompt for and configure GCP and BigQuery variables during installation#54
drosales57 merged 10 commits into
mainfrom
feat/var-prompting

Conversation

@drosales57
Copy link
Copy Markdown
Collaborator

This PR updates the installation workflows to prompt users for essential Google Cloud configuration variables during setup. These inputs are then dynamically injected into the plugin's .mcp.json configuration file, ensuring the various Data Cloud toolboxes (BigQuery, Spanner, AlloyDB, etc.) are pre-configured with the correct project, region, and location details upon installation.

Key Changes

  • Interactive Installation Scripts (codex-install.sh & codex-install.ps1):

    • Added prompts to collect GCP Project ID, GCP Region, and BigQuery Location with clear, user-friendly descriptions.
    • Implemented logic to copy the local .mcp.json template to the installation directory and perform inline replacements of configuration placeholders with the user's actual values. (codex doesn't natively support env var expansion inside the json file so we replace values as part of the script)
    • Bash specific: Enhanced the read prompts with </dev/tty to ensure robust input handling even if the script is executed via a piped command or script runner.
  • Configuration Templates (.claude-mcp.json & gemini-extension.json):

    • Updated environment variable definitions across all toolboxes (including BigQuery, Spanner, AlloyDB, Cloud SQL, Dataplex, Dataproc, and Serverless Spark) to use placeholders instead of empty strings.
    • for Claude code, we do this using the user configuration support in plugins
    • for gemini CLI, we use extension settings

@drosales57 drosales57 requested review from a team as code owners May 4, 2026 23:09
@github-actions github-actions Bot requested a review from chriskinzel May 4, 2026 23:09
@drosales57 drosales57 assigned girish and belluru and unassigned chriskinzel May 4, 2026
@drosales57 drosales57 merged commit e12d327 into main May 7, 2026
9 checks passed
@drosales57 drosales57 deleted the feat/var-prompting branch May 7, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants