Connect configured MCP servers in per-server child scopes at layer boot, tracking status and a startup deferred per server. Query methods wait for the relevant server(s) to finish startup before serving. Drop the in-memory connect/disconnect/add overrides; runtime enable/disable will come later through config updates. List methods (tools/instructions/ prompts/resourceCatalog) are aggregate across all servers with per-item provenance; prompt/readResource stay server-scoped for routing. Add a Connection abstraction in client.ts so the SDK Client never leaks into the rest of core. |
||
|---|---|---|
| .. | ||
| script | ||
| src | ||
| test | ||
| bunfig.toml | ||
| drizzle.config.ts | ||
| package.json | ||
| schema.json | ||
| sst-env.d.ts | ||
| tsconfig.json | ||