Connecting Claude Code
Connect Claude Code (terminal) to ZopNight's MCP server to query your cloud infrastructure through natural language in your terminal.
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.
bash
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 withzn_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:
text
List my organisationsIf configured correctly, it will call the list_organisations tool and show your organisations.