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
mcp(fix[_utils]): Accept filters as JSON string for MCP client compat
why: Cursor's composer-1/composer-1.5 models and some other MCP clients
cannot serialize nested dict tool arguments — they either stringify the
object or fail with a JSON parse error before dispatching. Claude and
GPT models through Cursor work fine; the bug is model-specific.
refs:
- https://forum.cursor.com/t/145807 (Dec 2025)
- https://forum.cursor.com/t/132571
- https://forum.cursor.com/t/151180 (Feb 2026)
- makenotion/notion-mcp-server#176 (Jan 2026)
- anthropics/claude-code#5504
what:
- Widen _apply_filters() to accept str, parse via json.loads()
- Widen tool signatures to dict | str | None for JSON Schema compat
- Add 5 parametrized test cases for string coercion and error paths
0 commit comments