lmcp: 1.1.0 -> 1.1.1 (bug fix: empty inputSchema.properties) #24
Reference in New Issue
Block a user
Delete Branch "claude-noether/marfrit-packages:noether/lmcp-1.1.1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracks upstream lmcp v1.1.1 (commit
9707f7a). Single-bug-fix release.What's fixed
lmcp:tool()now normalises emptyinputSchema.propertiesby dropping the key entirely. The samejson.luaempty-table-as-array gotcha that bitpingin v1.0.0-rc1 was re-surfacing on tool inputSchemas declared withproperties = {}— spec-strict MCP clients (Zod-based, like Claude Code's) rejected the entiretools/listresponse with:JSON Schema permits omitting
propertiesontype:object(means "any object — no constraints"), so dropping the key is both correct and what fixes the wire shape.Discovery
Live on hertz-tools deployment. Two custom no-arg tools (
lxc_list,network_status) registered withproperties = {}caused Claude Code to mark the endpoint as disconnected. Hertz was hand-patched in-place before this PR went up; once this lands,pacman -Syu lmcpcleans up that drift.Surface
Arch:
pkgver=1.1.1, no schema changeDebian:
PKGVER=1.1.1,UPSTREAM_TAG=v1.1.1Tarball sha256:
80c2e815aa61a2d3baab051c51cd247bdefa9dd03d72c4867b99c49b6eae9cb9Test plan
pacman -Syu lmcpon hertz upgrades cleanly; service restartstools/listagainst hertz-tools now passes Zod validation in Claude Code (/mcpreload should show all 17 tools, no errors)