Skip to content

Thunder-Compute/thunder-plugin

Repository files navigation

Thunder Compute Plugin

Manage Thunder Compute GPU instances directly from your AI coding agent. Create, monitor, modify, and tear down cloud GPU instances without leaving your coding workflow.

Installation

Claude Code

/plugin install thunder-compute

Or from GitHub:

/plugin marketplace add Thunder-Compute/thunder-plugin
/plugin install thunder-compute@Thunder-Compute/thunder-plugin

Codex

Add the MCP server directly:

codex mcp add thunder-compute --url https://api.thundercompute.com:8443/mcp

Or install the plugin from this repo (place it in your project or ~/.agents/plugins/).

Cursor

Add Thunder Compute to Cursor's MCP config at ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):

{
  "mcpServers": {
    "thunder-compute": {
      "type": "http",
      "url": "https://api.thundercompute.com:8443/mcp"
    }
  }
}

Then open Cursor Settings → MCP and enable thunder-compute. You'll be prompted to sign in via OAuth on first use.

Any MCP client

Connect to the streamable HTTP endpoint with OAuth:

https://api.thundercompute.com:8443/mcp

Prerequisites

  1. A Thunder Compute account
  2. An AI agent that supports remote MCP servers (Claude Code, Codex, Cursor, etc.)

No local installation or API tokens required — authentication is handled via OAuth in your browser.

Usage

Claude Code: /tnr

/tnr create an a6000 instance with pytorch
/tnr list my instances
/tnr how much have I spent this month?

Codex: $tnr

$tnr create an a6000 instance with pytorch
$tnr list my instances
$tnr how much have I spent this month?

Example requests (any client)

create an a6000 instance with pytorch
list my instances
delete instance 3
what GPUs are available and how much do they cost?
forward port 8080 on my instance
snapshot my instance before I make changes
run nvidia-smi on my instance
how much have I spent this month?
create an API token for CI

Available Tools

The plugin exposes 28 MCP tools via the remote thunder-compute server:

Instance Management

Tool Description
list_instances List all GPU instances
create_instance Create a new instance
delete_instance Delete an instance
modify_instance Change instance config
run_command Execute a shell command on a running instance

Information

Tool Description
get_specs Available GPU specs
get_availability Current GPU availability per spec
get_pricing Per-hour pricing
list_templates OS templates

Snapshots

Tool Description
list_snapshots List snapshots
create_snapshot Create a snapshot
delete_snapshot Delete a snapshot

SSH Keys

Tool Description
list_ssh_keys List SSH keys
create_ssh_key Add an SSH key to your org
delete_ssh_key Delete an SSH key
add_ssh_key_to_instance Add an SSH key to a running instance

Port Forwarding

Tool Description
list_ports List forwarded ports
forward_port Forward HTTP ports
delete_port Remove forwarded ports

Connectivity

Tool Description
get_ssh_command Get SSH connection command
get_scp_command Get file transfer command

Billing & Usage

Tool Description
get_meter_data GPU usage metrics for a time period
get_upcoming_invoice Estimated charges for current billing period
get_invoice_history Historical invoices
get_subscription Subscription plan and payment info

API Tokens

Tool Description
list_tokens List API tokens
create_token Create an API token
delete_token Delete an API token

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors