Commit f9d7acf
The page told the reader to extend the server imperatively —
`kernel.getService('mcp').registerTool/registerResource/registerPrompt` at six
call sites. `MCPServerRuntime` has never had any of those members, and the
receiver is a local variable, so both halves of check:published-readme-exports
are structurally blind to it.
Ruled 2026-08-18: document the shipped surface, do not grow the API to match
the docs. The imperative narrative is replaced by what actually ships — the
bridge methods, handleHttpRequest / renderSkill, and the exported
registerObjectTools / registerActionTools / registerSkillPrompts helpers. Every
row is probed against the built dist/index.d.ts and the host-extension example
compiles clean against it.
⚠️ The ruling also named `registerToolFromDefinition` as the story to document.
It is `private` on the built type (TS2341 for any consumer), so it is NOT
documented — writing it down would recreate this card's own defect in a new
spelling. Its public counterparts (bridgeDataTools, registerObjectTools,
registerActionTools) carry that story instead.
Neighbouring fabrications corrected in the same pass: an entire invented
`objectstack_*` tool family; a missing `aggregate_records`; two wrong
`objectstack://` resource URI shapes plus two omitted ones; an invented
capability block claiming subscribe/listChanged/streaming when the server
derives capabilities and hand-declares only `logging`; the undocumented
OS_MCP_STDIO_ENABLED / OS_MCP_STDIO_API_KEY pair without which stdio refuses to
boot; and a relative link resolving above the repo root.
Docs only — no runtime code changed, and no API was added.
Claude-Session: https://claude.ai/code/session_01XqDQYVU5smx29ts9pAErja
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4f994de commit f9d7acf
2 files changed
Lines changed: 272 additions & 301 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments