[BUG] Add Marketplace in Desktop app forces https protocol for github ssh urls

Resolved 💬 3 comments Opened Apr 13, 2026 by mattalbright Closed May 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

In Claude Desktop “Add Marketplace” window, specifying an SSH repo: "git@github.com:org/repo.git" results in Claude rewriting that to https and trying (and failing) to connect that way, and then prompting me for a "ghp_" token.

What Should Happen?

Claude should use SSH to connect, and succeed, as I have my ssh agent and keys all working correctly. I know ssh works, because this hacky workaround in .gitconfig makes it work:

[url "git@github.com:"]
	insteadOf = https://github.com/

So, I tell Claude "use SSH", it ignores me and uses https, so I tell SSH to rewrite any https urls to SSH.

When the above hack works, it writes the https url to knownMarketplaces.json, so the hack needs to stay forever. If I change the url to the proper git@github.com:org/repo.git in knownMarketplaces.json, an ssh connection works without the hack. So Claude Desktop knows how to do it, just the input dialog is broken, it seems.

Error Messages/Logs

2026-04-13 16:17:14 [info] [CCDMarketplacePluginManagerCLI] Adding marketplace: https://github.com/org/repo
2026-04-13 16:17:15 [info] [HostCLIRunner] Command completed with exit code 1

Steps to Reproduce

  1. Paste "git@github.com:org/repo.git" into the Add Marketplace dialog in Claude Code Desktop
  2. Notice the Adding marketplace: https://github.com/org/repo line in the main.log
  3. Notice you get prompted for a ghp_ token (assuming the above repo is private)

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

not exactly sure, but within a week before 1.569.0

Claude Code Version

1.569.0

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