Bug Description
Cursor wants to call write_note and sets ["tags", "like", "that"]
but MCP returns error:
"Error: Type mismatch for write_note.tags: expected undefined, got array
at gjt.f (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:954:9556)
at gjt.setup (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:954:11198)
at async _jt.setupTool (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:966:5774)
at async _jt.toolWrappedStream (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:966:6742)
at async Fx (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:598:9257)
at async Hh.handleStreamComposer (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:927:2051)
at async Y8t.streamResponse (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:598:19240)
at async Vsi. (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2977:983)
at async Wsi. (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2936:2413)
at async T2.processCodeBlocks (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:953:2715)"
Invalid type for parameter 'tags' in tool write_note", modelMessage: "Parameter 'tags' must be of type undefined, got array", actualError: 'Type mismatch for write_note.tags: expected undefined, got array
So this is what prepared to send to "write_note"
"{"title":"Title","folder":"folder","content":"CONTENT","tags":["hipporag","search","fallback","symfony","error-handling"]}"
Environment
- Ubuntu 24
- Installation method: [e.g. pip, uv, source]
- Claude Desktop version (if applicable):
Additional Context
- Configuration files (if relevant)
- Logs or screenshots
- Any special configuration or environment variables
Possible Solution
If you have any ideas on what might be causing the issue or how to fix it, please share them here.
Bug Description
Cursor wants to call write_note and sets ["tags", "like", "that"]
but MCP returns error:
"Error: Type mismatch for write_note.tags: expected undefined, got array
at gjt.f (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:954:9556)
at gjt.setup (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:954:11198)
at async _jt.setupTool (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:966:5774)
at async _jt.toolWrappedStream (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:966:6742)
at async Fx (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:598:9257)
at async Hh.handleStreamComposer (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:927:2051)
at async Y8t.streamResponse (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:598:19240)
at async Vsi. (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2977:983)
at async Wsi. (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2936:2413)
at async T2.processCodeBlocks (vscode-file://vscode-app/tmp/.mount_cursorgxM1Jb/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:953:2715)"
Invalid type for parameter 'tags' in tool write_note", modelMessage: "Parameter 'tags' must be of type undefined, got array", actualError: 'Type mismatch for write_note.tags: expected undefined, got array
So this is what prepared to send to "write_note"
"{"title":"Title","folder":"folder","content":"CONTENT","tags":["hipporag","search","fallback","symfony","error-handling"]}"
Environment
Additional Context
Possible Solution
If you have any ideas on what might be causing the issue or how to fix it, please share them here.