This page needs JavaScript. For agents, the same page as Markdown: https://instabox.sh/blog/agent-mcp-skills.md (below); the whole site: https://instabox.sh/llms.txt. # InstaBox Agent Toolkit: CLI, Skills and MCP https://instabox.sh/blog/agent-mcp-skills.md 2026-11-01 · Tony Chang · Product An agent-native toolkit for InstaBox: the CLI, agent skills and an MCP server, so your coding agent knows how to use boxes. Install them on your machine, or start an agent in any box, where they are already set up. Today we're shipping an agent-native toolkit for InstaBox. It is a set of three tools that let coding agents create and use boxes on their own: 1. **The InstaBox CLI (`instabox`).** A command-line tool that creates, runs and manages boxes. 2. **Agent skills.** Short guides that teach your agent how and when to use the CLI. 3. **MCP server.** A server that gives your agent InstaBox tools it can call directly. You can install the toolkit on your own machine, or use the copy that comes preinstalled in every box. **CLI and skills** From building agent-native infrastructure, we found that a CLI and skills work very well together: the CLI does the work, and the skills tell the agent which commands to run and when. One command sets up both: ```sh npx instabox@latest ``` This signs you in, installs the `instabox` CLI and adds our skills to common coding agents: Claude Code, Codex, Cursor, OpenCode and Antigravity. **MCP** MCP is the common standard for giving agents tools. `instabox mcp init` adds the InstaBox MCP server to an agent's config. Claude Code ```sh instabox mcp init claude ``` Codex ```sh instabox mcp init codex ``` The server uses your sign-in from `npx instabox@latest`, so there is no key to set up. Cursor, OpenCode and Antigravity work the same way: `cursor`, `opencode` or `antigravity`. **In every box** The InstaBox MCP server is also preinstalled in every box, and Claude Code, Codex and OpenCode there have it connected when they start. In a box, the server has two sets of tools: 1. **Docs tools, no authentication.** They explain InstaBox and the box the agent runs on: its size and tools, stop vs. suspend, ports and the desktop. 2. **Action tools, need an API key.** They manage your boxes: list, create, start, stop and resume them, run commands, and save snapshots. So every agent running in a box can use the docs tools to learn how to use InstaBox, with no setup.  If you want the agent to manage your boxes for you, give it an API key. The action tools manage your boxes and your account, so they need one. Each API key has scopes. A scope is a permission, and the key can only do what its scopes allow: | Scope | Allows | | ----------------- | ------------------------------------------------------------------------------------------------------ | | `machines:read` | list and view boxes, operations, metrics and usage | | `machines:write` | create, start, stop, suspend, resume and resize boxes, run commands, read and write files, and use SSH | | `machines:delete` | delete boxes | | `images:read` | list and view snapshots | | `images:write` | save snapshots | | `images:delete` | delete snapshots | Write and delete scopes include read. Give the agent only the scopes it needs, so a mistake or a bad prompt can't do more than you planned. For example, an agent that should only look at your boxes needs just `machines:read`. The key below lets the agent use every action tool except delete. `machines:write` covers creating, starting, stopping and running commands. `images:read` lets it find snapshots by name, and `images:write` lets it save snapshots. It leaves out `machines:delete`, so the agent can't delete boxes. ```sh instabox keys create --name box-agent --scope machines:read --scope machines:write \ --scope images:read --scope images:write ``` Then add it to the box as a Secret named `INSTABOX_API_KEY`, with `api.instabox.sh` as the allowed host. The box only sees a placeholder, so the agent can use the key but cannot read it. We'd love to hear what you think! Email us at [support@instabox.sh](mailto:support@instabox.sh), or join our [Discord](https://discord.gg/instabox).