Install and Configure DemoWay MCP Server
This content applies to all mainstream Node-based MCPs. If your computer can already use such MCPs normally, you can skip this section.
To use Node-based MCPs on your computer, you need to install two pieces of software: Node and an AI editor (the most popular is Cursor; the following uses Cursor as an example). Below, we introduce how to install and configure these two pieces of software.
Install Cursor
Open cursor.com and follow the instructions to download and install.
Install Node
Node is a JavaScript runtime environment based on the Chrome V8 engine, allowing you to run JavaScript code on your computer.
If you have installed Cursor as described above and restarted it, your computer is already ready to use Node-based MCPs.
How to check if Node is installed on your computer:
Open PowerShell (Windows) or Terminal (Linux/Mac), and enter the following command:
node --version
If the output version number is greater than v18, your computer is ready to use Node-based MCPs.
If no version number is displayed, you need to install Node:
- Open nodejs.org to download the latest installer
- Follow the prompts to install
- After installation, use the above command to check if the installation was successful
Add and Configure DemoWay MCP Server
in Cursor
-
Open the settings page in Cursor
-
In the MCP list, click
Add new global MCP Server
-
On the opened page, you will see
-
Copy and paste the following code into the curly braces at the cursor position above
"demoway": { "command": "cmd", "args": [ "/c", "npx", "-y", "@demoway/mcp-server" ], "env": { "DEMOWAY_API_KEY": "dw_xxxxxxxxxxxx" }}
"demoway": { "command": "npx", "args": ["-y", "@demoway/mcp-server"], "env": { "DEMOWAY_API_KEY": "dw_xxxxxxxxxxxx" }}
- Replace dw_xxxxxxxxxxxx above with your DemoWay API Key
You can get your DemoWay API Key here: https://app.demoway.com/dashboard/settings/feature
Enable Cursor’s auto-run
Mode (Optional)
Purpose: In Agent mode, Cursor will not keep asking you to confirm every action when executing your prompt instructions.
How to enable:
On the same page where you added the MCP Server, click Features
in the left menu, then enable Enable auto-run mode
as shown below: