1 Start the demo
In the MCPX project folder, run:
npm ci
npm run build
npm run devKeep this terminal open. The demo site runs at localhost:4173.
TRY THE DEMO
For now, MCPX runs on your own computer. You need Node.js 22 or newer and the MCPX project files. Test it in your terminal first, then connect an assistant that supports local MCP tools.
Runs locally · No accountIn the MCPX project folder, run:
npm ci
npm run build
npm run devKeep this terminal open. The demo site runs at localhost:4173.
Open a second terminal in the same folder. This turns on sponsored content for the test and asks for the sample:
MCPX_SPONSORED_OPT_IN=true npm run demomacOS and Linux. PowerShell: $env:MCPX_SPONSORED_OPT_IN="true"; npm run demo
Run npm run config --silent to print your MCP settings. Add the mcpx entry to your assistant’s MCP server settings and reconnect. These settings turn sponsored content on.
{
"mcpServers": {
"mcpx": {
"command": "/absolute/path/to/node",
"args": ["/absolute/path/to/mcpx/build/server/index.js"],
"env": { "MCPX_SPONSORED_OPT_IN": "true" }
}
}
}The format depends on your assistant, which must support local (stdio) MCP servers. Keep your other server entries.
Then ask: Use MCPX to show me a demo productivity sponsor.
To turn it off, remove the entry or set the value to false, then restart the MCP connection.