MCP server for Spot.io (Spotinst) API - manage Ocean clusters, VNGs, and Elastigroups
Project description
mcp-server-spotinst
MCP server for the Spot.io (Spotinst) API. Supports both AWS and Azure Ocean clusters with multi-account access.
Tools (19)
Cross-Account
| Tool | Description |
|---|---|
list_accounts |
List all Spotinst accounts accessible with the current token |
list_all_clusters |
List ALL clusters across ALL accounts and clouds (AWS + Azure) |
AWS Ocean
| Tool | Description |
|---|---|
list_clusters |
List AWS Ocean K8s clusters |
get_cluster |
Get AWS Ocean cluster details |
list_vngs |
List AWS Virtual Node Groups (launch specs) |
get_vng |
Get AWS VNG details |
list_elastigroups |
List all Elastigroups |
get_elastigroup |
Get Elastigroup details |
get_allowed_instance_types |
Get allowed EC2 instance types |
get_right_sizing |
Get right-sizing resource suggestions (AWS only) |
Azure Ocean
| Tool | Description |
|---|---|
list_clusters_azure |
List Azure Ocean clusters |
get_cluster_azure |
Get Azure Ocean cluster details |
list_vngs_azure |
List Azure Virtual Node Groups |
get_vng_azure |
Get Azure VNG details |
Both Clouds (pass cloud="azure" for Azure)
| Tool | Description |
|---|---|
get_cluster_nodes |
List nodes in an Ocean cluster |
get_cluster_costs |
Get aggregated cost breakdown by namespace or resource |
list_rolls |
List deployment rolls |
get_roll |
Get roll details |
get_cluster_log |
Get scaling and activity log events |
All tools accept an optional account_id parameter to query any account.
Setup
Environment Variables
export SPOTINST_TOKEN="your-spotinst-api-token"
export SPOTINST_ACCOUNT_ID="act-xxxxxxxx"
Install with pip
pip install mcp-server-spotinst
Install with uvx (no install needed)
uvx mcp-server-spotinst
Claude Code Config
Add to ~/.mcp.json:
{
"mcpServers": {
"spotinst": {
"command": "uvx",
"args": ["mcp-server-spotinst"],
"env": {
"SPOTINST_TOKEN": "your-token",
"SPOTINST_ACCOUNT_ID": "act-xxxxxxxx"
}
}
}
}
Run Standalone
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:
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_spotinst-0.1.0.tar.gz.
File metadata
- Download URL: mcp_server_spotinst-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66cd638018e1064467156dce1e75871edbe622b1f87a6f904e284de25f244a5f
|
|
| MD5 |
cf209936db0b31c6d999b1da4a2773c3
|
|
| BLAKE2b-256 |
ea9225fc5436977ade0f01d825e402c22ae9967991efb3f8da499bb5e441fcfa
|
Provenance
The following attestation bundles were made for mcp_server_spotinst-0.1.0.tar.gz:
Publisher:
publish.yml on arnstarn/mcp-server-spotinst
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_spotinst-0.1.0.tar.gz -
Subject digest:
66cd638018e1064467156dce1e75871edbe622b1f87a6f904e284de25f244a5f - Sigstore transparency entry: 1152802979
- Sigstore integration time:
-
Permalink:
arnstarn/mcp-server-spotinst@3ad81ec491782d8df874fc09904a31021bc55230 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/arnstarn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3ad81ec491782d8df874fc09904a31021bc55230 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_server_spotinst-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_spotinst-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53e81708333a757a2a1132fbb426454fda8b3790b3893f55a365eac2371f1691
|
|
| MD5 |
42807337b9622c25813391cca0e21fa5
|
|
| BLAKE2b-256 |
7a15f215bb3d0e6e14dde6f6b89370a786be306f92abf9f644e69323d358290b
|
Provenance
The following attestation bundles were made for mcp_server_spotinst-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on arnstarn/mcp-server-spotinst
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_spotinst-0.1.0-py3-none-any.whl -
Subject digest:
53e81708333a757a2a1132fbb426454fda8b3790b3893f55a365eac2371f1691 - Sigstore transparency entry: 1152803012
- Sigstore integration time:
-
Permalink:
arnstarn/mcp-server-spotinst@3ad81ec491782d8df874fc09904a31021bc55230 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/arnstarn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3ad81ec491782d8df874fc09904a31021bc55230 -
Trigger Event:
release
-
Statement type: