Skip to content

Conversation

@failutee
Copy link

Updated the link for adding Dart MCP server to Cursor.

Resolved an issue where clicking the "Add to Cursor" button would only open the SVG image in the browser. The button's hyperlink has been corrected to the proper installation link.


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

Note: The Dart team is trialing Gemini Code Assist. Don't take its comments as final Dart team feedback. Use the suggestions if they're helpful; otherwise, wait for a human reviewer.

Updated the link for adding Dart MCP server to Cursor.
@google-cla
Copy link

google-cla bot commented Oct 20, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

### Cursor

[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=dart&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoiZGFydCBtY3Atc2VydmVyIC0tZXhwZXJpbWVudGFsLW1jcC1zZXJ2ZXIgLS1mb3JjZS1yb290cy1mYWxsYmFjayJ9)
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=dart&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoiZGFydCBtY3Atc2VydmVyIC0tZXhwZXJpbWVudGFsLW1jcC1zZXJ2ZXIgLS1mb3JjZS1yb290cy1mYWxsYmFjayJ9)
Copy link
Contributor

@jakemac53 jakemac53 Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See https://cursor.com/docs/context/mcp/install-links - the current link looks correct to me. This is the old style link I think (we had a different PR to migrate to this new style link).

You may need to update cursor.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link might be correct, but it uses a protocol that GitHub can’t open automatically. Go to the README and click the button, it will open the SVG file in your browser instead of launching Cursor with the MCP installation. It’s not caused by an incorrect version of Cursor.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Afaik cursor itself has to register a handler for the cursor: scheme with the OS. So, if you don't have the correct version of cursor installed which does that, it will fall back on trying to load it in chrome? I cannot validate the link myself though, as I do not have cursor (and am not allowed to install it)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked this with the latest version of Cursor... it’s probably not that case. GitHub doesn’t recognize this protocol and doesn’t treat it as a valid link (you can verify that by removing the SVG icon). From what I can tell, GitHub only supports the HTTP and HTTPS protocols. That’s why, at the moment, when a user clicks the button, the SVG file just opens in the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants