Back to Browse

Kilawatt MCP Server

Developer ToolsModerate5.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Kilawatt Cloud MCP Server for AI Agent GPU Orchestration

About

Kilawatt Cloud MCP Server for AI Agent GPU Orchestration

Security Report

5.2
Moderate5.2Moderate Risk

This MCP server interfaces with the Kilawatt Cloud GPU provisioning API and lacks critical authentication validation and error handling. The server accepts an API key via environment variable but performs no validation of its format or presence before making requests. Input validation is missing for critical parameters (gpu_type, card_count, duration_seconds), and error handling is incomplete. The server's purpose (financial/compute resource provisioning) requires higher security standards than currently implemented. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

3 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Your API key for the serviceRequired

Environment variable: YOUR_API_KEY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-kilawattcloud-kilawatt-mcp-server": {
      "env": {
        "YOUR_API_KEY": "your-your-api-key-here"
      },
      "args": [
        "-y",
        "kilawatt-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

kilawatt-mcp-server

Build Status Version License

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_runbooleanNofalse—Price 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

Reviews

No reviews yet

Be the first to review this server!