Commit graph

7 commits

Author SHA1 Message Date
thibaud-leclere
92fc30cb2d fix: tolerate unknown fields in MCP protocol messages and defer credential loading
Claude Code sends extra fields (e.g. "title") in initialize params that
caused the server to reject the request due to DisallowUnknownFields.
Use lenient JSON decoding for protocol messages while keeping strict
validation for tool arguments. Also defer KWallet credential loading
from server startup to tool invocation time, and negotiate protocol
versions per MCP spec instead of rejecting unknown ones.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 15:46:53 +02:00
thibaud-leclere
1472d7a107 fix: support Claude Code MCP protocol version 2026-04-10 15:38:58 +02:00
thibaud-leclere
5dbc073e5c fix: implement MCP JSON-RPC protocol 2026-04-10 15:24:37 +02:00
thibaud-leclere
afec7612aa feat: add cli setup boundary tests 2026-04-10 12:35:08 +02:00
thibaud-leclere
2c1dab1bb2 fix: align mcp mailbox and limit contracts 2026-04-10 12:14:55 +02:00
thibaud-leclere
0f622ab9d9 fix: tighten mcp runner input handling 2026-04-10 12:10:42 +02:00
thibaud-leclere
679abbe328 feat: add mcp server runner and tool handlers 2026-04-10 11:59:41 +02:00