# @pleach/mcp changelog (/docs/changelog/mcp)



This page collects the **site-content changelog entries** that
materially touched the [`@pleach/mcp`](/docs/mcp) docs surface or
named a `@pleach/mcp` symbol. It is not the runtime changelog —
the canonical record of `@pleach/mcp` runtime behavior lives in
the upstream package
[`CHANGELOG.md`](https://www.getpleach.com/docs/contributing) and on
[npmjs.org/package/@pleach/mcp](https://www.npmjs.com/package/@pleach/mcp).

See the combined site changelog at
[`/docs/changelog/combined`](/docs/changelog/combined) for the
chronological unified view across every SKU.

## Unreleased [#unreleased]

### Changed [#changed]

* **[`@pleach/mcp`](/docs/mcp) documents the shipped transports,
  security defaults, and multi-tenant routing.** The page drops every
  "throws `NotImplementedError`", "scaffold", and "later phase" statement.
  It now covers stdio, `createSSETransport` (HTTP+SSE, superseded in the
  MCP spec by Streamable HTTP, which `streamableHttp: true` serves from
  the same server), and `createWebSocketTransport` over the optional
  `ws` peer. New sections cover the loopback-default `Host` and
  `Origin` allowlists and the refusal of a non-loopback bind without
  `tenantIdExtractor`, `resolveRuntime`, or `allowUnauthenticated`;
  multi-tenant routing (`multiTenant`, `tenantIdExtractor`,
  `resolveRuntime({ connectionId, tenantId, sessionId })`,
  `registerSession({ tenantId })`, `allowUntenantedSessions`, fail-closed
  `-32001`, `visibleTo`, `register(tool, { tenantScoped })`, name-collision
  errors, `registerResources(provider, { perRequest: true })`); native
  execution (`nativeExecution: true`, fail-closed approval checks, and
  the shallow argument validation it enforces); the limits table
  (`maxConnections`, `maxConnectionsPerTenant`,
  `maxInFlightPerConnection`, `maxExecutingRequests`,
  `maxExecutingRequestsPerTenant`, `requestTimeoutMs`, `idleTimeoutMs`,
  `heartbeatIntervalMs`, `maxPayloadBytes`, `toolCacheTtlMs`) and the
  per-request `AbortSignal`; and masked error messages with a
  correlation ref for remote clients, verbatim over stdio. The
  quickstart passed an executor that always threw, and an explicit
  executor wins, so every `tools/call` failed; it now builds a stock
  runtime with a plugin tool and sets `nativeExecution: true`.
  `refreshArtifactCache` / `refreshSandboxCache` are documented with
  the `(runtime, opts)` form and the older forms.
  [MCP integration](/docs/mcp-integration) and the
  [Packages](/docs/packages) row are updated to match. Upstream source,
  not yet published to npm.

### Fixed [#fixed]

* **[Plugin contract](/docs/plugin-contract) states the shipped
  `@pleach/mcp` transports.** The SKU status row said
  `server.start({ transport: "sse" | "websocket" })` and
  `registerSession()` throw `NotImplementedError`. Both ship: the
  options-bag path starts the matching pluggable transport and
  requires a `port`, and `registerSession()` is a live in-memory
  session registry (`content/docs/plugin-contract.mdx`).

* **[`@pleach/mcp`](/docs/mcp) docs flipped from the earlier "throws
  today" framing to the shipped surface.**
  `registerSession(sessionId, runtime, { tenantId? })` is a **live**
  in-memory session registry (plus `getSession` / `listSessions` /
  `unregisterSession`, last-wins on duplicate `sessionId`) — the
  `NotImplementedError` prose and status-table row are gone
  (`server.ts:364`). `resources/*` and `prompts/*` are dispatched live on
  the `MCPServer` wire via both the SDK `setRequestHandler` path
  (`server.ts:574,595`) and the pluggable `dispatchPluggableMethod`
  ; the two "Not yet exposed" table rows
  moved to Live. The pluggable dispatcher implements `initialize`
  (`case "initialize": handleInitialize`, `server.ts:740`) — the docs no
  longer claim it returns `-32601 Method not found`.
  `McpRuntime.registerCapability` lands resource / prompt kinds in the
  last-wins ledger without throwing (`McpRuntime.ts:207,363`) — the
  "shape stable, body deferred / throws today" section was rewritten. The
  `createSSETransport().start()` **factory** throws a generic `Error`
  ; the typed `NotImplementedError` is the
  *options-bag* `server.start({ transport: "sse" })` path (`server.ts:524`)
  — the factory table row and the `NotImplementedError` instance list were
  corrected accordingly.

* **Schema `codeRepository` + `sameAs` for
  [`@pleach/mcp`](/docs/mcp) corrected** in the site's
  Organization + SoftwareApplication JSON-LD `@graph` (inlined in
  `<head>` on every page). Both fields now point at
  `https://github.com/pleachhq/mcp` (was
  `https://github.com/pleachhq`, a
  leftover from when the SKU schemas were drafted against an
  upstream monorepo). Load-bearing because `sameAs` is the field
  AI search engines use for entity reconciliation across the npm
  ↔ GitHub ↔ docs boundary. See the
  [combined view](/docs/changelog/combined) for the full
  cross-SKU pack.

## 2026-06-08 [#2026-06-08]

### Changed [#changed-1]

* [Packages](/docs/packages) table corrected to real published
  version — `@pleach/mcp 0.3.0-alpha.0` (was largely stale
  "Reserved · placeholder" framing).
