Commit 8af8c2e
docs(mcp): correct MCPServerPlugin's docblock to the canonical stdio switch (#15067)
* docs(mcp): correct MCPServerPlugin's docblock to the canonical stdio switch
The class docblock still taught the pre-split trigger: step 2 said the
long-lived stdio transport starts "only when `autoStart` is enabled or
`OS_MCP_SERVER_ENABLED` is explicitly `true`", and the Environment
Variables block said explicit `true` "additionally auto-starts the stdio
transport". Neither named `OS_MCP_STDIO_ENABLED` — the canonical switch
`resolveMcpStdioAutoStart()` reads first — about 100 lines above a
runtime warning telling the operator that exact trigger is DEPRECATED.
Comments only; no behaviour change. The deprecation sentence is copied
verbatim from the runtime warning below it so the two cannot drift into
two phrasings of the same rule.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yfqQh2dBgPAymYd7xipza
* docs(mcp): add changeset for the MCPServerPlugin docblock correction
The docblock is a published surface, measured rather than assumed:
`MCPServerPlugin` is exported from the package entry, root tsup config
has `dts` emit on, and packages/mcp's `files` ships `dist` — so the
comment reaches consumers as `dist/index.d.ts` and renders in editor
IntelliSense. That makes it user-visible, so a changeset is owed and
`skip-changeset` does not apply.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yfqQh2dBgPAymYd7xipza
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent be41618 commit 8af8c2e
2 files changed
Lines changed: 47 additions & 3 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
0 commit comments