Skip to content

Releases

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 00:25
637f4a2

@particle-academy/prism-mcp-server 0.7.0: server instructions, and the supported protocol versions published.

  • ServerOptions.instructions: the server's guidance for a client's model, sent in the initialize result (handshake revisions) and the server/discover result (2026-07-28). Embedder configuration only, fixed at construction; no request can set it. A non-empty string of at most 16 KiB.
  • SUPPORTED_PROTOCOL_VERSIONS lists every MCP protocol version served, newest first: 2026-07-28 (stateless), then 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05 (handshake). That is all five official MCP schema versions. protocol-versions.json in the repository publishes the same list.

No breaking changes.

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 00:41
763f982

BREAKING: re-exported TrustPolicy and ResultGuard follow prism-mcp 0.4.0; the server keeps its 64 KiB cap

Breaking changes

  • The exact client dependency moves from @particle-academy/prism-mcp 0.3.0 to 0.4.0. Through the re-exports,
    TrustPolicy.allowing([]) now raises server_not_trusted, and a ResultGuard you construct without maxBytes
    now defaults to 262,144 bytes. Pass maxBytes: 65_536 to keep the previous limit on a guard you build yourself.

Changes

  • The server's own default guard keeps its 65,536-byte limit, now set explicitly so it no longer follows the client
    default. A guard you pass to the server stays under your control.
  • The server uses ResultGuard directly and does not call Client.callTool; handler result flags must still be
    booleans, and trust policy is not applied to inbound calls.
  • serverInfo reports 0.6.0 in both the classic and stateless handshakes.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 06:55

Progress keepalives keep long tool calls alive past client idle limits

  • For a streamed tools/call whose request carries params._meta.progressToken, the server now sends a keepalive
    notifications/progress every 30 seconds by default (progressKeepaliveMs) while the handler is still running,
    repeating the handler's latest progress message. Claude Code aborts a call that sends no progress for about 300
    seconds even while comment heartbeats arrive, so calls of any length now stay alive without a keepalive of your own.
    Requests without a progress token keep comment heartbeats, and JSON-only clients are unchanged.
  • The handler's exact progress, total and message are sent in _meta under nativeWork (unit native-work).
    Progress values that do not increase are rejected from that metadata and reported once, without payload.
  • A keepalive is skipped under backpressure without advancing the counter, and keepalives stop when the result is sent
    or the client disconnects.

BREAKING CHANGE: on streamed calls with a progress token, the wire progress field is now an activity counter (0, 1, 2, …) that strictly increases on every notification, as the MCP specification requires. With native progress p > 0 and total t, the wire total is chosen so that progress/total equals p/t. With p = 0 the wire total is Number.MAX_VALUE, giving a displayed ratio below 0.001, and message-only updates omit total. Read the handler's real values from _meta.nativeWork rather than from the wire progress/total.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 03:24

Long-running tool calls stream over HTTP, with heartbeats and cancellation

  • tools/call requests whose Accept header explicitly lists text/event-stream now receive a Server-Sent Events
    response. The stream opens immediately with an : open comment and sends a : heartbeat comment every 10 seconds
    (configurable with heartbeatIntervalMs). It sends notifications/progress for the request's progressToken, and the
    JSON-RPC result or error as the final event. Clients such as Claude Code, which time out silent HTTP calls after 60
    seconds, can now complete calls lasting tens of minutes; this was tested with a 35-minute call.
  • Clients that accept only JSON, or */*, keep the existing single JSON response.
  • Tool handlers receive an optional progress(message, progress?, total?) hook and an AbortSignal. By default the
    signal fires on the specification's explicit notifications/cancelled for that request. A cancellation whose request
    id matches more than one active call is ignored, so it can never abort another caller.
  • New option abortOnDisconnect (default false): when true, a dropped client connection also fires the handler's
    AbortSignal. The MCP specification does not treat a disconnect as cancellation, so this is opt-in. In every case a
    disconnect stops heartbeats and late output is discarded.

No breaking changes.

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 17:21

tools/list never sends a null field

A tool registered without a title was listed as title: null on the modern
protocol path. The MCP spec types title as an optional string, so it may be
absent but not null. Claude Code validates tools/list strictly and dropped the
whole server over one null field. A single tool without a title made every
tool on the server invisible to Claude Code.

Null fields are now left out of every tools/list entry on both protocol paths
(the classic path already did this). Pins are unaffected: a client reads an
absent title as null, so the digest it computes is the registered
definition's. The cross-language digest corpus still passes through the real
tools/list.

No breaking changes.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 16:26

@particle-academy/prism-mcp-server 0.3.0

No breaking changes.

Per-request tool visibility: a tool can be hidden from a caller.

  • register(definition, handler, { visible }) takes an optional predicate,
    ({ headers }) => boolean | Promise, decided per request. It
    sees the request's headers minus authorization and cookie.
  • A hidden tool is absent from tools/list on both the stateless and the
    initialize/handshake protocol, and its tools/call is refused exactly
    as an unregistered tool's (tool_call_failed), so a caller cannot learn
    it exists.
  • Fails closed: a throw, a rejection, or anything but true hides it.
  • No predicate: visible to every caller, exactly as before.
  • New exported types: ToolVisibility, RegisterOptions.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 20:31

@particle-academy/prism-mcp-server 0.2.0

No breaking changes.

Serves the classic MCP handshake beside the stateless protocol, so
clients that always open with initialize (Codex's MCP client) can use
the server. 0.1.0 refused them with protocol_failure, which left Genie's
Codex agents without Genie's tools.

  • initialize negotiates 2025-11-25, 2025-06-18, 2025-03-26 or
    2024-11-05 (an unknown request is answered with 2025-11-25);
    notifications/initialized is accepted with 202; ping, tools/list
    and tools/call work with classic result shapes. No session id is
    issued, so each request stands alone.
  • Bearer and Origin checks, request limits, the gate, mirrored headers
    and the result guard apply to the handshake path exactly as they do to
    the stateless one. A request carrying any stateless _meta key is
    still held to the stateless rules.
  • The stateless path is unchanged apart from the server version it
    reports (0.2.0).