发布

  • fix(mcp): accept whole-number float maxResults from MCP clients (#328)

    frostbyte_neo 发布于 2026-04-03 23:16:12 +00:00

    • fix(mcp): accept whole-number float maxResults from MCP clients

    Some MCP clients serialize integer values as floats (e.g., 30.0 instead of 30).
    This change allows the MCP server to accept both usize and whole-number f64
    values for the maxResults parameter, while rejecting fractional values.

    • fix it properly

    • fix ci

    • fix spellcheck


    Co-authored-by: RoomWithOutRoof taizi@sparklab.io
    Co-authored-by: Dmitriy Kovalenko dmtr.kovalenko@outlook.com

    下载附件