MCPcopy Create free account
hub / github.com/freecodexyz/free-code / buildPluginId

Function buildPluginId

src/utils/plugins/pluginIdentifier.ts:65–67  ·  view source on GitHub ↗
(name: string, marketplace?: string)

Source from the content-addressed store, hash-verified

63 * @returns Plugin ID in format "name" or "name@marketplace"
64 */
65export function buildPluginId(name: string, marketplace?: string): string {
66 return marketplace ? `${name}@${marketplace}` : name
67}
68
69/**
70 * Check if a marketplace name is an official (Anthropic-controlled) marketplace.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected