MCPcopy Index your code
hub / github.com/deepnote/deepnote / mergeMcpConfigs

Function mergeMcpConfigs

packages/runtime-core/src/agent-handler.ts:249–258  ·  view source on GitHub ↗
(projectServers: McpServerConfig[], blockServers: McpServerConfig[])

Source from the content-addressed store, hash-verified

247}
248
249export function mergeMcpConfigs(projectServers: McpServerConfig[], blockServers: McpServerConfig[]): McpServerConfig[] {
250 const byName = new Map<string, McpServerConfig>()
251 for (const s of projectServers) {
252 byName.set(s.name, s)
253 }
254 for (const s of blockServers) {
255 byName.set(s.name, s)
256 }
257 return Array.from(byName.values())
258}

Callers 2

executeAgentBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected