The Hyperbolic GPU MCP Server enables you to interact with Hyperbolic's GPU cloud directly from your AI assistant. This server allows you to view available GPUs, rent instances, connect via SSH, and run GPU-powered workloads through a simple interface.
Before getting started, you'll need:
Register for a Hyperbolic account:
Deposit funds into your account:
Generate an API token:
Add your SSH public key:
Clone the repository:
git clone <your-repo-url>
cd hyperbolic-mcp
Install dependencies:
npm install
Build the TypeScript files:
npm run build
To start the server:
npm start
{
"mcpServers": {
"hyperbolic-gpu": {
"command": "node",
"args": ["/path/to/hyperbolic-mcp-server/build/index.js"],
"env": {
"HYPERBOLIC_API_TOKEN": "your-hyperbolic-api-token",
"SSH_PRIVATE_KEY_PATH": "/path/to/your/privatekey"
}
}
}
}
Restart Claude for Desktop.
Start a new conversation and interact with the server.
Note: You can provide environment variables either through the Claude Desktop config or by creating a .env
file in the project root.
Lists all available GPUs on the Hyperbolic network.
Example query: "Show me all available GPUs on Hyperbolic."
Rents a GPU instance from a specific cluster.
Parameters:
cluster_name
: Cluster name (e.g., "extrasmall-chamomile-duck")node_name
: Node name (e.g., "prd-acl-msi-02.fen.intra")gpu_count
: Number of GPUs to rentExample query: "I want to rent 4 GPUs from the extrasmall-chamomile-duck cluster."
Terminates a GPU instance you have rented.
Parameters:
instance_id
: ID of the instance to terminateExample query: "Terminate my GPU instance with ID abc123."
Lists all your active GPU instances.
Example query: "Show me all my active GPU instances."
Gets detailed information about a specific cluster.
Parameters:
cluster_name
: Name of the clusterExample query: "Tell me more about the cluster called extrasmall-chamomile-duck."
Establishes an SSH connection to a remote server.
Parameters:
host
: Hostname or IP addressusername
: SSH usernamepassword
: (Optional) SSH passwordprivate_key_path
: (Optional) Path to private key fileport
: (Optional) SSH port (default: 22)Example query: "Connect to my GPU instance at 192.168.1.100 as user admin."
Executes a command on the connected server.
Parameters:
command
: Command to executeExample query: "Run 'nvidia-smi' on the connected server."
Checks the current SSH connection status.
Example query: "What's the status of my SSH connection?"
Closes the active SSH connection.
Example query: "Disconnect from the SSH server."
If you encounter issues:
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.