Deeplink helper for MCP installation is broken

Describe the Bug

The deep link generatd from Cursor – Developers is broken

Steps to Reproduce

  1. visti this page Cursor – Developers
  2. Paste the example from the bottom of this page into the helper text box
{
  "postgres": {
    "command": "npx",
    "args": [
      "-y",
      "@modelcontextprotocol/server-postgres",
      "postgresql://localhost/mydb"
    ]
  }
}
  1. The link generated does not work - Cursor complains an invalid json

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.6
VSCode Version: 1.99.3
Commit: 68b8fe7396ea37d8acdaaaa08ba316ba359a4160
Date: 2025-07-30T17:59:27.918Z
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

Additional Information

To workaround, paste only the configuration part of the json into https://www.base64encode.org/

{
  "command": "npx",
  "args": [
    "-y",
    "@modelcontextprotocol/server-postgres",
    "postgresql://localhost/mydb"
  ]
}

Encode the text and compose the link

cursor://anysphere.cursor-deeplink/mcp/install?name=postgres&config=ewogICJjb21tYW5kIjogIm5weCIsCiAgImFyZ3MiOiBbCiAgICAiLXkiLAogICAgIkBtb2RlbGNvbnRleHRwcm90b2NvbC9zZXJ2ZXItcG9zdGdyZXMiLAogICAgInBvc3RncmVzcWw6Ly9sb2NhbGhvc3QvbXlkYiIKICBdCn0

Paste the link in the browser and it will work.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. We’ll investigate it.