Skip to main content
This guide walks you through running Scale Gymnasium environments on your own infrastructure using Docker. Select the environment type you want to deploy:
Prerequisites:
  • Docker installed (version 20.10+)
  • Docker images from Scale (contact Scale to receive)

MCP Environments

Deploy MCP (Model Context Protocol) server environments with 50+ available tools across calendar, email, CRM, filesystem, Slack, and more.

Step 1: Load the Docker Image

The MCP environment is distributed as agent-environment.tar. Load it into your local registry:
Verify the image is available:

Step 2: Run the Container

Start the container, exposing port 1984:
The environment is now running at http://localhost:1984.Optionally, load a specific scenario by passing a universe ID:

Step 3: Initialize a Session

Reset the environment to start a new episode:You can optionally pass a universe_id in the request body to load a specific scenario:

Step 4: Interact with the Environment

Example: List available tools
Example: Call a tool
See the MCP Environment API Reference for all available endpoints.

Step 5: Verify Results

See the MCP Verifiers guide for more details on verification.

Success!

You’ve deployed an MCP environment locally. You can now:
  • Scale to multiple parallel containers
  • Integrate with your training pipeline
  • Implement your own agent loop

Next Steps

Web UI Guide

Complete walkthrough of the Gymnasium Web interface

API Reference

Full API documentation for all endpoints