Skip to navigation

Evaluate MCP-Atlas

View as MarkdownOpen in Claude

MCP-Atlas evaluates multi-step tool use against real MCP services. The NeMo Gym integration targets the 500 public tasks from ScaleAI/MCP-Atlas, at revision 8c563b55d7c967755f474299848049834d624617, with the upstream ghcr.io/scaleapi/mcp-atlas:1.2.7 agent-environment image.

This integration is pending runtime validation. The catalog includes the five Slack definitions recovered from the upstream export and matched to the pinned package, and preparation covers all 500 tasks. An authenticated listing, account scopes and seeded workspace still require validation. The OpenSandbox exec transport and network policy also require deployment validation: evaluated code must be unable to reach other rollouts or the NeMo Gym control plane before benchmark scoring. Unit tests and a policy request do not establish that boundary.

Backends

The system that serves a task’s tools is the resources server’s backend, selected by mcp_atlas.resources_servers.mcp_atlas.backend. The public default and only built-in backend is scale_live: one sandbox of the upstream agent-environment image per rollout, serving the task’s MCP servers against live services with your credentials. Every prepared row records verifier_metadata.backend, every verify response reports backend and a provenance record, and a server refuses rows prepared for another backend. The resources-server README describes how a deployment adds a backend.

Prepare the runtime and accounts

Complete installation and configure a policy endpoint that supports function calls. The benchmark includes the shared OpenSandbox provider config and references its named sandbox block. Configure approved host-side OPENSANDBOX_DOMAIN and OPENSANDBOX_API_KEY through normal secret configuration, and use the OCI image ghcr.io/scaleapi/mcp-atlas:1.2.7 or its approved deployment rewrite. Follow the resources-server setup to validate image architecture, user permissions and filesystem access on the deployment.

Supply an operator-reviewed YAML overlay that declares the deployment’s enforcement, sandbox.opensandbox.networking.enforces_network_policy: true, and sets mcp_atlas_sandbox_options.network_policy with explicit defaultAction: deny. Without the declaration the server refuses to start for scoring, before any sandbox is allocated; make it only after the checks below. The server rejects fields the installed OpenSandbox SDK drops or changes, including unsupported port restrictions. Allow only the task-service and bootstrap endpoints actually needed on the deployment; cached tools may start without package downloads. The deployed boundary must protect peer, host, provider and NeMo Gym destinations. Verify IP-level enforcement, IPv6 handling and policy-management protection from evaluated code; DNS-only filtering is insufficient. Run simultaneous A/B private-marker tests with trusted host-proxy positive controls under the same deployment and policy before scoring. No service allowlist is invented here.

Provision the service credentials in the runtime environment using the upstream variable names listed in SERVICE_ENV_NAMES. Airtable, Google Calendar, Notion, MongoDB and Slack also require accounts populated with the upstream data_exports/ fixtures. Use approved secret configuration; do not put credential values in commands or commits. Each sandbox receives only known service credentials for its enabled servers, including filtering known credential names supplied through sandbox_env. At startup the server reads the datasets declared for it (relative paths resolve through Gym’s component search roots: NEMO_GYM_EXTRA_ROOTS or --search-dir, the current directory, the install root) and fails fast when a credential their servers need is missing. A dataset it cannot find or read is logged with checked at seed time and left to the seed-time check, which rejects the task with HTTP 422 before any sandbox is allocated. Missing required credentials fail startup; at each seed, missing credentials, unknown server names or an empty server list reject the seed with HTTP 422. Recognized authentication failures in health or tool listing reject configuration after sandbox cleanup instead of becoming masked startup failures. Credential presence does not validate scopes, seeded accounts or quotas. Keep model, judge and provider credentials host-side rather than adding them to the task’s sandbox_env.

The default sandbox_files: null selects provider-specific package configuration with the existing July 17, 2026 resolution cutoff. OpenSandbox keeps the image’s private uv and npm cache locations; Apptainer development uses writable /tmp/uv-cache and /tmp/npm-cache. A supplied sandbox_files mapping replaces these defaults, including an empty mapping. The required OpenSandbox HTTP helper is still staged.

Validate the committed Slack schemas against an authenticated image export using export_tool_catalog.py. The exporter combines saved /list-tools responses. Preserve every supported tool requested by the tasks; do not remove Slack tasks or replace their schemas with guesses.

Prepare all 500 tasks

Run from the repository root:

gym eval prepare --benchmark mcp_atlas

Preparation downloads the pinned public Parquet file and writes benchmarks/mcp_atlas/data/mcp_atlas_benchmark.jsonl. It requires 500 rows and refuses requested tools missing from an image-supported server’s catalog. Tools belonging to servers the image does not ship are recorded in verifier_metadata.dropped_tools, following the upstream integration.

The pinned dataset has one tool-version mismatch: task 6887c6d4614f06dc73af2411 requests clinicaltrialsgov-mcp-server_clinicaltrials_search_studies. The upstream configuration pins clinicaltrialsgov-mcp-server@1.0.8, which does not register that name. NeMo Gym keeps this task and records it in dropped_tools, without inventing an alias or upgrading the server. This exception matches only that task/tool pair; every other missing tool of a supported server still fails preparation. The pinned package source is Apache-2.0 licensed. The pinned Atlas harness, licensed under MIT, likewise offers only tools actually listed by the image. This handling is implemented independently; no package code or replacement schema is copied.

Configure and collect

These keys control the benchmark’s runtime:

KeyPurpose
mcp_atlas.resources_servers.mcp_atlas.backendThe backend that serves the tools; scale_live is the default and the only public one.
mcp_atlas_sandbox_imageOCI image reference for OpenSandbox (scale_live).
mcp_atlas_sandbox_providerNamed or inline provider configuration; defaults to sandbox.
mcp_atlas_sandbox_optionsProvider create options, including the reviewed network policy.
mcp_atlas.resources_servers.mcp_atlas.sandbox_max_concurrencyMaximum simultaneous task sandboxes.
mcp_atlas_judge_base_urlOpenAI-compatible judge endpoint.
mcp_atlas_judge_model_nameExact judge model name served by that endpoint.
mcp_atlas_judge_api_keyJudge credential; resolve it from the runtime environment.

The defaults select Gemini 3.1 Pro (gemini-3.1-pro-preview) on Google’s OpenAI-compatible endpoint. Changing the judge, sampling or task set changes the comparison protocol. The benchmark config selects the Simple Agent, its resources server and one repeat per task.

Once the credential, catalog and network prerequisites are satisfied, the benchmark command starts the resources, agent and model-wrapper servers, collects responses and verifies final answers:

gym eval run --benchmark mcp_atlas \
--config /absolute/path/mcp-atlas-network.yaml \
--model-type vllm_model --model-url http://POLICY_HOST:8000/v1 --model POLICY_MODEL \
--output results/mcp_atlas/rollouts.jsonl \
++mcp_atlas_sandbox_image=ghcr.io/scaleapi/mcp-atlas:1.2.7 \
++mcp_atlas_judge_api_key='${oc.env:MCP_ATLAS_JUDGE_API_KEY}'

Set MCP_ATLAS_JUDGE_API_KEY through approved secret configuration before starting the command. Use --limit 3 for a small smoke; a limited run is not the 500-task benchmark. The development-only mcp_atlas_sandbox_url connects every task to one shared environment. This and the explicit Apptainer development config require mcp_atlas_development_mode: true (or the equivalent resources-server field) and must not be used for scores. The resources-server README documents the local SIF development path. Custom Apptainer providers must specify --cleanenv/-e or --containall/-C for both instance-start and exec. Externally inherited APPTAINERENV_/SINGULARITYENV_ variables are rejected; unset them. Raw --env/--env-file extra arguments are also rejected on both paths. Set workload values through sandbox_env so task credential scoping applies; the provider’s internal environment file generated from SandboxSpec.env is retained. These guards do not establish deployment isolation.

Tool calls within one rollout run serially under its session lock. Verification waits for the active call; a close ends it, so an abandoned episode frees its sandbox without waiting for the bridge deadline. tool_call_timeout_s is a fresh per-call bridge/provider budget (1860 s by default); cancellation cleanup can add delay, and the sandbox’s remaining TTL can expire earlier. Different rollouts can run concurrently. The pinned upstream evaluation driver uses a default 1800 s per-task request deadline and records timeout as an ERROR response. This resources server sets no per-task wall-clock deadline. The bridge default gives a response that task budget plus 60 s of transport headroom; it is not a limit enforced on every tool’s program. The bridge timeout and sandbox TTL do not reproduce the upstream task deadline. Real program deadlines still need runtime qualification before scores are accepted.

