Orgo MCP for AI agents: control cloud computers from your MCP client
Let Claude Code, Cursor, Codex, or another MCP client create and drive Orgo computers.
Orgo's MCP server gives the model in your MCP client tools for cloud computers. From Claude Code, Cursor, Codex or another client, the model can create a computer, click, type, run shell commands and read the screen back (MCP guide). Add https://www.orgo.ai/mcp to a client that supports remote MCP servers and sign in, or run npx -y orgo-mcp-server locally with an API key. MCP is one of three ways to reach the same computers, next to the HTTP API and the CLI (Introduction). Orgo is not the agent; the model in your client decides what to do.
What the server is
The Model Context Protocol lets an AI app connect to servers that offer tools. The client lists each server's tools and arguments, and the model decides when to call one.
- The Orgo server ships two ways: the npm package
orgo-mcp-server, which a client starts as a local process, and a hosted server athttps://www.orgo.ai/mcp, which a client reaches by URL. - Its tools are generated from Orgo's published OpenAPI spec, one tool per API operation, named after its
operationId:createComputerbecomesorgo_create_computer. Descriptions, types and required fields come from the spec, so the tools follow the API as it changes. - Tools are grouped by the API reference's tags: Workspaces, Computers, Computer Actions, Screens, Files, Templates.
- A hosted sign-in sees only the tools it can use: computers, screens and files in the workspace you picked, and reads of that workspace. Templates and workspace changes need an API key.
The computers are full desktops with a browser and a shell. Files, installed software and configuration on disk survive stops and restarts (Introduction).
Connecting with a sign-in
Add https://www.orgo.ai/mcp to the client. It opens Orgo's sign-in and consent page, you choose a workspace, and you approve. No API key is involved. In Claude Code:
claude mcp add --transport http orgo https://www.orgo.ai/mcpThen run /mcp in Claude Code and finish the sign-in in your browser (Claude Code MCP docs).
The sign-in uses the OAuth authorization code flow with PKCE, one-hour access tokens and rotating refresh tokens. It is held to the workspace you chose and never receives your computers' passwords. To disconnect a client, open Settings, Security in Orgo and press Disconnect next to it under Connected AI apps. Its next request fails and the client asks you to sign in again.
A client that can set request headers can also send an API key to the same URL as Authorization: Bearer <your key>. An API key reaches every tool its scope allows. Over the hosted URL, orgo_upload_file is refused, because it reads a file from the machine running the server.
Running it locally with an API key
Create a key under Settings, API keys, then add the server. It needs Node.js 20.3 or later (orgo-mcp-server on npm).
# Claude Code
claude mcp add orgo -e ORGO_API_KEY=sk_live_... -- npx -y orgo-mcp-server
# Codex
codex mcp add orgo --env ORGO_API_KEY=sk_live_... -- npx -y orgo-mcp-serverClaude Desktop and Cursor take the same JSON block. As of October 2026, Claude Desktop reads ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Cursor reads ~/.cursor/mcp.json, or .cursor/mcp.json in a project (MCP: connect local servers, Cursor MCP docs):
{
"mcpServers": {
"orgo": {
"command": "npx",
"args": ["-y", "orgo-mcp-server"],
"env": { "ORGO_API_KEY": "sk_live_..." }
}
}
}A project's .cursor/mcp.json is often committed. In that file, write "ORGO_API_KEY": "${env:ORGO_API_KEY}" and keep the key in your environment.
VS Code reads .vscode/mcp.json, where the top-level key is servers. This block asks for the key when the server starts:
{
"inputs": [
{ "type": "promptString", "id": "orgo-key", "description": "Orgo API key", "password": true }
],
"servers": {
"orgo": {
"type": "stdio",
"command": "npx",
"args": ["-y", "orgo-mcp-server"],
"env": { "ORGO_API_KEY": "${input:orgo-key}" }
}
}
}If you ran orgo login with the Orgo CLI, leave out the env block. The server reads the same ~/.orgo/credentials.json, so the key is not in a config file. Restart the client after editing its config. On Windows, if the client reports spawn npx ENOENT, set command to cmd and start args with "/c", "npx".
The local server reads four optional settings:
| Variable | What it does |
|---|---|
ORGO_API_KEY | Your API key. Falls back to ~/.orgo/credentials.json |
ORGO_READ_ONLY | Registers only the read (GET) tools |
ORGO_TAGS | Exposes only the tool groups you list, for example "Computers,Computer Actions" |
ORGO_DEFAULT_COMPUTER_ID | Pins one computer so action tools can leave out id. An explicit id still wins |
Over the hosted URL, pin a computer with the X-Orgo-Default-Computer-Id header, or add ?computer_id= to the URL for clients that take only a URL.
Using it
The MCP guide suggests these first prompts:
- spin up an orgo computer and screenshot the orgo.ai homepage
- open chrome on my orgo computer, search for the weather, screenshot the result
- list my orgo computers and stop the ones that are idle
- run the test suite on a clean orgo computer and show me what failed
For the first, the model calls orgo_create_computer, then orgo_execute_bash, then orgo_get_screenshot.
Screenshots come back differently by sign-in. Over a hosted sign-in, orgo_get_screenshot returns an image the model can see. With an API key it returns a link to the stored capture by default, which the model cannot open. Tell the model to pass response_format: "base64" and the screenshot comes back as an image.
MCP, API or CLI
| API and SDKs | CLI (orgo) | MCP | |
|---|---|---|---|
| Who drives the computer | Your code | You, or a shell script | The model in your MCP client |
| Suited to | Production workers, your own agent loop | Terminal work and scripts | Computer work asked for from an editor or chat app |
| Sign-in | API key as a Bearer token | orgo login, approved in the browser | Hosted: OAuth or an API key. Local: an API key or orgo login |
| Reach | Every endpoint in the API reference | Workspaces, computers, templates, secrets, SSH and more | With a key, one tool per API operation. With a sign-in, one workspace |
All three reach the same computers, and the Python and TypeScript SDKs wrap the same HTTP API. MCP fits when your agent already lives in an MCP client. When the agent lives in your own application code and you need control over the model and retries, run a computer use loop with a provider's tool: see Claude, OpenAI and Gemini on Orgo. To have Orgo run the loop, use the Orgo computer use API.
Safety
- Leave your client's tool confirmation on.
orgo_execute_bashandorgo_execute_pythonrun any command on a live computer, and a click or keypress can submit a form or delete something. - Use a key scoped to one workspace. An account-wide key reaches every workspace; a key made for one workspace under Settings, API keys reaches only that workspace's computers.
- Narrow the local server with
ORGO_READ_ONLY=trueorORGO_TAGS. - A hosted sign-in is held to one workspace and cannot reach templates, other workspaces, billing or computer passwords.
- With the local server,
orgo_upload_filereads a file from your own machine and uploads it, so confirm those calls too.
Commands run on a cloud computer you can stop or delete, not on your laptop. That limits where a bad command lands. It does not replace tool confirmation.