Vast.ai GPU MCP. Search, deploy, and manage your entire compute fleet from chat.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
Vast.ai GPU Rental Cloud API connects your AI client to the world's largest marketplace for high-performance GPUs. Use this server to search hardware like RTX 4090 or A100, spin up Docker containers instantly, and manage the entire compute lifecycle—from deployment to termination—without leaving your chat window.
What your AI agents can do
Delete instance
Stops and deletes a specific GPU instance you have rented on Vast.ai.
List instances
Retrieves a list of all your currently active or paused GPU instances on Vast.ai.
Rent instance
Initiates the process of renting a new, live GPU instance on Vast.ai using defined parameters.
Search the Vast.ai marketplace using specific hardware names or criteria to find available pricing and offers.
Rent a full GPU instance by selecting an offer ID, specifying a container image, and setting disk size.
List all current instances you've rented to check their live status, cost per hour, and network details.
Terminate and delete running GPU instances immediately when your work is finished.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
Vast.ai (GPU Rental Cloud API): 4 Tools for Compute Management
These four tools let you search the marketplace, deploy containers, monitor your GPU fleet status, and clean up resources via natural language commands.
019e5d64delete instance
Stops and deletes a specific GPU instance you have rented on Vast.ai.
019e5d64list instances
Retrieves a list of all your currently active or paused GPU instances on Vast.ai.
019e5d64rent instance
Initiates the process of renting a new, live GPU instance on Vast.ai using defined parameters.
019e5d64search offers
Queries the marketplace to find available GPUs and their current pricing by providing specific hardware criteria in JSON format.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Vast.ai (GPU Rental Cloud API), then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 4,700+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
What you can do with this MCP connector
Vast.ai GPU Rental API - Manage Cloud Compute
Look, forget navigating some clunky web console just to spin up a few GPUs for your deep learning model. This server connects your AI client straight into Vast.ai's massive marketplace. You can search for hardware like an RTX 4090 or an A100, deploy containers in seconds, and manage the whole compute life cycle—from when you start paying to when you shut it down—all without leaving your chat window.
What This Server Does
search_offers lets you query the marketplace. You give it specific hardware criteria using JSON format, and it spits back available GPUs and their current pricing structure. You ain't gotta guess what's out there; you just tell your agent what specs you need, and it checks all the offers for you.
Need to know if that A100 you want is actually available today? Run search_offers with your criteria. It tells you exactly which models are listed right now and how much they're costing per hour. This keeps you from wasting time looking at dead ends or deals that went stale five minutes ago.
When you find the perfect setup, rent_instance handles the deployment. You tell it the specific offer ID you want to use, what container image your code needs (like PyTorch or TensorFlow), and how much disk space you require for your data sets. It immediately initiates the process of renting a full GPU instance on Vast.ai.
You don't click buttons; you just send the command, and your compute environment is getting spun up.
Once it's live, list_instances gives you the rundown. You can list every single GPU instance you currently have rented—whether they're running hard right now or paused in a holding pattern. This tool shows you their live status, how much they cost per hour based on your usage time, and all the necessary network details like IP addresses.
It’s your central dashboard for keeping tabs on your whole fleet.
When your job is done—and it's always done—delete_instance steps in. You run this command, specifying the exact GPU instance you wanna kill, and it immediately terminates and deletes that resource. This isn't just a suggestion; it physically stops the billing cycle for that machine. It keeps your environment clean and makes sure you don't get accidentally charged when you walked away from your laptop.
You use search_offers to find what you need, then you use rent_instance to bring it online with its specific container image and disk size requirements. Once everything is running, you check the status of all your machines using list_instances. When the work’s done, you hit it with delete_instance to shut down the whole thing immediately.
This system means you never have to switch contexts or log into a separate portal. You keep doing your research and coding right here, letting your agent manage the entire hardware lifecycle from finding an offer to powering down the machine. It’s fast. It's clean. And it saves you cash.
How Vast.ai GPU MCP Works
- 1 Subscribe to the server and provide your Vast.ai API Key.
- 2 Ask your AI client to execute a search using
search_offers(e.g., 'Find RTX 4090 offers'). - 3 Once you select an Offer ID, tell the agent to run
rent_instancewith the required Docker image and disk size.
The bottom line is: your AI client handles all API calls—searching for hardware, deploying containers, and cleaning up after itself—all through natural conversation.
Who Is Vast.ai GPU MCP For?
ML Engineers who are tired of switching between Jupyter notebooks and web dashboards. Data Scientists needing to spin up compute power fast without worrying about pricing. DevOps Ops staff responsible for automating the full lifecycle: search, deploy, monitor, and delete.
Needs to quickly provision powerful GPU nodes (like A100) for model training or fine-tuning without leaving their IDE.
Runs heavy data processing tasks and needs to monitor the cost and status of multiple rented compute instances in real time.
Automates the full lifecycle: writing scripts to search for optimal hardware, deploying Docker containers, and ensuring resources are deleted when done.
What Changes When You Connect
- Speed: Instead of navigating multiple web consoles to find the best price-to-performance hardware,
search_offersfinds it instantly. You get immediate GPU discovery right where you are working. - Efficiency: Deploying a container is simple. Using
rent_instance, you tell your agent exactly what image and disk size you need, spinning up a functional environment in seconds. - Visibility: Never wonder if your job is still running or what it costs.
list_instancesgives you real-time status, IP addresses, and cost tracking for all active deployments. - Cost Control: The biggest win is cleanup. When the task finishes, run
delete_instance. This ensures you stop paying immediately, avoiding expensive orphaned resources. - Focus: Your AI client handles the API calls—the complex JSON queries, ID management, and lifecycle commands—so you just focus on your code.
Real-World Use Cases
Training a New LLM Model
The ML Engineer needs an A100 GPU for training. Instead of manually checking the Vast.ai dashboard, they tell their agent: 'Search for A100s and rent one using the latest PyTorch image.' The agent runs search_offers, gets the cheapest ID, and executes rent_instance. When done, it calls delete_instance to stop billing.
Comparing GPU Performance
A Data Scientist needs to test three different hardware types (RTX 4090 vs. A100). They use search_offers four times, noting the price and VRAM for each. Then, they deploy a small container on each using rent_instance so they can benchmark them side-by-side before committing to a full deployment.
Monitoring Stale Resources
The DevOps team finishes a weekend test run but forgets which instances are still active. They simply ask their agent: 'What GPUs am I currently running?' The agent runs list_instances, showing them the IDs and statuses, allowing them to immediately call delete_instance on anything forgotten.
Debugging a Deployment Failure
A service fails because its GPU environment is unstable. Instead of logging into multiple portals, the engineer asks their agent to list all running jobs via list_instances. This reveals the instance ID and status (e.g., 'failed'), allowing them to target that specific resource with a cleanup command.
The Tradeoffs
Manual Console Management
Spending 30 minutes clicking through the Vast.ai website, copying Offer IDs, and manually starting/stopping services in different web tabs.
→
Use your AI agent to handle the whole flow: first run search_offers to find the best ID; then tell it to run rent_instance; and finally, make sure you call delete_instance when finished. It's all conversational.
Assuming Instances are Off
Completing a job and assuming that just because the script exited, billing has stopped. This is often not true for cloud resources.
→
Always verify status using list_instances. If you don't need it, explicitly call delete_instance with the instance ID to guarantee zero charges.
Vague Searching
Asking the agent generally for 'a good GPU'. This leads to vague or unspecific results because hardware requirements are complex.
→
Be specific in your search. Use search_offers and provide structured JSON criteria, like {"gpu_name":{"eq":"RTX 4090"}}, to nail down the exact hardware you need.
When It Fits, When It Doesn't
Use this server if your primary workflow is centered around managing ephemeral compute resources (GPUs) and you want an API layer that sits on top of a major marketplace. It’s perfect for iterative ML development where the lifecycle—search, deploy, test, delete—is constant.
Don't use this if you are building complex network topologies or need advanced security group management. Those tasks require specialized cloud provider APIs (like AWS/GCP) that handle networking and identity layers beyond simple instance provisioning. If your goal is just to analyze static data sets stored in a database, look at dedicated database connector tools instead.
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Vast.ai. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 4 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Web consoles make you copy-paste Offer IDs all day.
Right now, if you want an A100 GPU, the process is tedious. You open the console, filter by hardware name, note down a promising Offer ID, then switch to your coding environment. Then, you have to copy that ID into another form just to start the rental—it's clicks and clipboard management.
With this MCP server, you skip all of that. You tell your agent: 'I need an A100.' Your AI client runs `search_offers`, gives you a list, and when you pick one, it executes the whole deployment (`rent_instance`) in one go. It's immediate.
Vast.ai GPU Rental Cloud API: Full Instance Control
The biggest manual steps that disappear are monitoring and cleanup. You don't have to manually check if the job is still running, or worry about remembering to delete it when you walk away from your desk.
Now, you just ask: 'List my instances.' The agent runs `list_instances`, giving you a clean status report. Need to stop billing? Ask it to run `delete_instance`. It's that simple.
Common Questions About Vast.ai GPU MCP
How do I find the best GPU price using search_offers? +
The agent uses search_offers with a JSON query like {"gpu_name":{"eq":"RTX 4090"}}. The results provide multiple offers, letting you compare prices and VRAM to pick the optimal one.
What information does list_instances give me? +
list_instances gives you a summary of all your rented GPUs. You get the Instance ID, current status (running/paused), IP address, and hourly cost estimate for each one.
Can I rent an instance without knowing the specific offer ID? +
No. You must first use search_offers to find a valid Offer ID from the marketplace before you can tell the agent to run rent_instance. The ID ties your deployment to a live source.
Is calling delete_instance permanent? +
Yes, calling delete_instance terminates the compute job and frees up the resource immediately. This stops billing for that specific instance ID.
How does the `search_offers` tool validate my API Key? +
The server uses your provided Vast.ai API Key for all operations. If the key is invalid or lacks permission to view offers, the tool immediately returns an authentication error code. Always verify your credentials first.
When using `rent_instance`, what are the technical requirements for the Docker image? +
You must provide a valid container registry path for the specified Docker image (e.g., PyTorch or TensorFlow). The system uses this path to pull and deploy your compute environment.
Can I refine my GPU search using `search_offers` beyond just the hardware name? +
Yes, you can structure the JSON query to include multiple constraints, such as minimum VRAM or maximum hourly cost. You need to provide a detailed JSON object for advanced filtering.
If I see an old instance via `list_instances`, what is the fastest way to stop charges? +
Calling delete_instance terminates the compute resources instantly. This action stops all usage and prevents further billing from Vast.ai immediately.
How can I find a specific GPU model like an RTX 4090? +
Use the search_offers tool with a query like {"gpu_name": {"eq": "RTX 4090"}}. The agent will return a list of available offers matching that hardware.
What information do I need to rent a new GPU instance? +
You need an offer_id (from search results) and a Docker image name (e.g., 'pytorch/pytorch'). You can also optionally specify the disk size in GB using the rent_instance tool.
How do I stop an instance to avoid further charges? +
Simply use the delete_instance tool with the specific instance_id. This will terminate the instance and release the GPU back to the marketplace.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
Alexa Smart Home
Control Alexa-connected smart home devices — lights, thermostats, speakers, and sensors via Alexa Smart Properties API.
Fly.io Extended
Manage Fly.io apps, machines, and infrastructure—provision resources, control machine lifecycles, and manage volumes directly from any AI agent.
Backblaze B2
Manage Backblaze B2 Cloud Storage via AI — control buckets, file versions, objects, and access rules autonomously.
You might also like
Brevo
Engage customers across email, SMS, and chat with marketing campaigns and transactional messaging that scale with you.
Fluxguard
Monitor website changes, track visual differences, and receive alerts via AI agents with Fluxguard.
Snov.io
Find business emails, verify deliverability, and run multi-step drip campaigns that fill your outbound sales pipeline.