Inspect results and failures

The verifier judges each ground-truth claim against the final assistant answer. A fulfilled claim scores 1, a partial claim 0.5 and an unfulfilled claim 0. Coverage is the mean claim score rounded to three places. reward is 1 when coverage reaches 0.75. Thus mean/reward is pass rate, while mean/coverage measures claim coverage; neither is a percentage unless multiplied by 100 for display.

Read the saved trajectories, verdicts, coverage, reward, tool_calls, service_errors and provenance (the backend, its sandbox settings and, for scale_live, the count of known-unavailable service replies) alongside the rollout-health artifacts. Environment or judge failures are masked separately from model failures. An execution-deadline error actually returned by an MCP tool for model-written code is scored. Returned errors from local program, command, file and state tools also remain model observations even when their text says Client failed to connect or session was closed. An actual bridge/provider transport timeout is an infrastructure failure. When a transport failure follows a call to a program or command tool, scale_live probes the sandbox through its provider: a sandbox that still answers while its own server does not was ended from inside, and that rollout is scored with environment_destroyed in service_errors, as upstream feeds every tool failure back to the model. A loss the provider reports, or a failure in a rollout that ran no program or command, stays a masked infrastructure failure. For servers outside the local-tool list, a returned error with a recognized leading connection/session diagnostic remains service_error, masked when mask_service_errors is set. Returned errors from those local tools are still scored; a returned connection error from memory or filesystem, for example, remains a model observation. Legacy saved tool_timeout markers do not establish a model-program timeout; re-verification preserves their historical service-failure masking policy rather than relabeling them as model outcomes. Recognized authentication errors from credentialed, enabled services on trusted startup or tool-error paths reject configuration with HTTP 422 at the resources boundary before judging or producing a reward. Successful HTTP 200 content remains opaque, even when its text resembles an authentication or service error; errors from tools that need no credentials do not establish a credential failure. On tool calls to a credentialed, enabled service, a trusted HTTP 401 is an authentication failure. A bare HTTP 403 or Forbidden diagnostic remains a service failure unless it provides explicit credential or scope evidence. Recognized GitHub primary or secondary rate-limit diagnostics with HTTP 403 remain service failures subject to mask_service_errors. During startup, a 403 without credential/scope evidence does not establish an authentication failure; failed health or tool listing instead remains a masked sandbox_start_failed outcome. An API auth or quota error inside HTTP 200 content without an MCP error flag is not automatically classified as a failure. Before benchmark scoring, make a known-good call to each credentialed service used by the task set and capture its actual success and error formats without credential values. Ordinary closed/lost sessions verify as masked session_lost; closing an authentication-rejected session does not erase its rejection during the configured close retry window. HTTP 422 is a resource-boundary signal: Simple Agent presents the tool’s 422 body to the model as tool output and may continue model turns; the later /verify 422, or a /seed_session 422 before any model turn, ends the episode as an environment-server failure, recorded ungraded in the failures sidecar and dropped from the score while collection continues. Inspect that evidence and fix credentials and scopes before using results. Confirm the complete expected task set and inspect failed rows before reporting an aggregate. The integration has not yet been baselined; retain verified: false until review and representative real model rollouts support it. Collect and inspect five genuine example rollouts with a model before treating the integration as validated.

Before committing actual rollout artifacts, scan every JSONL being published, including failure and materialized-input sidecars, using the service credential values used for collection and supplied through approved environment configuration. For a dedicated output directory:

python -m resources_servers.mcp_atlas.validate_rollouts results/mcp_atlas/*.jsonl

The scanner checks raw JSONL and decoded JSON strings for exact nonblank values. Output contains only file/line locations, credential names and counts. Check the reported number of credential values: a zero-value scan is legitimate for key-free tasks, but does not establish that credentials are absent from artifacts. Confirm the count matches the actual configured services. This check cannot detect arbitrary encoded exfiltration and does not replace scoped credentials or network isolation. Absent or synthetic example rollouts are not genuine artifacts to publish.

Use the generated materialized inputs and rollout files for repeat analysis:

gym eval profile \
--inputs results/mcp_atlas/rollouts_materialized_inputs.jsonl \
--rollouts results/mcp_atlas/rollouts.jsonl

Profiling cannot repair missing tasks, credentials or incomplete rollouts. The implementation README records tool limits, timeout behavior, masking rules, upstream differences and source/data attribution.