Answer: To add a GHES marketplace in Claude Code, use the full git URL with `/plugin marketplace add` (HTTPS recommended), or pre-register it with the `extraKnownMarketplaces` setting in managed settings. Status: Confirmed Entry: tool/claude-code/settings/ghes-plugin-marketplaces Revision: 2 Digest: sha256:8c60f93aa6d58bad (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:15Z Last changed: 2026-11-18T12:16:26Z (URL preference: — → Prefer HTTPS URLs.) Last verified: 2026-11-20T12:20:57Z Next check: 2026-11-21T12:20:57Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of add command | /plugin marketplace add https://github.example.com/platform/claude-plugins.git | [1] | 2026-11-20 pre-register setting | extraKnownMarketplaces | [1] | 2026-11-20 source type | git | [1] | 2026-11-20 URL requirement | The `owner/repo` shorthand always resolves to github.com and cannot reference a GHES host. | [1] | 2026-11-20 URL preference | Prefer HTTPS URLs. | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code with GitHub Enterprise Server". https://code.claude.com/docs/en/github-enterprise-server.md Role: primary. Accessed: 2026-11-20T12:20:57Z Quote: "/plugin marketplace add https://github.example.com/platform/claude-plugins.git" (Supports: add command) Quote: "The `extraKnownMarketplaces` setting pre-registers a marketplace so developers get it without manual setup." (Supports: pre-register setting) Quote: ""source": "git"," (Supports: source type) Quote: "The `owner/repo` shorthand always resolves to github.com and cannot reference a GHES host." (Supports: URL requirement) Quote: "**Prefer HTTPS URLs.** SSH clones fail on machines that do not already trust your GHES host key." (Supports: URL preference) Published: 2026-11-20T03:10:58Z Snapshot SHA-256: a95056ddd35fffde4a68dd06d0dfb9f0a3150caa4041133b9d4827bbce22c6ff (captured 2026-11-17T12:26:03Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:26:05Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:20:57Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:20:57Z Last attempt: 2026-11-20T12:20:57Z Notes and limitations: Extracted automatically from a single official source (section "Plugin marketplaces on GHES"). Related: https://latestn.com/tool/claude-code/settings/gitlab-cicd-variables What CI/CD variables and parameters can I configure for Claude Code in GitLab? https://latestn.com/tool/claude-code/settings/hook-locations Where can I configure hooks in Claude Code (which settings files and locations)? https://latestn.com/tool/claude-code/settings/inspect-effective-config How do I inspect the defaults and my effective auto mode config in Claude Code? https://latestn.com/tool/claude-code/settings/enable-remote-control-all-sessions How do I enable Remote Control for all Claude Code sessions by default? https://latestn.com/tool/claude-code/settings/enable-vim-mode How do I enable Vim keybindings in the Claude Code prompt? https://latestn.com/tool/claude-code/settings/env-var-precedence When an environment variable and a settings file both set the same Claude Code behavior, which value takes precedence? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:16:26Z | changed | URL preference: — → Prefer HTTPS URLs. | [1] 2026-11-18T12:16:26Z | changed | recommended protocol: HTTPS → — | [1] 2026-11-18T12:16:26Z | changed | URL requirement: owner/repo → The `owner/repo` shorthand always resolves to github.com and cannot reference a GHES host. | [1] 2026-11-13T03:04:15Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/settings/ghes-plugin-marketplaces/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/settings/ghes-plugin-marketplaces POST: https://latestn.com/dispute/tool/claude-code/settings/ghes-plugin-marketplaces with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/settings/ghes-plugin-marketplaces?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add or pre-register a plugin marketplace hosted on GitHub Enterprise Server in Claude Code? Revision 2, last verified 2026-11-20T12:20:57Z. https://latestn.com/tool/claude-code/settings/ghes-plugin-marketplaces (accessed 2026-11-21T09:58:32Z). @misc{LatestN_tool_claude_code_settings_ghes_plugin_marketplaces_r2, title = {How do I add or pre-register a plugin marketplace hosted on GitHub Enterprise Server in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/settings/ghes-plugin-marketplaces}}, note = {Revision 2; digest sha256:8c60f93aa6d58bad; last verified 2026-11-20T12:20:57Z; accessed 2026-11-21T09:58:32Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/settings/ghes-plugin-marketplaces