MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / configForResource

Function configForResource

apps/local/src/mcp.ts:149–152  ·  view source on GitHub ↗
(resource: McpResource)

Source from the content-addressed store, hash-verified

147 : Promise.resolve(null);
148
149 const configForResource = async (resource: McpResource): Promise<LocalMcpServerConfig> => {
150 if (!handlerConfig.createConfigForResource) return { config: handlerConfig.defaultConfig };
151 return handlerConfig.createConfigForResource(resource);
152 };
153
154 const dispose = async (id: string, opts: { transport?: boolean; server?: boolean } = {}) => {
155 const t = transports.get(id);

Callers 1

createMcpRequestHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected