Troubleshooting Guide
Common issues with the hosted Hyperstack API MCP Server and with instances you run yourself, plus diagnostic procedures.
This guide outlines common issues with the Hyperstack API MCP Server, whether you connect to the hosted server or run your own instance. Each section provides structured diagnostic procedures and verified resolutions.
Start with Hosted MCP Server Issues if you connect to https://console.hyperstack.cloud/ai/mcp. The sections from Server Issues onward apply to an instance you run yourself, apart from Claude Desktop Issues and API Errors, which apply to both.
This MCP server can create, modify, and delete real Hyperstack resources, which may incur charges on your account. Always review actions before confirming them. NexGen Cloud is not liable for any unintended resource usage, costs, or data loss resulting from the use of this tool. Use it at your own risk.
Hosted MCP Server Issues
Use the guidance below when your client connects to the Hyperstack-hosted MCP Server at https://console.hyperstack.cloud/ai/mcp. These issues involve the sign-in flow rather than a server you run.
Your Client Cannot Add the Server
The hosted server accepts connections from clients whose redirect address it recognizes, which covers clients running on your own machine, Claude on the web, and Open WebUI's hosted service.
If your client is rejected when it registers, it is reachable at an address the server does not recognize. This applies to an Open WebUI instance you host on your own public domain. Connect that instance to a self-hosted MCP Server instead, as described in the Local Installation Guide.
Sign-In Does Not Complete
If the browser opens the Hyperstack sign-in page but your client never reports a connection, the sign-in was not returned to the client.
-
Complete the Sign-In in the Same Browser Session
Finish the sign-in in the browser window your client opened, rather than copying the address into another browser or profile.
-
Retry the Connection
Remove the server from your client and add it again. Each attempt starts a new sign-in, and an abandoned attempt expires on its own.
Tool Calls Fail After Working Earlier
Your session credentials expire, and your client renews them automatically. A tool call that fails after a period of inactivity usually means the renewal did not complete.
-
Error:
Refresh temporarily unavailable, please retryAnother renewal for the same session is already running. Run the request again.
-
A failure that persists across retries means the session can no longer be renewed. Remove the server from your client, add it again, and sign in.
Server Issues
Use the guidance below to resolve problems that prevent a self-hosted MCP Server from starting or authenticating correctly.
Server Won't Start
Startup failures are most commonly caused by port conflicts or local environment configuration issues.
Error: Port 8080 is already in use
Another process is already bound to port 8080, which prevents the MCP Server from starting on its default port.
-
Identify the Process Using Port 8080
Determine which process is currently bound to port
8080.terminalFind Process Using Port 8080lsof -i :8080 # macOS/Linux
netstat -ano | findstr :8080 # WindowsThese commands return the process ID (PID) using port
8080, allowing you to stop or reconfigure the conflicting service. -
Run the MCP Server on a Different Port
If you prefer not to stop the existing process, publish the container on another port.
terminalRun MCP Server on Port 8081docker run --rm \
--name hyperstack-mcp \
-p 8081:8080 \
-e HYPERSTACK_API_KEY=your_api_key_here \
ghcr.io/nexgencloud/hyperstack-mcp-server:latestThe server always listens on port
8080inside the container. The first number maps it to a different port on your machine, so the server is reachable athttp://localhost:8081. Update your client's MCP URL to match.
Authentication Failed
Authentication errors occur when the configured API key cannot be validated.
Error: a tool call returns an error with "status_code": 401 and Invalid API Key in its details
This means the HYPERSTACK_API_KEY the server was started with is malformed or no longer valid. A server started with no key at all does not run: it stops at startup with AUTH_MODE=api_key requires HYPERSTACK_API_KEY.
-
Check the Existing API Key
Confirm that the API key is correctly configured in your
.envfile.terminalCheck API Keycat .env | grep HYPERSTACK_API_KEYThis command prints the configured API key entry so you can verify that it exists and is correctly formatted.
-
Generate a New API Key
If the key is missing or invalid, generate a new one from Hyperstack Console – API Keys.
-
Update the Environment File
Replace the existing value in your
.envfile.terminalUpdate API KeyHYPERSTACK_API_KEY=your_new_key_hereEnsure the
HYPERSTACK_API_KEYvariable contains a valid Hyperstack API key. -
Restart the MCP Server
Restart the server so the updated environment variable is loaded.
Claude Desktop Issues
The following checks help resolve connection problems between Claude Desktop and the MCP Server.
MCP Server Not Connected
Claude Desktop shows no MCP tools, or reports that the server is unavailable.
Each requirement below has a step in the Claude Desktop Setup Guide. Check them in order, and return to that guide for the full procedure.
-
Confirm the Connector Is Connected (hosted server)
Open Settings → Connectors and find the connector you added. Check that its Remote MCP server URL is
https://console.hyperstack.cloud/ai/mcp. If the connector does not show as connected, click Connect and complete the sign-in in the browser window that opens.The hosted server needs neither Node.js nor the
mcp-remoteproxy, so the steps below apply only to an instance you run yourself. -
Confirm the Server Is Reachable (self-hosted)
Check your instance's health endpoint.
terminalHealth Checkcurl http://localhost:8080/healthA response confirms the server is running. If nothing responds, start it as described in the Local Installation Guide.
-
Confirm Node.js and mcp-remote Are Installed (self-hosted)
Claude Desktop reaches your own instance through the
mcp-remoteproxy, which needs Node.js v18.0.0 or later.terminalCheck Prerequisitesnode --version
npm list -g mcp-remoteIf either is missing, install them as described in Prepare the Local Environment.
-
Confirm the Configuration Values (self-hosted)
In
claude_desktop_config.json, check that the Node.js path and theproxy.jspath are absolute and match your system, and that the MCP endpoint is the URL of the server you intend to reach. The file's location on each operating system, and a worked example for each, are in Configure Claude Desktop. -
Restart Claude Desktop
Fully quit Claude Desktop and reopen it to load the updated configuration.
Invalid JSON Configuration
JSON parsing errors indicate a syntax issue in the Claude Desktop configuration file. This file is used only when Claude Desktop reaches an instance you run yourself, because the hosted server is added as a custom connector instead.
Error: Failed to parse configuration
-
Review Configuration Structure
Ensure your configuration matches the following structure:
jsonValid Configuration Example{
"mcpServers": {
"hyperstack-mcp": {
"command": "/path/to/node",
"args": [
"/path/to/mcp-remote/dist/proxy.js",
"http://127.0.0.1:8080/mcp"
]
}
}
}This shows the minimum valid structure required for Claude Desktop to load the MCP configuration.
-
Validate JSON Using CLI
Validate your configuration file using one of the following commands:
terminalValidate JSON (macOS/Linux)python3 -m json.tool ~/Library/Application\ Support/Claude/claude_desktop_config.jsonterminalValidate JSON (Windows)python -m json.tool %APPDATA%\Claude\claude_desktop_config.jsonThese commands validate JSON syntax and report formatting errors if the file contains invalid structure.
API Errors
The following errors are returned directly by the Hyperstack API.
Rate Limit Exceeded
A 429 response indicates that too many requests were sent in a short period of time.
Error: Rate limit exceeded (429)
-
Wait Before Retrying
Wait approximately 60 seconds before retrying your request so the rate limit window can reset.
Request Timeout
Timeout errors occur when a request takes longer than the allowed processing time.
Error: Request timeout
-
Reduce Request Size
Break large requests into smaller operations to reduce processing time.
-
Retry the Request
Wait briefly before attempting the request again.
Docker Issues
Use the steps below if Docker-related errors prevent a self-hosted MCP Server from running.
Docker Not Running
This error occurs when the Docker daemon is not active.
Error: Cannot connect to Docker daemon
-
Start Docker Desktop
Ensure Docker Desktop is installed and running.
-
Confirm Docker Initialization
Wait until Docker reports that it is fully initialized before retrying.
Diagnostics for a Self-Hosted Instance
Run the following commands to verify the environment around an instance you run yourself.
Execute Diagnostic Commands
Follow the steps below to validate server health, Node.js installation, proxy installation, and API key configuration.
-
Check Server Health
terminalCheck Server Healthcurl http://localhost:8080/health || echo "Server not running" -
Check Node.js Installation
terminalCheck Node Versionnode --version || echo "Node.js not installed" -
Check mcp-remote Installation
terminalCheck mcp-remotenpm list -g mcp-remote || echo "mcp-remote not installed" -
Check API Key Configuration
terminalCheck API Key[ -n "$HYPERSTACK_API_KEY" ] && echo "API key set" || echo "API key not set"
Common Fixes for a Self-Hosted Instance
If issues persist, use the remediation steps below to reset an instance you run yourself.
Complete Reset
Perform a clean restart of all services.
-
Stop and Remove the Container
terminalStop and Removedocker stop hyperstack-mcp
docker rm hyperstack-mcpThis stops the MCP Server and removes the container, so the next run starts from a clean state.
-
Pull the Latest Image and Start Again
terminalPull and Rundocker pull ghcr.io/nexgencloud/hyperstack-mcp-server:latest
docker run -d \
--name hyperstack-mcp \
-p 8080:8080 \
-e HYPERSTACK_API_KEY=your_api_key_here \
ghcr.io/nexgencloud/hyperstack-mcp-server:latestThis fetches the current image and starts a fresh container.
-
Restart Claude Desktop
Fully quit and reopen Claude Desktop.
Test Your API Key
Use a direct API request to confirm your API key is valid.
Send Test Request
curl -H "api-key: YOUR_API_KEY" \
https://infrahub-api.nexgencloud.com/v1/core/environments
A successful response returns a list of environments.
Related Documentation
- Hyperstack API MCP Server - Connection Guide: Connect an AI client to the hosted MCP Server and run your first request.
- Claude Desktop Setup Guide: Add the hosted server as a custom connector, or reach your own instance through the
mcp-remoteproxy. - MCP Tools and Operations Reference: Every supported tool, grouped by domain, with example prompts.
- Local Installation Guide: When to run your own instance, how to run it with Docker, and how to connect a client to it.
- Configuration Reference: Environment variables for an instance you run yourself.