Cursor Setup

Connect Nexlayer to Cursor, the AI-first code editor.

One-Click Install

The fastest way to get started. Click the button below to open Cursor with the Nexlayer MCP configuration:

Cursor will open and prompt you to confirm the installation.

Alternative: npx Install

You can also use the universal installer, which works with all supported tools:

bash
npx @nexlayer/mcp-install

This will automatically detect Cursor and configure the Nexlayer MCP server.

Manual Installation

If you prefer to configure manually, add the following to your Cursor MCP settings file:

Config file location:

~/.cursor/mcp.json
json
{
  "mcpServers": {
    "nexlayer-mcp": {
      "transport": "sse",
      "url": "https://mcp.nexlayer.ai/api/mcp"
    }
  }
}

After manual installation:

  • • Restart Cursor to load the new MCP server
  • • You'll be prompted to authenticate on first use
  • • Check Settings → MCP to verify the connection

Verify Installation

After installation, verify that Nexlayer is connected:

  1. 1

    Open Cursor Settings

    Press Cmd+, (Mac) or Ctrl+, (Windows/Linux)

  2. 2

    Navigate to MCP settings

    Go to Settings → Tools & Integrations → MCP

  3. 3

    Check for nexlayer-mcp

    You should see “nexlayer-mcp” listed with a green status indicator

Usage Example

Once connected, use Cursor's AI chat to deploy your applications:

In Cursor's AI chat:

“Deploy this project to Nexlayer”

Cursor will:

  • • Use the Nexlayer MCP tools to analyze your project
  • • Generate the necessary configuration files
  • • Build and deploy your application
  • • Return the live URL when complete

Troubleshooting

One-click install not working?

Make sure Cursor is installed and has been opened at least once. Try the npx installer as an alternative.

MCP server not connecting?

Restart Cursor after installation. Check Settings → MCP to see if the server appears with any error messages.

Authentication issues?

The MCP server will prompt you to authenticate on first use. Make sure you have a Nexlayer account.