← Blog

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.

Updated

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 at https://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: createComputer becomes orgo_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:

bash
claude mcp add --transport http orgo https://www.orgo.ai/mcp

Then 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).

bash
# 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-server

Claude 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):

json
{
  "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:

json
{
  "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:

VariableWhat it does
ORGO_API_KEYYour API key. Falls back to ~/.orgo/credentials.json
ORGO_READ_ONLYRegisters only the read (GET) tools
ORGO_TAGSExposes only the tool groups you list, for example "Computers,Computer Actions"
ORGO_DEFAULT_COMPUTER_IDPins 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 SDKsCLI (orgo)MCP
Who drives the computerYour codeYou, or a shell scriptThe model in your MCP client
Suited toProduction workers, your own agent loopTerminal work and scriptsComputer work asked for from an editor or chat app
Sign-inAPI key as a Bearer tokenorgo login, approved in the browserHosted: OAuth or an API key. Local: an API key or orgo login
ReachEvery endpoint in the API referenceWorkspaces, computers, templates, secrets, SSH and moreWith 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_bash and orgo_execute_python run 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=true or ORGO_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_file reads 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.