MCPcopy Create free account
hub / github.com/anomalyco/opencode / mcpRegistrationKey

Function mcpRegistrationKey

packages/opencode/src/acp/service.ts:1001–1003  ·  view source on GitHub ↗
(name: string, config: ReturnType<typeof mcpConfig>)

Source from the content-addressed store, hash-verified

999}
1000
1001function mcpRegistrationKey(name: string, config: ReturnType<typeof mcpConfig>) {
1002 return `${name}:${stableStringify(config)}`
1003}
1004
1005function mcpConfig(server: McpServer) {
1006 if ("type" in server) {

Callers 1

registerMcpServersFunction · 0.85

Calls 1

stableStringifyFunction · 0.85

Tested by

no test coverage detected