beforeMCPExecution command sends wrong info

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In the latest versions of the Cursor app, the command field in the beforeMCPExecution JSON payload no longer contains the expected command. Instead, it now contains the key used in the MCP JSON for that server. This change breaks functionality that relies on the command field.

Steps to Reproduce

run mcp when hooks configured on cursor app latest version on mac

Operating System

MacOS

Version Information

Version: 2.4.21
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @hxgil-r!

Thanks for flagging. This is a known bug we’re going to patch up in the next minor release of 2.4.

1 Like