How to connect Smol Machines to Grok Bot

Connect Grok Bot to Smol Machines MCP. Create a smol cloud machine for testing, run bounded diagnostics on your machine, and more using natural language, with authentication handled for you.

Smol Machines logoSmol Machines
Api Key

Smol Machines is a cloud service for creating and operating isolated virtual machines. It provides a safe, bounded environment for running commands and moving files.

12 Tools

Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.

This guide explains how to connect Smol Machines to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Smol Machines in plain language.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Smol Machines with

Why use Composio?

Composio exposes 1,700+ apps to your Grok bot through a single connection, so you get:

  • Connect to 1,700+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
  • Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
  • Handle large tool responses outside the model context to keep conversations lean.

Connecting Smol Machines to Grok Bot

Once Grok Bot is set up, you connect Smol Machines entirely from its interface, and the whole flow takes under a minute.

Set up Grok Bot

Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from x.ai/bot and sign in. An iPhone companion app is also available, and your bots sync across devices.

Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.

Connect Smol Machines

1. Add the Composio plugin

Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.

Add to Grok Bot

Composio for Grok Bot listing on x.ai with the Add to Grok Bot button

Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.

Composio plugin sheet in Grok Bot with the Add button

2. Authenticate

Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.

Installed Composio plugin showing the Authenticate button

Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.

Composio authorization screen with Authorize and Deny

3. Connect your Smol Machines account

Back in the chat, ask your bot to connect to Smol Machines or give it any Smol Machines task.

For example, ask it to:

  • "Create a Smol Cloud machine for testing"
  • "Run bounded diagnostics on your machine"
  • "Transfer logs from your Smol machine"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in your Grok bot, and your Smol Machines account is ready to use.

What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.

With Composio Connect, your Grok bot can securely access apps like Smol Machines through MCP without you sharing account credentials directly with the agent.

What is the Smol Machines MCP server, and what's possible with it?

The Smol Machines MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Smol Machines account. It provides structured and secure access to isolated Smol Cloud machines, file transfer, bounded command execution, and account and usage information, so your agent can create, start, stop, inspect, and operate machines on your behalf.

  • Machine lifecycle management: Have your agent create machines with defined resources, automatic stop and deletion settings, and network policies, then start, stop, or permanently delete them.
  • Bounded command execution: Let the agent run foreground commands on a hosted machine for tasks such as setup, diagnostics, and controlled workloads.
  • File transfer: Direct your agent to upload files to a machine or download files from it when moving code, data, or generated results.
  • Machine inspection: Instruct your agent to list machines, filter them by labels, and check their configuration, lifecycle state, and readiness.
  • Usage and account tracking: Have your agent review account limits, plan details, billing-period usage, and machine-level usage and costs.

Way Forward

Now that Smol Machines is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.

  • Connect Calendar to turn threads into scheduled meetings automatically.
  • Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
  • Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
  • Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.

Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

TOOLS

Supported Tools

Every Smol Machines action and event your agent gets out of the box.

Create Machine

Create one bounded Smol Cloud machine in the stopped state with explicit resources, a finite auto-stop interval and deletion TTL, and an explicit outbound network policy.

Delete Machine

Permanently delete one Smol Cloud machine by its exact machine ID.

Download File

Download and offload one file from an exact cloud machine.

Execute Command

Run one bounded foreground argv command on an exact hosted Smol Cloud machine; execution can auto-start billable compute and modify or delete guest data.

Get Account

Get the connected account's status, plan, effective machine limits, billing-period usage, and spend in integer micros.

Get Account Usage

Get metered usage for the connected account's provider-defined period, keeping the requested and consumed metric windows distinct.

Get Machine

Get configuration, lifecycle state, and readiness for one cloud machine by its exact machine id, not by name.

Get Machine Usage

Get billing-period usage and cost in integer micros for one exact machine ID.

List Machines

List cloud machines owned by the connected account, optionally requiring all supplied labels to match.

Start Machine

Start one stopped cloud machine by exact machine ID.

Stop Machine

Stop compute for one cloud machine by exact ID.

Upload File

Upload a file of at most 8,000,000 bytes to a safe relative guest path on one cloud machine identified by its exact machine ID.

FAQ

Frequently asked questions

Start with Smol Machines.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Smol Machines tool your agent needs.Free to start.

Start building