Skip to content

Comments

Add "Add to Cursor" buttons#1

Open
jperezrealini wants to merge 1 commit intoHormold:mainfrom
jperezrealini:patch-1
Open

Add "Add to Cursor" buttons#1
jperezrealini wants to merge 1 commit intoHormold:mainfrom
jperezrealini:patch-1

Conversation

@jperezrealini
Copy link

No description provided.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @jperezr21, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request aims to significantly improve the user experience for setting up the MCP server within the Cursor IDE by embedding direct installation and configuration buttons into the README.md. This change simplifies the initial setup steps, making it more accessible for new users.

Highlights

  • Documentation Enhancement: I've added 'Install MCP Server' buttons to the README.md for both the npx and local build installation options. These buttons utilize Cursor's deep-linking functionality to streamline the setup process for users.
  • File Formatting: I've ensured the README.md file now correctly ends with a newline character, addressing a minor formatting inconsistency.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds "Add to Cursor" buttons to the README to simplify the setup process for users. The button for the npx installation method is well-implemented. However, the button for the local build option contains a confusing placeholder path. My review includes a suggestion to make this placeholder more generic and consistent with the manual instructions, which will improve clarity for users.


#### Option 2: Using local build

[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=cognition-wheel&config=eyJjb21tYW5kIjoibm9kZSAvVXNlcnMveW91cm5hbWUvcGF0aC90by9jb2duaXRpb24td2hlZWwvZGlzdC9hcHAuanMiLCJlbnYiOnsiQU5USFJPUElDX0FQSV9LRVkiOiJ5b3VyX2FudGhyb3BpY19rZXkiLCJHT09HTEVfR0VORVJBVElWRV9BSV9BUElfS0VZIjoieW91cl9nb29nbGVfa2V5IiwiT1BFTkFJX0FQSV9LRVkiOiJ5b3VyX29wZW5haV9rZXkifX0%3D)

Choose a reason for hiding this comment

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

medium

The "Add to Cursor" button for the local build option uses a hardcoded, user-specific placeholder path (/Users/yourname/...) in its configuration. This is inconsistent with the more generic placeholder (/path/to/your/clone/of/...) used in the manual instructions below and can be confusing for users.

When a user clicks this button, the command will be pre-filled with an invalid path, which they will have to correct. To avoid this confusion and improve the user experience, it's better to use a placeholder that is clearly not a real path and matches the one in the documentation.

I've updated the configuration to use the same generic placeholder as in the text instructions.

Suggested change
[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=cognition-wheel&config=eyJjb21tYW5kIjoibm9kZSAvVXNlcnMveW91cm5hbWUvcGF0aC90by9jb2duaXRpb24td2hlZWwvZGlzdC9hcHAuanMiLCJlbnYiOnsiQU5USFJPUElDX0FQSV9LRVkiOiJ5b3VyX2FudGhyb3BpY19rZXkiLCJHT09HTEVfR0VORVJBVElWRV9BSV9BUElfS0VZIjoieW91cl9nb29nbGVfa2V5IiwiT1BFTkFJX0FQSV9LRVkiOiJ5b3VyX29wZW5haV9rZXkifX0%3D)
[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=cognition-wheel&config=eyJjb21tYW5kIjoibm9kZSAvcGF0aC90by95b3VyL2Nsb25lL29mL2NvZ25pdGlvbi13aGVlbC9kaXN0L2FwcC5qcyIsImVudiI6eyJBTlRIUk9QSUNfQVBJX0tFWSI6InlvdXJfYW50aHJvcGljX2tleSIsIkdPT0dMRV9HRU5FUkFUSVZFX0FJX0FQSV9LRVkiOiJ5b3VyX2dvb2dsZV9rZXkiLCJPUEVOQUlfQVBJX0tFWSI6InlvdXJfb3BlbmFpX2tleSJ9fQ==)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant