Tutorial on Getting Started with the MCP Client: Installation and Configuration of Cursor
Release Time : 2025-05-06
Views : 5.1K

This is the second article in the MCP client getting-started tutorial series: "MCP Client Getting-Started Tutorial: Installation and Configuration of Cursor".

MCP (Model Context Protocol) is an open standard protocol launched by Anthropic (the parent company of Claude) in November 2024. It provides developers with a powerful tool to establish a secure two-way connection between data sources and AI-driven tools.

Simply put, if an AI is compared to an intelligent device that can only process text, then MCP is like installing a "universal plug" for it, enabling it to directly read your computer files, query databases, even operate GitHub to submit code, and call various third-party platforms.

Currently, MCP has been widely used in many AI tools such as Claude desktop version, Cline, Continue, Cursor, and Windsurf. In this article, AIbase will focus on introducing the installation process of the Cursor editor and the configuration of the MCP service. Through this tutorial, you will learn how to quickly set up Cursor and connect it to the MCP server to fully utilize the powerful functions of AI-assisted programming.

I. Introduction to Cursor

Advantages of Cursor as an MCP client

Cursor is an AI-enhanced code editor based on VS Code and also a powerful MCP client. As an MCP client, Cursor has the following advantages:

  • Intuitive user interface: It provides a graphical MCP server configuration interface.
  • Tool invocation support: It supports the Tools function in the MCP protocol.
  • Flexible configuration options: It supports both command-line (stdio) and network (sse) transmission methods.
  • Rich ecosystem: It has a large number of open-source MCP server resources.

II. Installation steps of Cursor

1. Download Cursor

First, we need to download the latest version of the software from the official Cursor website. Visit the official Cursor website: https://www.cursor.com/

QQ_1745226315277.png

2. The corresponding version will be automatically provided for download according to your operating system. Generally, it is as follows:

Windows users: Select Windows 10/11 (x64).

Mac users: Select the corresponding version according to the processor (Universal/Arm64/x64).

Linux users: Select the.AppImage corresponding version.

2. Install Cursor

Windows installation steps: Double-click the downloaded installation file (usually in.exe format) and wait for the installation program to automatically complete the installation process (Cursor usually does not require you to select the installation directory).

QQ_1745226745582.png

After the installation is complete, log in to your account: Create/login to your Cursor account using GitHub, Google, or your email. Cursor will automatically start and display the configuration interface.

image.png

3. Initial configuration

Keyboard layout selection: Select the Vim or Emacs layout according to your personal preference. If you are not familiar with them, you can select the default "None". Theme selection: Select the light or dark theme.

Privacy settings: If you do not want to share your data with Cursor, you can select Privacy Mode.

QQ_1745228744685.png

4. Chinese interface setting (optional)

If you want to use the Chinese interface, you can operate as follows:

1) Set the Chinese version using the extension program

Open the Cursor software, press the keyboard combination Ctrl+Shift+X to enter the extension program page. Enter "Chinese" in the search box to search for the Chinese language pack. Find a suitable Chinese language pack in the search results and click to install. After the installation is complete, restart the Cursor software, and you will see that the software interface has been successfully switched to Chinese.

QQ_1745228905710.png

2) Configure the language settings for the Chinese version

Open the Cursor software, press the keyboard combination Ctrl+Shift+P to open the command panel. Enter "configure display language" in the search box of the command panel and press Enter.

On the pop-up language configuration page, select "Chinese (Simplified)" as the display language. Click the "Save" button and restart the Cursor software, and you will see that the software interface has been successfully switched to Chinese.

QQ_1745228999451.png

III. MCP configuration steps

To use the MCP function in Cursor, you need to complete the configuration of the MCP server first. The following are the detailed steps:

1. Prepare the basic environment

Before configuring MCP, ensure that the following components are installed in your system:

  • Node.js: Version ≥ 14 (Verification method: Enter node -v in the command line to view the version number)
  • Git: The latest stable version
  • Python: Some MCP services require Python 3.10 or a higher version (optional)

2. Access the Cursor MCP settings

You can open the Cursor settings in the following two ways:

1) Click the gear icon in the upper right corner, which is the "Settings" option. Find and click "MCP" in the left menu that appears.

QQ_1745302465822.png

2) In the search box, use the shortcut key Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command panel, search for "Cursor Settings", and find and click "MCP" in the left menu.


3. Add an MCP server

On the MCP settings page, click the "+ Add New MCP Server" button, and a configuration window will appear:

QQ_1745302744173.png

After clicking "Add", an edit box will appear. Enter the configuration code for the MCP service.

