Documentation

Connecting Cursor

Connect Cursor to ZopNight's MCP server to query your cloud infrastructure directly from your editor.

Connect Cursor to ZopNight's MCP server to query your cloud infrastructure directly from your editor.

Setup

  1. Open Cursor
  2. Go to Settings
  3. Click Tools & MCP in the sidebar
  4. Click New MCP Server
  5. Paste the following JSON config
  6. Press Ctrl+S (or Cmd+S) to save

Configuration

json
{
"mcpServers": {
  "zopnight": {
    "url": "<server-url>",
    "headers": {
      "Authorization": "Bearer <your-token>"
    }
  }
}
}

Note

  • Replace <server-url> with the Server URL copied from your Organisation Settings page or from the Developer Settings page while creating your PAT token.
  • Replace <your-token> with your Personal Access Token (starts with zn_pat...).

Verify Connection

Once configured, ask Cursor's AI assistant:

text
List my organisations

If configured correctly, it will call the list_organisations tool and show your organisations.