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
- Open Cursor
- Go to Settings
- Click Tools & MCP in the sidebar
- Click New MCP Server
- Paste the following JSON config
- 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 withzn_pat...).
Verify Connection
Once configured, ask Cursor's AI assistant:
text
List my organisationsIf configured correctly, it will call the list_organisations tool and show your organisations.