You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude models fail on MCP tools with no required parameters (undefined vs {}) #9020
Claude models send undefined for MCP tool arguments when a tool has no required parameters. OpenCode passes this through unchanged, causing Zod validation to fail on the MCP server side.
Gemini models send {} for the same tools and work fine.
Steps to reproduce
Configure @modelcontextprotocol/server-memory MCP server
Use a Claude model (e.g., claude-sonnet-4-20250514)
Trigger memory_read_graph tool (no required params)
Also confirmed this affects the Playwright MCP server - not specific to server-memory. Any MCP tool with no required parameters will fail when called by Claude.
Activity
github-actions commentedon Jan 17, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
belovedEmperor commentedon Jan 17, 2026
Also confirmed this affects the Playwright MCP server - not specific to server-memory. Any MCP tool with no required parameters will fail when called by Claude.
BingLi37 commentedon Jan 20, 2026
me too