Anthropic · Capability

Anthropic Managed Agents API — Environments

Claude Managed Agents — Environments resource. 4 operations. Lead operation: Create Environment. Configure cloud containers (or self-hosted sandboxes) including package preinstalls and networking policies. Referenced from Sessions. Requires the managed-agents-2026-04-01 beta header.

Anthropic Managed Agents API — Environments is a Naftiko capability published by Anthropic, one of 22 capabilities the APIs.io network indexes for this provider. It bundles 4 operations.

The capability includes 2 read-only operations and 2 state-changing operations. Lead operation: Anthropic Create Environment. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Anthropic, Environments, Managed Agents, Beta, and Containers.

Run with Naftiko AnthropicEnvironmentsManaged AgentsBetaContainers

MCP Tools

anthropic-create-environment

Anthropic Create Environment

anthropic-list-environments

Anthropic List Environments

read-only idempotent
anthropic-get-environment

Anthropic Get Environment

read-only idempotent
anthropic-delete-environment

Anthropic Delete Environment

idempotent

Capability Spec

managed-agents-environments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Anthropic Managed Agents API — Environments
  description: 'Claude Managed Agents — Environments resource. 4 operations. Lead
    operation: Create Environment. Configure cloud containers (or self-hosted
    sandboxes) including package preinstalls and networking policies. Referenced
    from Sessions. Requires the managed-agents-2026-04-01 beta header.'
  tags:
  - Anthropic
  - Environments
  - Managed Agents
  - Beta
  - Containers
  created: '2026-05-22'
  modified: '2026-05-22'
binds:
- namespace: env
  keys:
    ANTHROPIC_API_KEY: ANTHROPIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: managed-agents-environments
    baseUri: https://api.anthropic.com
    description: Environments API — cloud container configuration for sessions.
    headers:
      anthropic-version: '2023-06-01'
      anthropic-beta: managed-agents-2026-04-01
    resources:
    - name: v1-environments
      path: /v1/environments
      operations:
      - name: createenvironment
        method: POST
        description: Anthropic Create Environment
        outputRawFormat: json
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
      - name: listenvironments
        method: GET
        description: Anthropic List Environments
        outputRawFormat: json
    - name: v1-environments-id
      path: /v1/environments/{environment_id}
      operations:
      - name: getenvironment
        method: GET
        description: Anthropic Get Environment
        outputRawFormat: json
        inputParameters:
        - name: environment_id
          in: path
          type: string
          required: true
      - name: deleteenvironment
        method: DELETE
        description: Anthropic Delete Environment
        outputRawFormat: json
        inputParameters:
        - name: environment_id
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.ANTHROPIC_API_KEY}}'
      placement: header
  exposes:
  - type: mcp
    namespace: managed-agents-environments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Managed Agents — Environments.
    tools:
    - name: anthropic-create-environment
      description: Anthropic Create Environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: managed-agents-environments.createenvironment
      with:
        body: tools.body
    - name: anthropic-list-environments
      description: Anthropic List Environments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: managed-agents-environments.listenvironments
    - name: anthropic-get-environment
      description: Anthropic Get Environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: managed-agents-environments.getenvironment
      with:
        environment_id: tools.environment_id
    - name: anthropic-delete-environment
      description: Anthropic Delete Environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: managed-agents-environments.deleteenvironment
      with:
        environment_id: tools.environment_id