Fix condition for auto browser opening

This commit is contained in:
KAWAKAMI Moeki
2025-04-13 21:58:55 +09:00
parent 52564dd7c5
commit 5bcc1fd77b

View File

@@ -100,7 +100,7 @@ async function main() {
if (serverOk) {
try {
if (!process.env.MCP_AUTO_OPEN_DISABLED) {
if (process.env.MCP_AUTO_OPEN_DISABLED !== "true") {
open(`http://127.0.0.1:${CLIENT_PORT}`);
}
await spawnPromise("node", [inspectorClientPath], {