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
- Create
~/.cursor/mcp.jsonto make the server available in every project, or.cursor/mcp.jsoninside one project to scope it there - Paste the configuration below and save
- Cursor picks it up automatically. You can review and toggle MCP servers from the Customize page in the sidebar
Configuration
{ "mcpServers": { "zopnight": { "url": "MCP_SERVER_URL", "headers": { "Authorization": "Bearer MCP_PAT" } } }}Note
- Replace
MCP_SERVER_URLwith the Server URL shown on your Organisation Settings page, or on the Developer Settings page where you create your token. Copying it from the app means you always get the right host for your environment. - Replace
MCP_PATwith your own personal access token (it startszn_pat_). Paste it plainly, with no angle brackets around it.
Verify Connection
Once configured, ask Cursor’s AI assistant:
List my organisationsIf configured correctly, it will call the list_organisations tool and show your organisations.