copilot datagate for VS Code
io.github.afurlane/copilot-datagate
Policy-driven, read-only MCP server for safe database access from AI tools.
client:VS Code
transport:stdio
runtime:npm
Install copilot datagate in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "datagate-project-root",
"description": "DATAGATE_PROJECT_ROOT",
"password": true
}
],
"servers": {
"copilot-datagate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@copilot-datagate/cli"
],
"env": {
"DATAGATE_PROJECT_ROOT": "${input:datagate-project-root}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs