beforeMCPExecution hook not passing url for remote servers

Feature request for product/service

Cursor IDE

Describe the request

Hooks | Cursor Docs indicates that beforeMCPExecution should receive either a command or a URL as input. For remote MCPs, it should be URL, and for local MCPs I would expect the ‘command’ that started the MCP server.

I believe at some point these were being sent, but at the moment it’s no longer being included. Passing the URL for remote MCPs is super helpful so that the hook can know which of many configured MCPs that may share the same tool names are being called.

Info:
Version: 1.9.0-pre.1.patch.0
VSCode Version: 1.99.3
Commit: a8053d0330d3d68ef2b85da99acf1218bf9fd150
Date: 2025-10-20T16:44:22.328Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Operating System (if it applies)

MacOS