Describe the Bug
I’m trying to define an MCP Tool in Cursor with args like this:
"run",
"--spec",
".",
"stackhawk-mcp"
However, looking at the View Output:Output:MCP Logs
in Cursor, I see this:
2025-07-16 15:22:47.572 [info] user-stackhawk: Starting new stdio process with command: pipx run --spec /Users/topher/Cursor/osprey/osprey stackhawk-mcp
Where the “.” in the args has been replaced with Cursor’s CWD.
I’ve tried to escape it in a bunch of different ways, but nothing fixes it.
Steps to Reproduce
- Define an MCP Tool with args that have a “.” character
- Watch the
View Output:Output:MCP Logs
in Cursor and notice that the “.” gets replaced with a Folder path
Expected Behavior
That the “.” characters in the MCP Tool args should not be replaced with a Folder path.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue