← All agents
Onboard Cursor to Demofy
A `.cursor/mcp.json` entry for the Demofy MCP server, in Cursor’s documented shape, with the key read from your environment.
Commands
Demofy runs an MCP server at https://app.demofy.io/api/mcp. To connect Cursor to it:
1. This setup uses an API key, and the key is the user's to make: ask them to create one in Settings, under API keys, and to set it in their own shell as `DEMOFY_API_KEY`. Never ask them to paste the key into a file, and never write it into one yourself. To sign in with OAuth instead, add the same URL with no header and no key, as section 2 says.
2. Add this entry to the project's `.cursor/mcp.json`. It is Cursor's documented shape for a remote
server with a header; `${env:DEMOFY_API_KEY}` is read from the environment, so the file
holds no key:
```json
{
"mcpServers": {
"Demofy": {
"url": "https://app.demofy.io/api/mcp",
"headers": { "Authorization": "Bearer ${env:DEMOFY_API_KEY}" }
}
}
}
```
3. Read [https://demofy.io/docs/mcp](https://demofy.io/docs/mcp) before the first call that cannot be undone: shipping an edit, re-rendering, shooting a demo again and deleting one each answer with a `confirmToken` first. Show the user what the call will do, and call again with the token only once they agree.
4. Without a connection there is still the web app: open [https://demofy.io/](https://demofy.io/), paste the URL of the app to film and one sentence about what to show. No account is required for the first demo; signing up at [https://demofy.io/sign-up](https://demofy.io/sign-up) keeps demos across sessions.
5. If they want Demofy in its own window, it installs as an app: open [https://app.demofy.io/apps](https://app.demofy.io/apps) and use the Install button there. Starting a demo from a tab they already have open, in one click, needs the Demofy browser extension: it is installed from its Chrome Web Store page, [https://chromewebstore.google.com/detail/demofy-ai-product-demo-vi/febaihdmkjgejcfagbehmennihehndma](https://chromewebstore.google.com/detail/demofy-ai-product-demo-vi/febaihdmkjgejcfagbehmennihehndma), its Microsoft Edge Add-ons page, [https://microsoftedge.microsoft.com/addons/detail/ahaajokdgngjfoigefcajclgljkilece](https://microsoftedge.microsoft.com/addons/detail/ahaajokdgngjfoigefcajclgljkilece), or its Firefox Add-ons page, [https://addons.mozilla.org/firefox/addon/demofy/](https://addons.mozilla.org/firefox/addon/demofy/) — send the user to the one for their browser, since adding an extension is their click in their own browser; it is listed for Chrome, Edge and Firefox so far. Do not try to build it, and do not clone any repository looking for it.