The MCP manager imported validation, probe, status, and authorization values from the mcp-client plugin entry and mounted its servers through a static import of that entry. Plugin entries may export only what the Loader loads, and the static references break source reloads: when mcp-client also has its own Loader entry, a reload replaces only mcp-client, and HMR replaces the instances the manager mounted without the manager knowing, so it keeps the old code, reports stale status, and cannot stop the replacement instance. An mcp-client entry loaded with `host: true` now provides `ctx.mcpClientHost`. The host validates a server configuration through its transport's own schema, so refusals still name the field; mounts instances below its own Fiber; probes; and creates OAuth authorization owners from its own context. The manager injects the host, imports only mcp-client types, and passes `reconnect` and `oauth` to the host unresolved. Replacing the host disposes its instances and restarts the manager against the replacement. The Web composition mounts the host row before the manager. The entry stops exporting probeServer, connectionStatusOf, assertTemplateSyntax, resolveReconnectPolicy, ReconnectSchema, SERVER_NAME_PATTERN, McpOAuthAuthorization, and OAuthSchema, and the plugin entry export list keeps only createMcpToolDefinition for it.
description, kind
| description | kind |
|---|---|
| Runtime API inspection, process-local runners, and historical Cordis cards. | package-group |
packages/extensions
English | 中文
Summary
The extensions group provides read-only runtime API discovery for agents, process-local runners for programmatic and browser consumers, and historical generated-plugin cards. Standard and Creator modes install persistent plugins through Plugin Manager. Choose a child package for inspection, Host execution, Client execution, or browser controls.
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
tool-cordis |
Two read-only tools for runtime API discovery | registers on ctx.tools |
cordis-host-runner |
Host half: definition registry, sandboxed host-half lifecycle, and the inspect registry that answers browser queries | provides ctx.dynamicCordisRunner and ctx.cordisInspect |
cordis-client-runner |
Browser half: evaluates a browser-half source into a live plugin and answers run requests | client face; provides browser ctx.dynamicCordisRunner |
ui-cordis |
Browser panel and historical lifecycle tool cards | client face; registers slots |
Related documentation
- Extensions subsystem — the generated
ctx.cordisInspectandctx.dynamicCordisRunnerservice API. - Generated tool catalog — the two read-only tool schemas.
- Generated configuration catalog — the runner's accepted config fields.
- Self-referential Cordis toolset reference — design home for sandbox semantics, lifecycle, and composition.
- Client shells and dynamic packages Agent Note — package placement and build faces for the client halves.
Dev Note
Working context for maintainers — click to expand
The two browser-half packages live in this group rather than under packages/client/ because they are halves of this subsystem's dual-half packages; the client face compiles them through the client program, while the host program references only the host runner.