Skip to content
VS Code

JDBC MCP Server for VS Code

io.github.igorolv/jdbc-mcp-server

Read-only PostgreSQL, Oracle and SQL Server access for AI agents: SQL, plans, schema, index stats

client:VS Code transport:stdio runtime:oci

Install JDBC MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "jdbc-mcp-resources-enabled",
      "description": "JDBC_MCP_RESOURCES_ENABLED",
      "password": true
    }
  ],
  "servers": {
    "jdbc-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/igorolv/jdbc-mcp-server:0.1.3"
      ],
      "env": {
        "JDBC_MCP_RESOURCES_ENABLED": "${input:jdbc-mcp-resources-enabled}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

JDBC MCP Server in other clients