QQ_1745302825902.png

Official example: Here, the MCP configuration file uses the JSON format with the following structure:

QQ_1745302995919.png

4. Configure the Web search MCP service (example)

The following are the specific steps to configure the Web search MCP service:

Visit the Magic Tower Community MCP Square: https://modelscope.cn/mcp. For example, select the "fetch webpage content crawling" service:

QQ_1745305335410.png

Find and copy the Cursor installation command on the right side:

QQ_1745305225940.png

Copy the command field into the editor and save it. Then, the "fetch webpage content crawling" MCP service in the above example is successfully added.

QQ_1745305407176.png

5. Verify the MCP server status

After the addition is complete, you will see a new "fetch" MCP service in the directory, and the MCP server should be displayed as available. A successfully configured MCP server will show a green indicator or a tick in the list.

QQ_1745305461860.png

In a similar way, AIbase has also added another MCP service "fal ai" that can generate images in this example, which can be used in combination later.

IV. Using MCP functions

When using the configured MCP functions, you need to note the following points:

1. Usage restrictions

Important note: Currently, MCP tools are not applicable to all models and are only available at the Agent in Composer. In the new version of Cursor, Composer has been moved to the lower left corner of the chat box and renamed "Edit".

2. Test MCP functions

Open the chat function of Cursor and use the following steps to test MCP:

1) Click the "Edit" button in the lower left corner of the chat box to switch to Agent mode. Then, enter relevant instructions in the chat box to test whether the MCP tool can be called normally.

QQ_1745310904200.png

2) Enter the Agent mode chat window, enter instructions, and observe whether Cursor calls the corresponding MCP tool and returns results. When the MCP tool is successfully called, a prompt "Called MCP tool" will be displayed.

Next, AIbase will specifically demonstrate the implementation effect. Enter a link "https://www.chinaz.com/ainews/17410.shtml" in the chat window, and the prompt is to "summarize the article content in 200 words and give a title". The tool will automatically call the "fetch" MCP service, and the generated effect is as shown in the following figure:


We then cooperate with the MCP service for image generation and require to match the generated content with pictures. Enter the instruction "Render the final article content in the tailwindcss + html format."


At this time, the tool will automatically call the "fal ai" MCP service, and finally generate the html page content according to the instruction requirements. In this case, we copy this code and run it on an html line to display. You can see that pictures have been added to the content, roughly as follows:

QQ_1745314635746.png

V. Common problems and solutions

1. Failed to connect to the MCP server

If the MCP server is displayed as unavailable, try the following solutions:

Check environmental dependencies: Ensure that necessary components such as Node.js and Git are correctly installed.

Execute commands in the terminal: Copy the MCP commands to the system terminal and execute them to check if there are detailed error messages.

Restart Cursor: Completely close and restart Cursor.

Update Cursor: Ensure that you are using the latest version of Cursor.

2. Command execution timeout

Sometimes, MCP configuration depends on other package environments, and the download takes a certain amount of time. If the connection is not completed within the time limit specified by Cursor, an error will occur. At this time, you need to:

Copy the command to the command-line terminal

After the successful execution in the terminal, return to Cursor and refresh the status.

3. MCP tools do not display

If the configured MCP tools do not display in the call list, it may be because:

You are not in Agent mode currently: Ensure that you switch to the Edit (formerly Composer) mode in the chat interface.

The tool list is not updated: Try to refresh the MCP server list.

The server is not started: Check if the MCP server status is active.

Summary

Through this tutorial, we have introduced in detail the installation steps of the Cursor editor and the configuration method of the MCP service. The emergence of the MCP protocol provides powerful expansion capabilities for AI tools, making Cursor not only a code editor but also a feature-rich AI development environment.

With the continuous development of the MCP ecosystem, more and more services will be connected, further enhancing the functions of Cursor. We hope this tutorial will help you quickly get started with Cursor and MCP and improve development efficiency.

Remember, when using MCP functions, you must operate in the Composer/Edit mode of Cursor so that you can successfully call MCP tools. If you encounter problems, you can try the solutions to common problems provided in this tutorial or refer to the official documentation for more support.

MCP client getting-started tutorial series

A beginner's guide to MCP suitable for beginners. After reading this article, you can learn to use the MCP service from scratch.

MCP client getting-started tutorial: Installation and configuration of Cherry Studio

MCP client getting-started tutorial: Installation and configuration of ChatWise

MCP client getting-started tutorial: Installation and configuration of Cursor

MCP client getting-started tutorial: Installation and configuration of trae

MCP client getting-started tutorial: Installation and configuration of Claude


AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase