This example uses the same config path and npx command that the built-in setup flow detects.
Run:
npx native-devtools-mcp setupIf ~/.cursor/mcp.json exists, setup can detect it and offer to add the MCP config for you.
File:
~/.cursor/mcp.json
A minimal config looks like:
{
"mcpServers": {
"native-devtools": {
"command": "npx",
"args": ["-y", "native-devtools-mcp"]
}
}
}Once configured, try:
Use native-devtools to focus the Calculator app, take a screenshot, and tell me whether the window is visible.