MCP Server Spotinst logo

MCP Server Spotinst

by arnstarn

MCP server for managing Spot.io Ocean clusters, VNGs, Elastigroups, costs, and logs across AWS and Azure.

Install MCP Server Spotinst

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "arnstarn-mcp-server-spotinst": {
      "command": "uvx",
      "args": [
        "mcp-server-spotinst"
      ],
      "env": {
        "SPOTINST_TOKEN": "YOUR_VALUE_HERE",
        "SPOTINST_ACCOUNT_ID": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-server-spotinst

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

This server connects MCP clients to the Spot.io API for inspecting and managing Ocean clusters across AWS and Azure accounts. It provides inventory, health, scheduling, cost, logging, tagging, and YAML export operations. Write operations such as instance removal, rolling restarts, and VNG updates require explicit confirmation.

Use cases

  • Inspect Ocean clusters across multiple Spot.io accounts
  • Review cluster health, scaling activity, rolls, and scheduling
  • Compare infrastructure costs and savings over time
  • Export cluster and VNG configurations as YAML
  • Update VNGs or remove instances with confirmation

Key features

  • Multi-account AWS and Azure cluster inventory
  • Ocean cluster, VNG, Elastigroup, and Stateful Node details
  • Cluster health, logs, rolls, nodes, and scheduling data
  • Cost breakdowns, trends, right-sizing suggestions, and savings summaries
  • Tag-based filtering and YAML configuration export
  • Confirmed write operations for instance removal, rolls, and VNG updates

Tools34

What MCP Server Spotinst lets your agent do. Expand a tool for its parameters.

Self-reported~450 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · mcp-server-spotinst (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit6mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed34Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

mcp-server-spotinst

PyPI version CI License: MIT Python 3.10+

MCP server for the Spot.io (Spotinst) API. Supports both AWS and Azure Ocean clusters with multi-account access.

Tools (34)

Cross-Account

ToolDescription
list_accountsList all Spotinst accounts accessible with the current token
list_all_clustersList ALL clusters across ALL accounts and clouds (AWS + Azure)

AWS Ocean

ToolDescription
list_clustersList AWS Ocean K8s clusters
get_clusterGet AWS Ocean cluster details
list_vngsList AWS Virtual Node Groups (launch specs)
get_vngGet AWS VNG details
list_elastigroupsList all Elastigroups
get_elastigroupGet Elastigroup details
get_allowed_instance_typesGet allowed EC2 instance types
get_right_sizingGet right-sizing resource suggestions (AWS only)

Azure Ocean

ToolDescription
list_clusters_azureList Azure Ocean clusters
get_cluster_azureGet Azure Ocean cluster details
list_vngs_azureList Azure Virtual Node Groups
get_vng_azureGet Azure VNG details

Both Clouds (pass cloud="azure" for Azure)

ToolDescription
get_cluster_nodesList nodes in an Ocean cluster
get_cluster_costsGet aggregated cost breakdown by namespace or resource
list_rollsList deployment rolls
get_rollGet roll details
get_cluster_logGet scaling and activity log events

Stateful Nodes (AWS Managed Instances)

ToolDescription
list_stateful_nodesList all Stateful Nodes (Managed Instances)
get_stateful_nodeGet Stateful Node details

Scheduling & Health

ToolDescription
get_cluster_schedulingGet scheduling and auto-scaler configuration
get_cluster_healthComposite health check: nodes, recent errors, active rolls

Cost Analysis

ToolDescription
get_cost_trendingWeek-over-week (or custom period) cost comparison
get_savings_summary30-day cost and savings summary

Tag Filtering

ToolDescription
filter_clusters_by_tagFilter clusters by tag key/value
filter_vngs_by_tagFilter VNGs by tag key/value

Export (YAML)

ToolDescription
export_cluster_yamlExport cluster config as YAML for GitOps/backup
export_vng_yamlExport VNG config as YAML for GitOps/backup

Write Operations (require confirm=true)

ToolDescription
remove_instancesRecommended — Remove instances using a named strategy (see below)
initiate_rollRolling restart of nodes in an Ocean cluster
detach_instancesDetach and optionally terminate instances from an AWS Ocean cluster
update_vngUpdate an AWS VNG configuration
update_vng_azureUpdate an Azure VNG configuration

All tools accept an optional account_id parameter to query any account.

Instance Removal Strategies

The remove_instances tool provides a safe, intent-based interface for removing instances. Instead of remembering which API flags to set, you pick a strategy:

StrategyWhat happensUse case
drain_and_replaceGracefully drain pods (respects PDBs), terminate, Ocean replaces. Default and safest.Replacing a problematic node in production
replaceImmediately terminate, Ocean auto-replaces. No graceful drain. AWS only.Fast replacement when drain isn't needed
remove_permanentlyTerminate + reduce cluster capacity. No replacement. AWS only.Downsizing the cluster

When confirm=false (default), the tool shows a detailed execution plan so you can review before proceeding:

Code
remove_instances("o-abc123", "i-abc123", strategy="drain_and_replace")

→ SAFETY: Action NOT executed. Set confirm=true to proceed.
  DRAIN AND REPLACE 1 instance(s) in cluster o-abc123:
    Instances: ['i-abc123']
    Method: Rolling restart (20% per batch)
    - Pods will be gracefully drained (PDBs respected)
    - Instances will be terminated after drain
    - Ocean will automatically launch replacements

Setup

Environment Variables

server.ts
export SPOTINST_TOKEN="your-spotinst-api-token"
export SPOTINST_ACCOUNT_ID="act-xxxxxxxx"

Install with pip

Terminal
pip install mcp-server-spotinst

Install with uvx (no install needed)

bash
uvx mcp-server-spotinst

Claude Code Config

Add to ~/.mcp.json:

config.json
{
  "mcpServers": {
    "spotinst": {
      "command": "uvx",
      "args": ["mcp-server-spotinst"],
      "env": {
        "SPOTINST_TOKEN": "your-token",
        "SPOTINST_ACCOUNT_ID": "act-xxxxxxxx"
      }
    }
  }
}

Docker

Terminal
docker build -t mcp-server-spotinst .
docker run -e SPOTINST_TOKEN=your-token -e SPOTINST_ACCOUNT_ID=act-xxxxxxxx mcp-server-spotinst

Run Standalone

bash
mcp-server-spotinst

Multi-Account Usage

Your personal API token can access multiple Spotinst accounts. Use list_accounts to see all available accounts, then pass account_id to any tool:

Code
list_clusters(account_id="act-be5e7ffe")
get_cluster_nodes("o-390ef886", account_id="act-9785011e", cloud="azure")

Or use list_all_clusters for a single-call inventory across everything.

API Reference

Uses the Spot.io REST API at https://api.spotinst.io.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Spotinst

It supports Spot.io Ocean clusters on AWS and Azure. Some operations, including right-sizing and certain instance removal strategies, are AWS-only.

Set SPOTINST_TOKEN to a Spot.io API token and SPOTINST_ACCOUNT_ID to a Spot.io account ID.

Yes. Use list_accounts to view accessible accounts, then pass account_id to tools for account-specific queries.

Write tools require confirm=true. For remove_instances, the default confirm=false returns an execution plan without performing the action.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Spotinst AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/arnstarn-mcp-server-spotinst?style=directory)](https://allmcps.com/mcp/arnstarn-mcp-server-spotinst)
HTML Embed
<a href="https://allmcps.com/mcp/arnstarn-mcp-server-spotinst"><img src="https://allmcps.com/api/badge/arnstarn-mcp-server-spotinst?style=directory" alt="MCP Server Spotinst on AllMCPs" /></a>