MCP Quickstart Guide
Last updated
Think of MCP servers as special helpers that give Cline extra powers! They let Cline do cool things like fetch web pages or work with your files.
STOP! Before proceeding, you MUST verify these requirements:
✅ Latest Node.js (v18 or newer)
Check by running: node --version
Install from:
✅ Latest Python (v3.8 or newer)
Check by running: python --version
Install from:
✅ UV Package Manager
After installing Python, run: pip install uv
Verify with: uv --version
❗ If any of these commands fail or show older versions, please install/update before continuing!
⚠️ If you run into other errors, see the "Troubleshooting" section below.
From the Cline extension, click the MCP Server
tab
Click the Edit MCP Settings
button
The MCP settings files should be display in a tab in VS Code.
Replace the file's contents with this code:
For Windows:
For Mac and Linux:
After saving the file:
Cline will detect the change automatically
The MCP installer will be downloaded and installed
Cline will start the MCP installer
You'll see the server status in Cline's MCP settings UI:
Now that you have the MCP installer, you can ask Cline to add more servers from:
For example, you can ask Cline to install the mcp-server-fetch
package found on the Python Package Index:
You should witness Cline:
Install the mcp-server-fetch
python package
Update the mcp setting json file
Start the server and start the server
The mcp settings file should now look like this:
For a Windows machine:
You you can always check the status of your server by going to clients MCP server tab. See the image above
That's it! 🎉 You've just given Cline some awesome new abilities!
asdf
and Get "unknown command: npx"There is some slightly bad news. You should still be able to get things to work, but will have to do a bit more manual work unless MCP server packaging evolves a bit. One option is to uninstall asdf
, but we will assume you do not want to do that.
The path_to_asdf_bin_dir
can often be found in your shell config (e.g. .zshrc
). If you are using Homebrew, you can use echo ${HOMEBREW_PREFIX}
to find the start of the directory and then append /opt/asdf/libexec
.
Now for some good news. While not perfect, you can get Cline to do this for you fairly reliably for subsequent server install. Add the following to your "Custom Instructions" in the Cline settings (top-right toolbar button):
When installing MCP servers and editing the cline_mcp_settings.json, if the server requires use of
npx
as the command, you must copy the "env" entry from the "mcp-installer" entry and add it to the new entry. This is vital to getting the server to work properly when in use.
If you're getting an error when you run the MCP installer, you can try the following:
Check the MCP settings file for errors
Read the MCP server's documentation to ensure the MCP setting file is using the correct command and arguments. 👈
Use a terminal and run the command with its arguments directly. This will allow you to see the same errors that Cline is seeing.
NPM Registry:
Python Package Index:
Instead, you will need to follow the instructions above to "Edit MCP Settings". Then, as describes, you need to add and "env" entry to each server's configs.