MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / buildCliCommand

Function buildCliCommand

packages/shared/src/mcp/install.ts:106–113  ·  view source on GitHub ↗
(prefix: 'claude' | 'codex')

Source from the content-addressed store, hash-verified

104
105 if (bufferLike) {
106 return bufferLike.from(input, 'utf8').toString('base64')
107 }
108
109 throw new Error('Base64 encoding not supported in this environment.')
110}
111
112function buildVscodeDeepLink(): string {
113 return `vscode:mcp/install?${encodeURIComponent(
114 JSON.stringify({
115 name: SERVER_NAME,
116 ...stdioConfig

Callers 1

install.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected