Skip to content

docs: add troubleshooting for Claude Code plugin HTTPS clone failures#1195

Merged
wolfib merged 1 commit intoChromeDevTools:mainfrom
hodorogandrei:docs/claude-code-plugin-https-troubleshooting
Mar 17, 2026
Merged

docs: add troubleshooting for Claude Code plugin HTTPS clone failures#1195
wolfib merged 1 commit intoChromeDevTools:mainfrom
hodorogandrei:docs/claude-code-plugin-https-troubleshooting

Conversation

@hodorogandrei
Copy link
Copy Markdown
Contributor

Summary

When installing chrome-devtools-mcp as a Claude Code plugin (from the official Anthropic marketplace or via /plugin marketplace add), the plugin system clones the repository using HTTPS (https://github.com/ChromeDevTools/chrome-devtools-mcp.git). In environments where outbound HTTPS connectivity to GitHub is restricted — such as servers behind corporate firewalls, restrictive proxy configurations, or hosts with port 443 blocked — this clone operation fails with a timeout:

chrome-devtools-mcp@claude-plugins-official: Failed to download/cache plugin chrome-devtools-mcp:
  Failed to clone repository: Cloning into '...'...
  fatal: unable to access 'https://github.com/ChromeDevTools/chrome-devtools-mcp.git/':
  Failed to connect to github.com port 443 after 136078 ms: Couldn't connect to server

This is a real-world scenario encountered on production Linux servers where SSH to GitHub (port 22) works but HTTPS (port 443) is blocked or unreliable. The Claude Code plugin marketplace (anthropics/claude-plugins-official) specifies the HTTPS URL as the plugin source, and users have no way to override this URL within the plugin system itself.

Changes

docs/troubleshooting.md

Added a new troubleshooting section Claude Code plugin installation fails with Failed to clone repository under Specific problems that documents:

  • The exact error message users encounter, making it searchable
  • Root cause explanation: restricted HTTPS connectivity, firewalls, proxy configs
  • Workaround 1 — SSH redirect: Using git config --global url."git@github.com:".insteadOf "https://github.com/" to transparently redirect all GitHub HTTPS git operations to use SSH
  • Workaround 2 — CLI installation: Using claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest to install the MCP server via npm/npx instead of git clone

README.md

Added a [!TIP] callout in the Claude Code Install as a Plugin section that cross-references the troubleshooting guide.

Motivation

The HTTPS clone URL for this plugin is defined in the Anthropic official plugin marketplace, not in this repository. Since users cannot change the marketplace URL configuration, the most actionable fix from this repository's side is to document the issue and provide clear workarounds.

Test plan

  • npm run check-format passes (eslint + prettier)
  • npm run gen produces no unexpected diff (auto-generated docs unchanged)
  • Documentation-only change — no code, tool, or schema modifications
  • Markdown anchor link in README TIP callout correctly references the troubleshooting section heading
  • Both workaround commands verified in the environment where this issue was encountered

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Mar 16, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@hodorogandrei hodorogandrei force-pushed the docs/claude-code-plugin-https-troubleshooting branch from 8f1dd92 to 7181501 Compare March 16, 2026 11:12
When installing chrome-devtools-mcp as a Claude Code plugin, the
installation process clones the repository via HTTPS from GitHub.
In environments with restricted outbound HTTPS connectivity (corporate
firewalls, proxy configurations, or servers with port 443 blocked),
this clone operation fails with a timeout error:

  fatal: unable to access
    'https://github.com/ChromeDevTools/chrome-devtools-mcp.git/':
    Failed to connect to github.com port 443

This commit adds documentation for two workarounds:

1. Redirecting GitHub HTTPS URLs to SSH via git config, which allows
   users with SSH key authentication to bypass HTTPS restrictions
   entirely using: git config --global url."git@github.com:".insteadOf
   "https://github.com/"

2. Installing chrome-devtools-mcp via the Claude Code CLI as an MCP
   server directly (claude mcp add), which uses npm/npx instead of git
   clone and avoids the HTTPS requirement altogether, though without
   the bundled skills that the plugin marketplace provides.

The troubleshooting section is added to docs/troubleshooting.md under
"Specific problems", and a cross-reference TIP callout is added to the
Claude Code plugin installation section in README.md to guide users
who encounter this error to the workarounds.
@hodorogandrei hodorogandrei force-pushed the docs/claude-code-plugin-https-troubleshooting branch from 5273c2f to d8881d6 Compare March 16, 2026 11:44
@wolfib
Copy link
Copy Markdown
Contributor

wolfib commented Mar 17, 2026

This is great! Thanks a lot!

@wolfib wolfib added this pull request to the merge queue Mar 17, 2026
Merged via the queue into ChromeDevTools:main with commit d082ca4 Mar 17, 2026
17 checks passed
@hodorogandrei
Copy link
Copy Markdown
Contributor Author

This is great! Thanks a lot!

Thank you too! Will probably be back with other contributions if I discover further glitches while using this plugin.

github-merge-queue Bot pushed a commit that referenced this pull request Mar 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.20.2](chrome-devtools-mcp-v0.20.1...chrome-devtools-mcp-v0.20.2)
(2026-03-18)


### 📄 Documentation

* add troubleshooting for Claude Code plugin HTTPS clone failures
([#1195](#1195))
([d082ca4](d082ca4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
OrKoN pushed a commit to mvanhorn/chrome-devtools-mcp that referenced this pull request Apr 1, 2026
…ChromeDevTools#1195)

## Summary

When installing `chrome-devtools-mcp` as a Claude Code plugin (from the
official Anthropic marketplace or via `/plugin marketplace add`), the
plugin system clones the repository using HTTPS
(`https://github.com/ChromeDevTools/chrome-devtools-mcp.git`). In
environments where outbound HTTPS connectivity to GitHub is restricted —
such as servers behind corporate firewalls, restrictive proxy
configurations, or hosts with port 443 blocked — this clone operation
fails with a timeout:

```
chrome-devtools-mcp@claude-plugins-official: Failed to download/cache plugin chrome-devtools-mcp:
  Failed to clone repository: Cloning into '...'...
  fatal: unable to access 'https://github.com/ChromeDevTools/chrome-devtools-mcp.git/':
  Failed to connect to github.com port 443 after 136078 ms: Couldn't connect to server
```

This is a real-world scenario encountered on production Linux servers
where SSH to GitHub (port 22) works but HTTPS (port 443) is blocked or
unreliable. The Claude Code plugin marketplace
(`anthropics/claude-plugins-official`) specifies the HTTPS URL as the
plugin source, and users have no way to override this URL within the
plugin system itself.

## Changes

### `docs/troubleshooting.md`
Added a new troubleshooting section **Claude Code plugin installation
fails with `Failed to clone repository`** under Specific problems that
documents:

- **The exact error message** users encounter, making it searchable
- **Root cause explanation**: restricted HTTPS connectivity, firewalls,
proxy configs
- **Workaround 1 — SSH redirect**: Using `git config --global
url."git@github.com:".insteadOf "https://github.com/"` to transparently
redirect all GitHub HTTPS git operations to use SSH
- **Workaround 2 — CLI installation**: Using `claude mcp add
chrome-devtools --scope user npx chrome-devtools-mcp@latest` to install
the MCP server via npm/npx instead of git clone

### `README.md`
Added a `[!TIP]` callout in the Claude Code **Install as a Plugin**
section that cross-references the troubleshooting guide.

## Motivation

The HTTPS clone URL for this plugin is defined in the Anthropic official
plugin marketplace, not in this repository. Since users cannot change
the marketplace URL configuration, the most actionable fix from this
repository's side is to document the issue and provide clear
workarounds.

## Test plan

- [x] `npm run check-format` passes (eslint + prettier)
- [x] `npm run gen` produces no unexpected diff (auto-generated docs
unchanged)
- [x] Documentation-only change — no code, tool, or schema modifications
- [x] Markdown anchor link in README TIP callout correctly references
the troubleshooting section heading
- [x] Both workaround commands verified in the environment where this
issue was encountered
OrKoN pushed a commit to mvanhorn/chrome-devtools-mcp that referenced this pull request Apr 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.20.2](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v0.20.1...chrome-devtools-mcp-v0.20.2)
(2026-03-18)


### 📄 Documentation

* add troubleshooting for Claude Code plugin HTTPS clone failures
([ChromeDevTools#1195](ChromeDevTools#1195))
([d082ca4](ChromeDevTools@d082ca4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants