MultiDB MCP for VS Code
io.github.chenshiyilisha/multidb-mcp
MCP server for Dameng (DM8), SQL Server, and MySQL — read-only by default, granular write perms
client:VS Code
transport:stdio
runtime:npm
Install MultiDB MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "multidb-db-type",
"description": "MULTIDB_DB_TYPE",
"password": true
},
{
"type": "promptString",
"id": "multidb-host",
"description": "MULTIDB_HOST",
"password": true
},
{
"type": "promptString",
"id": "multidb-port",
"description": "MULTIDB_PORT",
"password": true
},
{
"type": "promptString",
"id": "multidb-user",
"description": "MULTIDB_USER",
"password": true
},
{
"type": "promptString",
"id": "multidb-password",
"description": "MULTIDB_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "multidb-schema",
"description": "MULTIDB_SCHEMA",
"password": true
},
{
"type": "promptString",
"id": "multidb-read-only",
"description": "MULTIDB_READ_ONLY",
"password": true
},
{
"type": "promptString",
"id": "multidb-connections",
"description": "MULTIDB_CONNECTIONS",
"password": true
}
],
"servers": {
"multidb-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"multidb-mcp"
],
"env": {
"MULTIDB_DB_TYPE": "${input:multidb-db-type}",
"MULTIDB_HOST": "${input:multidb-host}",
"MULTIDB_PORT": "${input:multidb-port}",
"MULTIDB_USER": "${input:multidb-user}",
"MULTIDB_PASSWORD": "${input:multidb-password}",
"MULTIDB_SCHEMA": "${input:multidb-schema}",
"MULTIDB_READ_ONLY": "${input:multidb-read-only}",
"MULTIDB_CONNECTIONS": "${input:multidb-connections}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs