Skip to main content Skip to content

Connecting Cursor

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

1 min read Last updated: 

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

Terminal window
{
"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:

Terminal window
List my organisations

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

Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001 · zero-trust· 30% average cloud cost cut· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001 · zero-trust· 30% average cloud cost cut· 4 platforms · 1 console·