Part of #238 (AI-stack umbrella). F-ai slice FAI-7.
Summary
MCP pooling primitive + ui:// resource extraction, built in @netscript/ai core.
Justification
createMcpTransport builds a single transport with no pooling (factory.ts:16-21); eis-chat pools multi-server keyed by id with keep-alive + ui:// extraction (analysis/F-ai/02 §2). This is new work over the now-closed #240 MCP-engine cluster — the existing StdioMcpTransport/StreamableHttpMcpTransport already carry reconnect backoff + lifecycle state, so this is a pool over them, not a rewrite.
Acceptance
- A multi-server pool keyed by id over the existing transports; keep-alive across turns; tool-name prefixing;
ui://-resource extraction surfaced to the render-ui seam.
- Built in
@netscript/ai core (no plugins/ai consumer re-hand-rolls it).
gate:jsr: @netscript/ai/mcp surface deno doc --lint clean on the full export map; deno publish --dry-run green.
Dependencies
- Dep: none. Blocks: FAI-8, FAI-14.
Milestone
0.0.1-beta.6 (beta.6 flagship — MCP pooling + widgets).
Part of #238 (AI-stack umbrella). F-ai slice FAI-7.
Summary
MCP pooling primitive +
ui://resource extraction, built in@netscript/aicore.Justification
createMcpTransportbuilds a single transport with no pooling (factory.ts:16-21); eis-chat pools multi-server keyed by id with keep-alive +ui://extraction (analysis/F-ai/02 §2). This is new work over the now-closed #240 MCP-engine cluster — the existingStdioMcpTransport/StreamableHttpMcpTransportalready carry reconnect backoff + lifecycle state, so this is a pool over them, not a rewrite.Acceptance
ui://-resource extraction surfaced to the render-ui seam.@netscript/aicore (noplugins/aiconsumer re-hand-rolls it).gate:jsr:@netscript/ai/mcpsurfacedeno doc --lintclean on the full export map;deno publish --dry-rungreen.Dependencies
Milestone
0.0.1-beta.6(beta.6 flagship — MCP pooling + widgets).