Skip to content

v0.2.0

Choose a tag to compare

@magifd2 magifd2 released this 27 Nov 15:22
· 14 commits to main since this release

Added

  • The MCP server speaks both eras of the protocol (ADR-0001): the
    2026-07-28 revision, whose clients probe with server/discover, as well as
    the earlier initialize handshake (2025-11-25, 2025-06-18, 2024-11-05; it was
    fixed at 2024-11-05). The protocol layer is now the organization's shared
    module nlink-jp/mcp (organization ADR-030); the tools, their arguments and
    their results are unchanged.

Changed

  • An unknown tool is now refused by the protocol (-32602) rather than returned
    as an unknown_tool tool result (with its hint to call get_usage); the code
    leaves the error vocabulary.

  • Protocol details now follow the module:

    • tools/list, tools/call and unknown methods before initialize are
      refused with -32602 (an unknown method was -32601);
    • arguments that is not an object is refused with -32602;
    • a request with "id":null gets -32600 (initialize, ping and
      tools/list used to be answered with a null id), and so does one without
      "jsonrpc":"2.0";
    • a batch gets -32600 (it was a parse error); a parse error is answered
      "parse error" without the decoder's detail;
    • a line over 16 MiB gets -32600 and reading goes on (it ended the server
      with an error);
    • a panic in a tool is answered -32603 and the server goes on (it crashed);
    • up to 256 calls wait behind a running one; more are refused with -32603
      "server busy";
    • notifications/cancelled now cancels the call.

    Requests piped in are still all answered before the server exits at end of
    input.

  • make vuln — and so make package — scans every platform in PLATFORMS,
    with the environment build-all builds each with. It scanned the host's
    build alone, so an advisory in a Linux- or Windows-only package could not
    stop a release.

Fixed

  • An argument spelt in another case ({"IP": ...}, "Ports") was accepted as
    the declared one; it is now refused by name.
  • SIGINT or SIGTERM ended the MCP server by killing the process; a signal now
    ends it through its context, so its cleanup runs.
  • A search whose call was cancelled — by notifications/cancelled, or at
    shutdown — no longer halts every later search for the process: the credits
    it spent are read even after the cancellation.