Skip to main content Skip to content

Connecting Claude Code

Connect Claude Code (terminal) to ZopNight's MCP server to query your cloud infrastructure through natural language in your terminal.

1 min read Last updated: 

Connect Claude Code (terminal) to ZopNight’s MCP server to query your cloud infrastructure through natural language in your terminal.

Setup

Open your terminal and run the following command.

Terminal window
claude mcp add zopnight <server-url> -t http -H "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...).

The -t http flag tells Claude Code to use Streamable HTTP transport, not SSE.

Verify Connection

Start a new Claude Code session and ask:

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·