MCP server for the gpu.nz GPU cloud: let Claude, Cursor and Codex find GPUs, estimate VRAM, rent, monitor and stop GPU servers. Hosted at https://gpu.nz/mcp
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add gpu-nz-gpu-cloud --env GPUNZ_API_KEY='<GPUNZ_API_KEY>' -- docker run -i --rm -e GPUNZ_API_KEY ghcr.io/gpunz/gpunz-mcp:1.0.0~/.codex/config.toml
[mcp_servers.gpu-nz-gpu-cloud]
command = "docker"
args = ["run", "-i", "--rm", "-e", "GPUNZ_API_KEY", "ghcr.io/gpunz/gpunz-mcp:1.0.0"]
env = { GPUNZ_API_KEY = "<GPUNZ_API_KEY>" }
# codex mcp add gpu-nz-gpu-cloud --env GPUNZ_API_KEY='<GPUNZ_API_KEY>' -- docker run -i --rm -e GPUNZ_API_KEY ghcr.io/gpunz/gpunz-mcp:1.0.0~/.cursor/mcp.json
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GPUNZ_API_KEY",
"ghcr.io/gpunz/gpunz-mcp:1.0.0"
],
"env": {
"GPUNZ_API_KEY": "<GPUNZ_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gpu-nz-gpu-cloud": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GPUNZ_API_KEY",
"ghcr.io/gpunz/gpunz-mcp:1.0.0"
],
"env": {
"GPUNZ_API_KEY": "<GPUNZ_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GPUNZ_API_KEY",
"ghcr.io/gpunz/gpunz-mcp:1.0.0"
],
"env": {
"GPUNZ_API_KEY": "<GPUNZ_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GPUNZ_API_KEY",
"ghcr.io/gpunz/gpunz-mcp:1.0.0"
],
"env": {
"GPUNZ_API_KEY": "<GPUNZ_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GPUNZ_API_KEY",
"ghcr.io/gpunz/gpunz-mcp:1.0.0"
],
"env": {
"GPUNZ_API_KEY": "<GPUNZ_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http gpu-nz-gpu-cloud https://gpu.nz/mcp --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.gpu-nz-gpu-cloud]
url = "https://gpu.nz/mcp"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add gpu-nz-gpu-cloud --url https://gpu.nz/mcp~/.cursor/mcp.json
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"url": "https://gpu.nz/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gpu-nz-gpu-cloud": {
"type": "http",
"url": "https://gpu.nz/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"httpUrl": "https://gpu.nz/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gpu.nz/mcp",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gpu-nz-gpu-cloud": {
"url": "https://gpu.nz/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}Environment variables
GPUNZ_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.