From 658bfa69bd1424e21207a6e9a3c753e60e9c59c3 Mon Sep 17 00:00:00 2001 From: Arjun Gopisetty Date: Mon, 27 Oct 2025 15:45:28 -0700 Subject: [PATCH] Use input variables for sensitive values Use VSCode input variables to prevent hardcoding sensitive values --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4311c37..c85924c 100644 --- a/README.md +++ b/README.md @@ -105,13 +105,27 @@ Add this to your VS Code MCP config file. See [VS Code MCP docs](https://code.vi "command": "docker", "args": [ "run", "-i", "--rm", - "-e", "ENV0_API_KEY=your-api-key-here", - "-e", "ENV0_API_SECRET=your-api-secret-here", + "-e", "ENV0_API_KEY=${input:ENV0_API_KEY}", + "-e", "ENV0_API_SECRET=${input:ENV0_API_SECRET}", "-e", "ENV0_ORGANIZATION_ID=your-org-id-here", "env0/mcp-server" ] } - } + }, + "inputs": [ + { + "type": "promptString", + "id": "ENV0_API_KEY", + "description": "Env0 API Key", + "password": true + }, + { + "type": "promptString", + "id": "ENV0_API_SECRET", + "description": "Env0 API Secret", + "password": true + } + ] } } ```