kilawatt-mcp-server

MCP serverAI & models

Kilawatt Cloud MCP Server for AI Agent GPU Orchestration

Unavailable. This server has no hosted endpoint yet, so ahel can't serve it.

Connect ahel once, and every AI you use reads what you have installed.

From the project's README

As published by kilawattcloud/kilawatt-mcp-server in README.md.

Model Context Protocol (MCP) server for Kilawatt Cloud GPU provisioning. Enables Cursor, Claude Desktop, and other AI agents to programmatically request and manage real GPU compute nodes.

This server calls the real Kilawatt gateway — every response is an actual HTTP result from https://www.kilawattcloud.dev/api/public/v1. There are no mock or fabricated responses.

Installation

Install via npm:

npm install kilawatt-mcp-server

Configuration

Set your Kilawatt API key as an environment variable before running the server:

export KILAWATT_API_KEY=kw_live_YOUR_KEY_HERE

The API key must start with kw_live_. API keys are issued through your Kilawatt Cloud account. Contact hello@kilawattcloud.dev for assistance if you don't have access to generate keys yet.

Optionally, override the gateway URL:

export KILAWATT_BASE_URL=https://www.kilawattcloud.dev/api/public/v1

Running the Server

Start the MCP server:

npm start

Or directly:

node index.js

The server listens on stdio for MCP requests from your agent.

Available Tools

deploy_gpu_node

Provision real GPU compute on Kilawatt Cloud. This immediately charges the caller's Kilawatt wallet and starts an actual machine. Set dry_run: true to validate pricing, routing, and account balance without provisioning.

Parameters:

ParameterTypeRequiredDefaultRangeDescription
gpu_typestringNo"nvidia-h100"GPU model identifier, e.g. nvidia-h100, nvidia-h200, nvidia-b200
card_countintegerNo11–64Number of GPUs to provision
duration_secondsnumberNo6001–86400How long the node is needed, in seconds. Billed up front.
routing_policystringNo"lowest_cost"lowest_cost, lowest_latency, zero_quotaHow the smart order router picks a node
dry_runbooleanNofalsePrice and pre-authorize only. Returns cost estimate and routing order without provisioning or charging.

Example: Deploy 4 H100 GPUs for 1 hour at lowest cost

{
  "name": "deploy_gpu_node",
  "arguments": {
    "gpu_type": "nvidia-h100",
    "card_count": 4,
    "duration_seconds": 3600,
    "routing_policy": "lowest_cost",
    "dry_run": false
  }
}

Example: Dry-run to check pricing

{
  "name": "deploy_gpu_node",
  "arguments": {
    "gpu_type": "nvidia-b200",
    "card_count": 2,
    "duration_seconds": 1800,
    "dry_run": true
  }
}

Response (Success):

GPU node running. Job ID: job_abc123xyz
Node: provider-name
Hardware: 4× nvidia-h100
Workload: default   Routing policy: lowest_cost
Billed: $12.3456
Status: running

Response (Dry Run):

DRY RUN — nothing was provisioned and nothing was charged.
Authorized: yes
Estimated cost: $6.1728 for 2× nvidia-b200
Routing policy: lowest_cost
Would route through (in order): provider-a → provider-b → provider-c

Error Handling

All errors are descriptive and indicate whether anything was provisioned or charged. Common scenarios:

  • 400 Bad Request: Invalid arguments (e.g., card_count > 64). Fix and retry.
  • 401 Unauthorized: API key missing, malformed, or revoked. Issue a new key in your Kilawatt account or contact hello@kilawattcloud.dev.
  • 402 Payment Required: Insufficient balance or spend cap. Top up in the Kilawatt wallet.
  • 429 Rate Limited: Concurrency or rate limit hit. Retry after a delay.
  • 503 No Capacity: No nodes available matching your criteria. Try a different gpu_type or smaller card_count.
  • Timeout: Gateway did not respond within 60 seconds. No compute was provisioned; retry if needed.

Links

License

MIT

Signals

Weekly downloads
74
Advanced
Delivery
kilawatt-mcp-server MCP server → your ahel gateway (mcp.ahel.ai) → every connected AI client.
Catalog kind
mcp-server
Gateway key
io-github-kilawattcloud-kilawatt-mcp-server
Source
github.com/kilawattcloud/kilawatt-mcp-server