Add the MCP server to your VS Code user settings (settings.json) or workspace .vscode/mcp.json:
{
"mcp": {
"servers": {
"confluent": {
"command": "npx",
"args": ["-y", "@confluentinc/mcp-confluent", "-e", "/path/to/.env"]
}
}
}
}See the VS Code MCP documentation for more details.