# Vast.ai MCP connector

The Vast.ai connector lets Claude, ChatGPT, Cursor, Microsoft Copilot and any MCP client rent and manage GPU instances, network disks, SSH keys, worker groups, endpoint jobs and secrets in Vast.ai, with every action running under the person who signed in.

Source: https://elaichi.ai/connectors/vastai/

## Facts

| | |
| --- | --- |
| Application | Vast.ai |
| Category | Cloud Storage |
| AI tools | 89 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Vast.ai is connected

- List every running Vast.ai instance and its bid price
- Which Vast.ai machines are in maintenance right now
- Show network disks attached to instances in Research

## Connect Vast.ai in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Vast.ai.
2. Optionally set Share with, then press Connect.
3. Paste a Vast.ai API key. One person generates a token in Vast.ai and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Vast.ai tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Vast.ai MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Vast.ai MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. In a terminal, run `claude mcp add` with the endpoint.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Vast.ai MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Vast.ai MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Vast.ai MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Vast.ai to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Vast.ai tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Vast.ai through Elaichi

### Spin up a GPU box for training

Machine learning. Ask for a new instance with the right disk and SSH access, then adjust the bid price if the job needs to keep running through a busy hour.

### Move datasets onto a network disk

Data engineering. Create a network disk for a project and queue a copy of training data onto it with an rclone command, then clear the command when the transfer is done.

### Keep worker groups and endpoint jobs in shape

Platform. List the worker groups serving a model, change the settings on one, and add or retire endpoint jobs as traffic changes.

### Rotate API keys and secrets without a console

Security. See which Vast.ai API keys exist, create a fresh one for a new pipeline, and delete keys and secrets that are no longer needed.

### Trim spend on running instances

Finance. Review what is running, lower the bid price on instances that can wait, and remove SSH access from boxes that are being wound down.

### Take a machine in and out of maintenance

Hosting. Cancel scheduled maintenance on a host machine when the fix lands early, or run a cleanup on a machine before it goes back into the market.

## Elaichi vs Zapier MCP vs Composio for Vast.ai

All three can connect Vast.ai to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Vast.ai tools | Allow or restrict single Vast.ai tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Vast.ai call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Vast.ai to Claude?

First connect Vast.ai in Elaichi by pasting an API key from your Vast.ai account, then in Claude go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. Vast.ai signs in with an API key, so there is no OAuth application to register and no client ID or secret to generate. Once both steps are done, Claude can work with your Vast.ai instances, disks and keys as you.

### Does Vast.ai work with ChatGPT and Cursor as well as Claude?

Yes. Vast.ai is connected once in Elaichi, and the same endpoint, https://api.elaichi.ai/mcp, is pasted into Claude, ChatGPT, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. There is nothing extra to set up for each client.

### What can an AI agent actually do with my Vast.ai account?

An agent can create Vast.ai instances and network disks, add or remove SSH access, change the bid price on a running instance, and queue copy or rclone commands to move data. It can also list, create, update and delete worker groups, endpoint jobs, API keys and secrets, and take a host machine out of maintenance or run a cleanup on it. Short, concrete asks such as "lower the bid on instance 4821" work better than long paragraphs.

### Does connecting Vast.ai give the AI access to everything in my account?

No. Every call to Vast.ai runs under the API key the signed-in person provided, so the agent can only reach the instances, disks, worker groups and secrets that key can already reach. Elaichi can narrow that further by restricting specific actions, and it never widens what the key allows.

### Can my team share one Vast.ai connection?

Yes. One person connects Vast.ai in Elaichi and shares the connection with a team, and nobody else ever handles the API key. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person who created an instance or deleted a secret.

### Can I stop an agent from deleting or changing things in Vast.ai?

Yes. Restrictions in Elaichi work per action, so you can allow listing Vast.ai instances and worker groups while restricting deletion of instances, API keys or secrets. A restricted action still appears in Elaichi's tool search, flagged as restricted, but Claude, ChatGPT, Cursor or Microsoft Copilot cannot run it, whatever the prompt says.

### What happens to a Vast.ai connection when someone leaves?

Offboarding that person in Elaichi ends their access to Vast.ai through every client at once. If they had shared a Vast.ai connection, it keeps working for everyone else on the team. Disconnecting Vast.ai once in Elaichi removes it from Claude, ChatGPT, Cursor, Microsoft Copilot and every other client together.

### Does the Vast.ai MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Vast.ai is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Vast.ai?

Yes. Both let Claude, ChatGPT or Cursor use Vast.ai. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Vast.ai call.

### How is Elaichi different from Composio for Vast.ai?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Vast.ai: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 89 Vast.ai tools

Every tool below is callable through https://api.elaichi.ai/mcp once Vast.ai is connected, subject to the toolbox it is in and the restrictions on the caller.

- **Create a Vast.ai network disk** (Create). Add a network disk in vast to be used for creating network volume offers, or add machines to an existing network disk. Returns: success, disk_id. Required: mount_point.
- **Create a Vast.ai instance SSH** (Create). Attach an SSH key to a vast instance, granting SSH access using the provided key. Returns: success, msg. Required: id, ssh_key.
- **Delete a Vast.ai instance SSH by ID** (Delete). Detach an SSH key from a vast instance, removing SSH access for that key. Returns: success, msg. Required: id, ssh_key_id.
- **List all Vast.ai instance sshes** (List). List SSH keys associated with a vast instance. Returns: success, ssh_keys. Required: instance_id.
- **Update a Vast.ai commands copy direct by ID** (Update). Initiate a remote copy operation in vast to transfer data from one instance to another or between an instance and the local machine. Returns: success, msg. Required: src_path, dst_path.
- **Delete a Vast.ai commands copy direct by ID** (Delete). Cancel a remote copy operation in vast for the specified destination instance. Returns: success. Required: dst_id.
- **Update a Vast.ai machine cancel maint by ID** (Update). Cancel a scheduled maintenance window for a specified machine in vast. Returns: success, ctime, machine_id, msg. Required: machine_id.
- **Create a Vast.ai commands rclone** (Create). Start a cloud copy operation in vast, transferring data between a vast instance and a cloud service. Returns: success, msg, result_url.
- **Delete a Vast.ai commands rclone by ID** (Delete). Cancel an in-progress rclone sync operation in vast identified by the destination instance ID. The operation cannot be resumed once canceled and must be restarted if needed. Returns: success, msg. Required: dst_id.
- **Update a Vast.ai instances bid price by ID** (Update). Update the bid price of a vast instance to a specified value. Returns: success. Required: id, client_id, price. Price must be between $0.001 and $32 per hour.
- **Update a Vast.ai machine cleanup by ID** (Update). Clean up a vast machine by removing expired contracts, freeing up space. Returns: success, ctime, machine_id, user_id, num_deleted, msg. Required: machine_id.
- **List all Vast.ai auth apikeys** (List). List all API keys in vast associated with the authenticated user. Returns: apikeys, id, user_id, rights, team_id, team_name.
- **Create a Vast.ai auth apikey** (Create). Create a new API key in vast with specified permissions for the authenticated user. Returns: id, key, permissions. Required: name.
- **Delete a Vast.ai auth apikey by ID** (Delete). Delete an existing API key in vast by id. Returns a plain-string success confirmation on deletion. Required: id.
- **List all Vast.ai workergroups** (List). List all workergroups in vast associated with the authenticated user. Returns: success, results, id, min_load, target_util, cold_mult, test_workers, template_hash, template_id, search_query, launch_args, gpu_ram, endpoint_name, endpoint_id, api_key, created_at, user_id.
- **Create a Vast.ai workergroup** (Create). Create a new workergroup in vast to manage worker instances for a serverless endpoint. Returns: success, id.
- **Update a Vast.ai workergroup by ID** (Update). Update an existing workergroup in vast by id. Returns: success. Required: id.
- **Delete a Vast.ai workergroup by ID** (Delete). Delete an existing workergroup in vast by id. Returns: success, deleted_workers, failed_workers, msg. Required: id.
- **List all Vast.ai endptjobs** (List). List endpoint jobs for the authenticated vast user. Returns: success, results, id, min_load, target_util, cold_mult, cold_workers, max_workers, endpoint_name, api_key, user_id, created_at, endpoint_state.
- **Create a Vast.ai endptjob** (Create). Create a new job processing endpoint in vast with configurable load and worker settings. Returns: success, result.
- **Update a Vast.ai endptjob by ID** (Update). Update a vast endpoint group's configuration by id. Returns: success. Required: id.
- **Delete a Vast.ai endptjob by ID** (Delete). Delete a vast endpoint group by id; associated worker groups are also deleted. Returns: success, deleted_workers, failed_workers, msg. Required: id.
- **List all Vast.ai secrets** (List). List all environment variables (secrets) for the authenticated user in vast. Returns: success, secrets.g. *****).
- **Create a Vast.ai secret** (Create). Create a new encrypted environment variable (secret) for the authenticated user in vast. Keys are automatically converted to uppercase before storage. Returns: success, msg. Required: key, value.
- **Update a Vast.ai secret by ID** (Update). Update the value of an existing environment variable (secret) for the authenticated user in vast. Keys are automatically converted to uppercase. Returns: success, msg. Required: key, value.
- **Delete a Vast.ai secret by ID** (Delete). Delete an environment variable (secret) for the authenticated user in vast. The variable must exist and belong to the requesting user. Returns: success, msg. Required: key.
- **Update a Vast.ai ask by ID** (Update). Create a new vast instance by accepting an available offer (ask contract) identified by id. If a template_hash_id is supplied, its defaults are merged with request body parameters per documented precedence rules. Returns: success, new_contract. Required: id, image.
- **Create a Vast.ai network volume** (Create). List a network disk as a network volume offer in vast, or update an existing listing with a new price, size, end date, or discount. Returns: success, msg, disk_id. Required: disk_id.
- **Update a Vast.ai network volume by ID** (Update). Create a network volume in vast by accepting an existing network volume offer. Returns: success, volume_name, volume_size, id, msg. Required: id, size.
- **Vast.ai network volumes search** (Search). Search for available network volume offers in vast with advanced filtering and sorting. Returns: success, offers, template_hash_id.
- **List all Vast.ai sshes** (List). List SSH keys associated with the authenticated user's vast account. Returns: id, user_id, key, created_at, deleted_at.
- **Create a Vast.ai SSH** (Create). Create a new SSH key in vast and associate it with your account; the key is automatically added to all current instances. Returns: success, key. Required: ssh_key.
- **Update a Vast.ai SSH by ID** (Update). Update an SSH key in vast with a new public key value. Returns: success, key. Required: id, ssh_key.
- **Delete a Vast.ai SSH by ID** (Delete). Delete an SSH key from the authenticated user's vast account by id. Returns: success. Required: id.
- **Create a Vast.ai user** (Create). Create a standalone or subaccount user in vast. Returns: id, username, email, key_id. Required: email, username, password.
- **Update a Vast.ai user by ID** (Update). Update the authenticated user's data in vast. Returns: success, msg.
- **Get single Vast.ai user by ID** (Get). Get information about the current authenticated user in vast. Returns: id, key_id, email, balance, ssh_key, sid, credit.
- **Create a Vast.ai team** (Create). Create a new team in vast with default roles (Owner, Manager, Member) assigned automatically. Returns: success, msg. Required: team_name. Optionally transfer credits from your personal account to the new team using transfer_credit.
- **Delete a Vast.ai team by ID** (Delete). Delete the authenticated user's team in vast along with all associated API keys, roles, invitations, and memberships. The team owner's master API key is converted back to a normal client key. Returns: success, msg, pkey_id.
- **Create a Vast.ai team role** (Create). Create a new team role in vast. Returns: msg. Required: name, permissions.
- **Delete a Vast.ai team role by ID** (Delete). Remove a team role from vast by id. Returns: status, message. Required: id. The team owner role cannot be removed.
- **Update a Vast.ai team role by ID** (Update). Update an existing team role's name and permissions in vast. Returns a success confirmation string message on update. Required: id, name, permissions.
- **Get single Vast.ai team role by ID** (Get). Get a specific team role by id in vast. Returns: id, name, permissions, template_hash_id. Required: id.
- **List all Vast.ai templates** (List). Search vast templates using filter-based queries. Returns: success, templates_found, templates. Results include your own and publicly shared templates.
- **Create a Vast.ai template** (Create). Create a new vast template for launching instances. Returns: success, msg, template. Required: name, image.
- **Update a Vast.ai template by ID** (Update). Edit an existing vast template in place. Returns: success, template. Required: hash_id. Only fields you supply are modified.
- **Delete a Vast.ai template by ID** (Delete). Delete an existing vast template by its numeric template_id. Returns: success. Required: template_id (numeric id, not hash_id).
- **List all Vast.ai volumes** (List). List all volumes rented by the authenticated user in vast. Returns a volumes array where each item includes id, status, storage_total_cost, disk_space, machine_id, host_id, inet_up, inet_down, reliability2, and start_date.
- **Update a Vast.ai volume by ID** (Update). Rent or create a new volume in vast with a specified size. Returns: success, volume_name. Required: id.
- **Delete a Vast.ai volume by ID** (Delete). Delete a vast volume by its ID. Returns: success. Required: id.
- ...and 39 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
