Skip to main content
Cursor uses SmartAlex through MCP, so its agent can build agents and run campaigns while you code. v0, Bolt and Replit generate apps. There you paste the widget script, and visitors can talk to your agent on the page.
In the app: Agent Settings → Widget → Install → Install code for the widget. For Cursor, open Customize → MCPs, find smartalex and follow its sign-in prompt.
The diagram shows which path fits which tool.

How do I connect Cursor to SmartAlex?

Cursor connects to the hosted server by its address. You sign in to SmartAlex in the browser. No API key is created or pasted. For the plugin routes, see Install in Cursor.
1

Add the server

Put this in .cursor/mcp.json in your project, or in ~/.cursor/mcp.json to use it everywhere.
.cursor/mcp.json
2

Connect

Open Customize → MCPs, find smartalex and follow its sign-in prompt.
3

Approve

Sign in to SmartAlex in your browser and press Approve, and Cursor then works in the workspace you last opened, with your role’s permissions.
4

Ask

Try “List my SmartAlex agents” or “Create a voice agent from https://example.com and assign a phone number.”
VS Code and other editors connect the same way. See VS Code and other AI apps. Claude Code has its own page: Use SmartAlex with Claude Code.

How do I add the widget to a v0, Bolt or Replit app?

Paste one script from SmartAlex. Copy your tenant ID from Agent Settings → Widget → Install → Install code, or ask a connected AI app for it.
Turn the widget on with Show widget on my website under Agent Settings → Widget. The widget reads its style, colours and agent from SmartAlex when the page loads, so you restyle it there without touching the generated code. See Widgets.

Questions people ask

Use MCP in an editor such as Cursor so its agent can run SmartAlex for you. Use the widget in the app that v0, Bolt or Replit generates, so visitors can talk to your agent.
No. You add the server address, press Connect, sign in to SmartAlex in the browser and press Approve.
No. It is one external script loaded from SmartAlex, so nothing is added to your dependencies or your bundle.

Use SmartAlex with Claude Code

Connect from the terminal with one command.

Add SmartAlex to Lovable

The widget in a Lovable app.

Install in Cursor

Four routes, including plugin routes.

Installing the widget

Every install place and the fixes for a widget that does not show.
Last modified on November 27, 2026