Installing Agent Studio in an air-gapped environment

Install Cloudera Agent Studio on an Anywhere Cloud (AWC) cluster that cannot reach the public internet, and set up the package sources that MCP servers use.

Agent Studio needs no internet access at run time. The one component that normally needs it is the MCP server. When a session starts, studio MCP servers install their Python and npm packages from public registries. In an air-gapped cluster, you give MCP servers an internal package source instead. Agent Studio has no air-gap switch.

Ensure that you meet the following pre-requisites before installing Agent Studio in an air-gapped environment:

  • Review the options for MCP package sources. You can use either option or both:
    Table 1. Options for MCP package sources
    Option Description Use when
    Package mirror An internal PyPI mirror, and an npm mirror, that you configure once for the whole deployment. These values cannot be changed later You already run a mirror, or you install MCP servers by package name.
    Wheelhouse bundle An MCP server that carries every Python dependency in its own wheels/ folder. You have no mirror, or you want the MCP server to start with no network access.
  • Ensure that you meet the requirements for deploying Agent Studio on Anywhere Cloud.
  • Decide which MCP servers you run. If every MCP server is a complete wheelhouse bundle, you can skip the package mirror.
  • To build wheelhouse bundles, use a machine that has internet access, Python 3.14, uv, and pip. Know the CPU architecture of your cluster nodes, either x86_64 or aarch64.
  1. Make all Agent Studio container images and Helm charts available from your internal registry.
  2. Deploy Agent Studio from the Anywhere Cloud Console.
  3. (Optional) Configure the package mirror.

    The mirror settings apply to the whole deployment. You cannot override them for an individual agent or MCP server. The settings apply to new sessions.

    Specify the following settings:

    Table 2. Package mirror settings
    Console field Helm value Description
    PyPI Mirror URL packageIndex.pypiUrl The internal PyPI-compatible index for all Python installations.
    Extra PyPI Index URL packageIndex.pypiExtraUrl An optional second index that is searched together with the first.
    npm Registry URL packageIndex.npmRegistryUrl An optional npm mirror for MCP servers that start through npx.
    Mirror Hosts Without TLS Verification packageIndex.insecureHosts A comma-separated list of host or host:port entries that skip TLS verification. Use it for a mirror that uses plain HTTP or a certificate from a private certificate authority (CA).
    Mirror Egress CIDRs packageIndex.egressCIDRs A comma-separated list of CIDR ranges, for example 10.1.2.0/24, that MCP servers can reach. Required when the mirror has a private IP address.
    Private Mirror Hosts - Lists package mirrors (such as PyPI or npm) that the egress proxy cannot reach, formatted as host=CIDR entries. Each listed host connects directly without using the egress proxy, and its TLS certificate is not verified. Because the CIDR opens a direct route across all ports without proxy auditing, specify a /32 address for each mirror IP. Add an entry if the mirror uses a private IP address, a private or self-signed CA, plain HTTP, or a port other than 443. No entry is needed if the mirror uses HTTPS on port 443 with a publicly trusted certificate.

    If you configure the mirror through Helm values, use a block as shown in the following example:

    packageIndex:
      pypiUrl: "https://pypi.mirror.example.com/simple"
      npmRegistryUrl: "https://npm.mirror.example.com/"
      egressCIDRs: ["10.1.2.0/24"]
  4. (Optional) Build wheelhouse bundles for MCP servers that must start without network access.

    On the machine that has internet access, build a standard MCPB folder with server.type set to uv and a wheels/ folder that contains every wheel, including transitive dependencies. Build the wheels for Python 3.14, glibc Linux (manylinux), and your node CPU architecture.

    Agent Studio supports the following MCPB server types in an air-gapped cluster:

    Table 3. MCPB server types supported in an air-gapped cluster
    Server type Air-gapped approach
    uv (Python) A wheelhouse bundle, a mirror, or both.
    node Vendor node_modules inside the bundle. A Node bundle without vendored dependencies fails offline, even if an npm mirror is set. A bundle with no dependencies needs nothing.
    python, binary Not supported. The runner refuses these types.
  5. (Optional) Deliver the wheelhouse bundles to Agent Studio.
    Use one of the following methods:
    • Upload the bundle to the Agent Studio catalog as a tools artifact, and attach it to an agent during authoring. See Uploading a tool artifact.
    • Include the bundle at tools/name/ inside a complete agent bundle, and upload the whole agent. See Uploading an agent artifact.
    The size limit is 64 MB for each bundle. Agent Studio rejects larger bundles.
  6. (Optional) Hide the built-in web search tool from the model.

    The built-in web_search tool needs the public internet and returns "Search failed" after a timeout in an air-gapped cluster. To hide the tool, add the following entry to the config.json file of the agent bundle:

    "disallowedTools": ["web_fetch"]
  7. Assign users to roles so that they can sign in and use Agent Studio.
  8. Verify the installation.
    1. Wheelhouse without a mirror: Start a session with a complete wheelhouse MCP server.
      The MCP server starts and lists its tools, and makes no outbound connections other than DNS.
    2. Mirror: Start a session with an MCP server that you declare by package name, for example {type: PYTHON, package: X}.
      The access log of the mirror shows the package download, and the tools of the MCP server are listed.
    3. Fallback: Remove one wheel from a bundle while a mirror is configured.
      The MCP server still starts, and the mirror log shows the download of that package.

Agent Studio runs in the air-gapped environment, and MCP servers install their packages from your wheelhouse bundles, from your internal mirror, or from both, without a connection to the public internet.