LM Studio + Chrome DevTools MCP Installation Guide (Windows)
Created: 2026-02-24

Purpose
- Install and run Google Chrome DevTools MCP with LM Studio.
- Keep privacy flags enabled:
  --no-usage-statistics
  --no-performance-crux

-----------------------------------------------------------------
1) Requirements
-----------------------------------------------------------------
- Windows 10/11
- LM Studio (MCP host support)
- Node.js installed (includes npm and npx)
- Google Chrome installed (stable/beta/dev/canary)

Quick checks in PowerShell:
  node --version
  npm --version
  npx --version

If these commands return versions, prerequisite is OK.

-----------------------------------------------------------------
2) LM Studio MCP config file path
-----------------------------------------------------------------
Use this file:
  C:\Users\theog\.lmstudio\mcp.json

If LM Studio uses another profile, adjust accordingly.

-----------------------------------------------------------------
3) Add chrome-devtools MCP server entry
-----------------------------------------------------------------
Add/update this server block inside "mcpServers":

  "chrome-devtools": {
    "command": "cmd",
    "args": [
      "/c",
      "npx",
      "-y",
      "chrome-devtools-mcp@latest",
      "--no-usage-statistics",
      "--no-performance-crux"
    ]
  }

Example full mcp.json:
{
  "mcpServers": {
    "ddg-search": {
      "command": "F:\\00_AI\\Stable_Diffusion\\ComfyUI_windows_portable\\python_embeded\\Scripts\\uvx.exe",
      "args": ["--python", ">=3.10,<3.14", "duckduckgo-mcp", "serve"]
    },
    "hf-mcp-server": {
      "url": "https://huggingface.co/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    },
    "sindbyte-mcp": {
      "url": "http://127.0.0.1:5555/mcp"
    },
    "chrome-devtools": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "chrome-devtools-mcp@latest",
        "--no-usage-statistics",
        "--no-performance-crux"
      ]
    }
  }
}

Notes:
- Keep valid JSON syntax (commas and braces).
- Use double quotes only.

-----------------------------------------------------------------
4) Restart LM Studio
-----------------------------------------------------------------
- Fully close LM Studio.
- Start LM Studio again.
- MCP servers are loaded on startup.

-----------------------------------------------------------------
5) Verify installation
-----------------------------------------------------------------
Terminal verification:
  npx -y chrome-devtools-mcp@latest --help

Expected: options/help text is shown.

In LM Studio:
- Open MCP server view/tool list.
- Confirm "chrome-devtools" appears and is online.

-----------------------------------------------------------------
6) Chrome behavior and compatibility
-----------------------------------------------------------------
Default behavior:
- MCP server can launch Chrome automatically.

Supported channels:
- stable, beta, dev, canary

Attach to existing Chrome (advanced):
- Use one of:
  --browserUrl http://127.0.0.1:9222
  --autoConnect   (Chrome 144+, remote debugging enabled)

If you need attach mode, append those args in mcp.json.

-----------------------------------------------------------------
7) Troubleshooting
-----------------------------------------------------------------
A) npx not found
- Reinstall Node.js LTS.
- Restart terminal/LM Studio after install.

B) chrome-devtools server not visible in LM Studio
- Validate mcp.json syntax.
- Ensure file path is correct: C:\Users\theog\.lmstudio\mcp.json
- Restart LM Studio completely.

C) Package download blocked by network/proxy
- Configure npm proxy if required.
- Retry:
  npx -y chrome-devtools-mcp@latest --help

D) Chrome not launching
- Ensure Chrome is installed.
- Optionally set explicit channel arg (e.g. --channel stable).

E) Privacy confirmation
- Ensure args include both:
  --no-usage-statistics
  --no-performance-crux

-----------------------------------------------------------------
8) Rollback / backup
-----------------------------------------------------------------
If needed, restore config from backup copies, e.g.:
- C:\Users\theog\.lmstudio\mcp.backup.2026-02-24.json
- C:\Users\theog\.lmstudio\mcp.backup.2026-02-24.privacyflags.json

-----------------------------------------------------------------
9) Current local status (this machine)
-----------------------------------------------------------------
- node: v25.1.0
- npm:  11.10.0
- npx:  11.10.0
- mcp config: C:\Users\theog\.lmstudio\mcp.json

End of guide.


Rechtliche Hinweise
===================

- Die Nutzung erfolgt auf eigene Verantwortung.
- Es wird keine Haftung fuer direkte oder indirekte Schaeden uebernommen.
- Dieses Produkt ist kostenfrei fuer nicht-gewerbliche Nutzung.
- Fuer gewerbliche Nutzung bitte vorab per Mail Kontakt aufnehmen.

Name / Adresse
==============

Impressum:
© Theo Gottwald
Herrenstr.11
76706 Dettenheim
Tel.07247-9851112
http://smart-ai-robot.com
Info@smart-package.com
