[Docs](https://linkinseconds.com/docs)AI agents and MCP

# Connect Cursor

Add the Link in Seconds MCP server to Cursor so the agent can publish what it builds as a live link.

Cursor reads MCP servers from an `mcp.json` file. Add Link in Seconds and the agent can publish what it builds, such as a prototype page or a generated report, and hand you a shareable link.

- ### Create an API key Open [Dashboard → API keys](https://linkinseconds.com/dashboard/api-keys), create a key named “Cursor” and copy it.

- ### Add the server to mcp.json Use `~/.cursor/mcp.json` to have it in every project, or `.cursor/mcp.json` in one project. Cursor can read the key from an environment variable, which keeps it out of the file: ~/.cursor/mcp.json ``` { "mcpServers": { "linkinseconds": { "url": "https://linkinseconds.com/api/mcp", "headers": { "Authorization": "Bearer ${env:LIS_API_KEY}" } } } } ``` Set `LIS_API_KEY` in your shell profile and restart Cursor, or paste the key in place of `${env:LIS_API_KEY}` if the file never leaves your machine.

- ### Check it in settings Open Cursor Settings, then the MCP section. `linkinseconds` should show as enabled with six tools.

- ### Ask the agent Text ``` Build a landing page for this project as one index.html and publish it with linkinseconds ```

## Good to know

Inline uploads take files up to 3 MB, which covers most HTML pages, Markdown, CSV and images. A static site with many files is published from the website as a ZIP (website hosting is a Pro feature); see [Host a static website](https://linkinseconds.com/docs/static-websites).

Security

Don't commit a `.cursor/mcp.json` that contains a real key. Use the `${env:…}` form for project files.

[PreviousClaude Code](https://linkinseconds.com/docs/mcp/claude-code)[Next VS Code](https://linkinseconds.com/docs/mcp/vs-code)

Last updated 4 October 2026. Something unclear or missing? [Tell us](https://linkinseconds.com/contact).

Source: https://linkinseconds.com/docs/mcp/cursor
