Volver al catálogo

Porter MCP

porter_mcp

Create and manage Porter projects, clusters, applications, jobs and sandboxes, and read logs and metrics, through Porter's hosted MCP server.

Acciones
48
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (48)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Check aws cluster quotaPORTER_MCP_CHECK_AWS_CLUSTER_QUOTAAcción

Check whether an AWS cloud account has quota (vCPUs, elastic IPs, NAT gateways, VPCs, availability zones) to provision a Porter cluster in a region. Run before create_cluster, which does not reject on insufficient quota: each failed check reports usage against the limit and the AWS console link where the user can request an increase, and quota increase requests already open with AWS are listed when quota is insufficient. Omit node_groups to check the node groups create_cluster provisions, or pass the node groups an existing cluster will be updated to. A cloud account on any other provider returns status not_applicable. Accepts a project ID or exact name and a cloud account ID.

Parámetros de entrada

  • regionstringObligatorio

    AWS region to check quota in, e.g. us-east-1

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • node_groupsobject[]

    Node groups the cluster will be created with; quota is checked against this shape. Omit to check against the node groups create_cluster provisions. Ignored for every provider other than AWS

  • cloud_account_idstringObligatoriouuid

    Cloud account ID

Parámetros de salida

  • statusstringObligatorioenum
    sufficientinsufficientnot_applicable
  • contextobjectObligatorio
  • quota_checksobject[]Obligatorio
  • quota_requestsobject[]Obligatorio
  • quota_requests_errorstring

    Why the quota increase requests already open with AWS could not be listed. When set, quota_requests is empty because the lookup failed, not because no requests are open, so do not tell the user there are none

Connect cloud accountPORTER_MCP_CONNECT_CLOUD_ACCOUNTAcción

Connect a cloud account to a Porter project and return the one action that advances the connection. For AWS and GCP it returns immediately without waiting, so poll get_cloud_account_status until state is connected; for Azure the final call connects the subscription before it returns. Safe to call repeatedly: the server is idempotent per account, so retrying never creates a duplicate account, and only gcp.reissue_setup_command invalidates an access grant already handed out. If the user has not named an account, omit the provider details object entirely: the response explains how to discover the account ID and confirm it with the user. The access grant must be applied in the account being connected; applying it in a different account leaves the connection waiting forever. For Azure, call once with only azure.subscription_id to get the setup script command, run it for the user, then call again adding the azure.client_id and azure.tenant_id it printed. For GCP, call once with gcp.project_id: the response carries the Cloud Shell url and the cloud_shell_command the user pastes there, which you never run. Calling again while the setup is pending returns poll_status without a new command; set gcp.reissue_setup_command only when the command expired, was lost, or get_cloud_account_status reports not_connected with next_step call_connect_cloud_account. GCP accounts still using a service account key return gcp_prerequisite_missing with next_step resolve_gcp_prerequisite; resume their migration in the dashboard instead of reissuing through this tool.

Parámetros de entrada

  • awsnull | object

    AWS account details; required when provider is aws

  • gcpnull | object

    GCP project details; required when provider is gcp

  • azurenull | object

    Azure subscription details; required when provider is azure

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • providerstringObligatorioenum

    Cloud provider to connect: aws, azure, or gcp

    awsazuregcp

Parámetros de salida

  • urlstring

    Console URL a human opens to grant Porter access to the account; for AWS it launches the PorterRole CloudFormation stack, for GCP it opens Google Cloud Shell with Porter's onboarding repository loaded. Present when next_step is apply_cloudformation or run_gcp_setup_in_cloud_shell

  • statestringObligatorioenum

    Where the cloud account sits in the connect flow

    awaiting_account_idawaiting_cloudformationcloudformation_appliedawaiting_azure_setupazure_federation_propagatingazure_prerequisite_missingawaiting_gcp_bootstrapgcp_prerequisite_missingfinalizing_connectionconnectednot_connected
  • messagestringObligatorio

    Human-readable explanation of the current state and what unblocks it

  • next_stepstringObligatorioenum

    The single action that advances the connection from state

    nonedetect_aws_accountdetect_azure_subscriptiondetect_gcp_projectapply_cloudformationrun_azure_setup_scriptrun_gcp_setup_in_cloud_shellpoll_statuscall_connect_cloud_accountresolve_azure_prerequisiteresolve_gcp_prerequisite
  • trust_arnstring

    Porter principal the granted access will trust: the IAM role assumed for AWS, the federated credential subject for Azure. Show it to the user before they grant access

  • expires_atstringdate-time

    GCP only: when cloud_shell_command stops working. After this, call connect_cloud_account again with gcp.reissue_setup_command true for a fresh one

  • cli_commandstring

    Provider CLI command that grants access without a browser; for AWS it creates the PorterRole stack, for Azure it runs Porter's setup script with the signed-in az CLI. Run it only after the user confirms, and change it only by appending flags, such as --profile or --region on each aws invocation in it

  • cloud_account_idstring

    Porter's identifier for the cloud account; present once the account exists

  • cloud_shell_commandstring

    GCP only: the one-line setup command the user pastes into the Google Cloud Shell opened from url. Never run it locally and never write it to logs; it carries a one-time token that stops working at expires_at. Present when next_step is run_gcp_setup_in_cloud_shell

Connect githubPORTER_MCP_CONNECT_GITHUBAcción

Check whether Porter can reach a GitHub repository and return the browser action required to connect it.

Parámetros de entrada

  • repositorystringObligatorio

    GitHub repository in owner/name form

Parámetros de salida

  • urlstring

    Browser URL that completes next_step; omit when next_step is none

  • messagestringObligatorio

    Human-readable explanation of the current connection state

  • next_stepstringObligatorioenum

    none when connected; otherwise the browser action that unblocks this repository

    noneauthorize_oauthinstall_appadd_repositoryrequest_org_install
  • github_usernamestring

    GitHub username bound to the Porter user's OAuth connection

Connect slackPORTER_MCP_CONNECT_SLACKAcción

Report the Slack channels connected to a Porter project, or return the browser URL that connects one. The channel is chosen on Slack's own install screen, not through this tool. After the user returns from the browser, call it again to confirm the connection. Accepts a project ID or exact name.

Parámetros de entrada

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • urlstring

    Browser URL that starts the Slack install; omitted when next_step is none

  • messagestringObligatorio

    Human-readable explanation of the current connection state

  • channelsstring[]

    Slack channels that receive the project's notifications; omitted when none are connected

  • next_stepstringObligatorioenum

    none when a Slack channel is connected; install_app when the user must complete the Slack install in a browser

    noneinstall_app
Create appPORTER_MCP_CREATE_APPAcción

The recommended way to create a Porter application is to provide GitHub source and a build configuration. Before using that flow, call connect_github with the repository; proceed only when next_step is none, and otherwise return the tool's URL and message to the user instead of creating the application. In this flow, Porter initially creates the application with its placeholder image and opens a GitHub Actions workflow pull request; merge the pull request to build and deploy the application's code. Use image only when the deployable image already exists. Use build without source or image only for local development; the response includes a local_build_command field with the porter apply invocation to run from the local repository. Fails if an application with the same name already exists in the target project or cluster. Never updates an existing application; use update_application instead. Resolves the deployment target from cluster and optional namespace, defaulting to the cluster's default deployment target. Omit cluster only to deploy on Porter Cloud: when get_project reports porter_cloud_enabled is true and the user has agreed, Porter assigns the project a ready cluster (the same one on every later call) and deploys to it in this call.

Parámetros de entrada

  • namestringObligatorio

    Name of the application to create

  • buildnull | object

    Build configuration. Use with source for the recommended GitHub Actions flow; use without source only for local development. Mutually exclusive with image

  • imagenull | object

    Already-built image to deploy. Use only when the deployable image already exists; for the recommended GitHub flow, omit image and provide source and build. Mutually exclusive with source and build

  • sourcenull | object

    GitHub source for the recommended source-and-build flow; requires build and is mutually exclusive with image

  • clusterinteger | string

    Cluster ID or exact cluster name or vanity name. Omit only to deploy on Porter Cloud, when get_project reports porter_cloud_enabled is true and the user has agreed to it

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • secretsobject[]

    Secret environment variables

  • servicesobject[]Obligatorio

    Services to run in the application

  • namespacestring

    Namespace of the deployment target to deploy to; ignored if deployment_target is set

  • predeploynull | object

    Predeploy job to run before each deploy

  • variablesobject[]

    Plaintext environment variables

  • auto_rollbacknull | boolean

    Whether to automatically roll back on a failed deploy

  • helm_overridesnull | string

    Raw Helm values overrides

  • deployment_targetstring

    Deployment target ID or exact name; when omitted along with namespace, resolves to the cluster's default deployment target

  • deployment_strategynull | object

Parámetros de salida

  • contextobjectObligatorio
  • warningstring
  • github_pr_urlstring
  • application_idstring
  • placeholder_imageboolean

    True if the created application is running Porter's placeholder image, not the caller's real code

  • local_build_commandnull | object

    Command to run from the local repository to build and deploy the application; only present when build is set without source or image

Create aws quota requestPORTER_MCP_CREATE_AWS_QUOTA_REQUESTAcción

File quota increase requests with AWS for every quota check_aws_cluster_quota would fail for a cloud account in a region, sized to cover current usage plus the cluster. Quotas with a request already pending or approved are reported, not re-filed. Call after check_aws_cluster_quota reports insufficient quota and the user agrees to request increases; AWS approval is asynchronous and takes anywhere from an hour to a day or more, so tell the user to expect a wait, poll list_aws_quota_requests, and re-run check_aws_cluster_quota before create_cluster. Omit node_groups to request for the node groups create_cluster provisions. AWS only: a cloud account on any other provider is an error. Accepts a project ID or exact name and a cloud account ID.

Parámetros de entrada

  • regionstringObligatorio

    AWS region to request quota in, e.g. us-east-1

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • node_groupsobject[]

    Node groups the cluster will be created with; quota is requested for this shape. Omit to request for the node groups create_cluster provisions

  • cloud_account_idstringObligatoriouuid

    Cloud account ID

Parámetros de salida

  • quota_requestsobject[]Obligatorio

    One entry per quota the node groups are short on; empty when quota was already sufficient

Create clusterPORTER_MCP_CREATE_CLUSTERAcción

Provision a new Porter cluster into a connected AWS, GCP, or Azure cloud account (the provider is inferred from the account). Porter picks the Kubernetes version, node groups, and network CIDRs; only a name and region are needed. For an AWS account, call check_aws_cluster_quota for the same cloud account and region first and do not create when it reports insufficient quota: a quota shortfall does not reject the create, Porter files the increase request with AWS and provisioning waits up to 90 minutes for approval. Other preflight failures, such as unavailable availability zones or conflicting CIDRs, reject the create and name the failing checks in the error. Provisioning is asynchronous: the cluster is returned before it is ready, so poll get_clusters for status. Accepts a project ID or exact name and a cloud account ID.

Parámetros de entrada

  • namestringObligatorio

    Name for the new cluster: 1-40 characters (at most 23 on GCP), lowercase letters, numbers, and hyphens, starting with a letter

  • regionstringObligatorio

    Region in the cloud account's provider to provision the cluster in, e.g. us-east-1 (AWS), us-east1 (GCP), or eastus (Azure)

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • cloud_account_idstringObligatoriouuid

    Cloud account to provision into; the cluster's provider (AWS, GCP, or Azure) is inferred from it

Parámetros de salida

  • cluster_idintegerObligatorio
  • contract_revision_idstringObligatoriouuid

    Contract revision that started provisioning

Create github workflowPORTER_MCP_CREATE_GITHUB_WORKFLOWAcción

Create or re-create the GitHub Actions workflow pull request for a Porter application. Porter generates the workflow YAML, opens a PR in the application's GitHub repository, and configures the required GitHub secrets. Use this when create_app returned a placeholder application without a PR URL (the workflow PR creation failed), or when an existing application is missing its workflow PR. Returns the pull request URL to merge for building and deploying the application's real code.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • github_pr_urlstringObligatorio
Create projectPORTER_MCP_CREATE_PROJECTAcción

Create a Porter project owned by the caller and return its identifier. Not idempotent: every call creates a new project, so a retry leaves a duplicate behind. Confirm the name with the user before calling, and reuse an existing project from get_projects when one already fits.

Parámetros de entrada

  • namestringObligatorio

    Name of the project to create

Parámetros de salida

  • idintegerObligatorio

    Unique identifier of the created project

  • namestringObligatorio
Create sandboxPORTER_MCP_CREATE_SANDBOXAcción

Create a sandbox, an isolated container started from an image, on a Porter cluster that has sandboxes enabled. The call may return before the sandbox is running: poll get_sandbox until phase is running, then run commands with exec_sandbox. Put secrets in env, never in exec_sandbox commands. allowed_destinations restricts outbound traffic and needs egress_enabled on the cluster, see update_sandbox_settings. An image that cannot be pulled fails this call. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • envobject

    Environment variables to set in the sandbox, keyed by name

  • argsstring[]

    Arguments passed to the command

  • imagestring

    Container image to run, for example node:22-slim. Omit to run python:3.14-slim

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • commandstring[]

    Image entrypoint override

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • allowed_destinationsstring[]

    Only destinations the sandbox may reach, plus cluster DNS: lowercase hostnames without a port, *.example.com wildcards (any depth, not example.com itself), IPs, CIDR ranges, or name.namespace.svc.cluster.local Services. An empty list blocks all other outbound traffic. Omit for public internet access

Parámetros de salida

  • idstringObligatorio
  • contextobjectObligatorio
Delete addonPORTER_MCP_DELETE_ADDONAcción

Uninstall an addon from a Porter cluster and remove its configuration, including the deploy token Porter issued for it. The addon's workloads stop before the call returns; its Postgres database is not touched, since the caller supplied it. Use it to clear a failed install before installing again, or when the user asks to remove QM. Confirm with the user first. Fails if the addon does not exist.

Parámetros de entrada

  • namestringObligatorio

    Name of the addon to delete

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • namestringObligatorio
  • contextobjectObligatorio
  • messagestringObligatorio
Enable sandboxesPORTER_MCP_ENABLE_SANDBOXESAcción

Enable sandboxes on a Porter cluster, which adds a sandbox node group and installs the sandbox runtime. Only AWS EKS clusters that have finished provisioning are supported. The call returns before the runtime is up: poll get_sandbox_settings until ready is true, then use create_sandbox. Safe to call again; already_enabled reports that nothing changed. There is no tool to disable sandboxes. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • already_enabledbooleanObligatorio

    True when sandboxes were already enabled and nothing changed

  • contract_revision_idstringObligatoriouuid

    Cluster contract revision that has sandboxes enabled

Exec sandboxPORTER_MCP_EXEC_SANDBOXAcción

Run a command in a running sandbox on a Porter cluster that has sandboxes enabled, and return its stdout, stderr, and exit code. A non-zero exit_code is a normal result, not a tool error. The sandbox must be in phase running; check with get_sandbox. Each stream is capped to its last 32 KB, with truncated=true when either was cut, so for large output redirect to a file inside the sandbox and read slices with head, tail, or grep. Keep commands under about a minute; for longer work start it in the background with output redirected to a file, then poll with short commands. Commands are recorded in the sandbox's event log, so never put secrets in a command; pass them as env at create_sandbox. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • commandstring[]Obligatorio

    Command and arguments to run, one array element per argument; run directly, not through a shell, unless you invoke one, e.g. ["sh", "-c", "..."]

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • sandbox_idstringObligatorio

    Sandbox ID returned by create_sandbox

Parámetros de salida

  • stderrstringObligatorio
  • stdoutstringObligatorio
  • exit_codeintegerObligatorio
  • truncatedbooleanObligatorio

    Whether stdout or stderr was cut to its last 32 KB

Get addonsPORTER_MCP_GET_ADDONSAcción

List the addons installed on a Porter cluster with each addon's type, install status, and, for QM, its URL and sign-in state. Accepts a cluster name or ID. Requires project. Call before install_addon to see whether QM is already there.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • addonsobject[]Obligatorio
  • contextobjectObligatorio
  • truncatedbooleanObligatorio

    True when the cluster has more addons than the 50 listed

Get addon statusPORTER_MCP_GET_ADDON_STATUSAcción

Report where an addon on a Porter cluster is in its install, changing nothing. Poll it after install_addon or update_addon, waiting between calls, until status is installed, waiting_for_sso, or failed. waiting_for_sso means QM runs but oidc sign-in has no client ID yet; read error_message first, and if it is empty finish sign-in with update_addon. not_found is a status, not an error, so it is safe to poll after delete_addon.

Parámetros de entrada

  • namestringObligatorio
  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • jobsobject[]Obligatorio

    One-off jobs the addon runs during install, with each job's status, failed attempts, and pods

  • addonobjectObligatorio

    The addon; status is not_found when no addon has this name

  • contextobjectObligatorio
  • messagestringObligatorio

    The current state and what unblocks it

  • servicesobject[]Obligatorio

    Workloads the addon runs, with how many replicas pass their readiness check and each pod's state and reason

Get applicationPORTER_MCP_GET_APPLICATIONAcción

Return configuration for a Porter app and its services. Accepts an app name or UUID. Requires project. Never returns variables, secrets, or environment_groups.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • appobjectObligatorio
  • contextobjectObligatorio
  • servicesobject[]Obligatorio
Get application metricsPORTER_MCP_GET_APPLICATION_METRICSAcción

Query one time-series metric for one Porter application service. Returns resolved context, the effective bounded UTC query, and normalized series without diagnoses or summaries.

Parámetros de entrada

  • appstringObligatorio

    Exact application name or UUID

  • metricstringObligatorioenum

    Single application metric to query

    cpu_usagecpu_reservedmemory_usagememory_reservedautoscaling_cpu_thresholdautoscaling_memory_thresholdapplication_process_instance_countnetwork_received_bytes_ratenetwork_transmitted_bytes_rateingress_latency_p50ingress_latency_p95ingress_latency_p99+7
  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • group_bystring[]

    Optional API labels used to separate time series

  • end_time_utcstringdate-time

    RFC3339 UTC window end; defaults to the current time

  • service_namestringObligatorio

    Exact application process or service name

  • start_time_utcstringdate-time

    RFC3339 UTC window start; defaults to one hour before the effective end time

  • aggregate_functionstringenum

    Optional aggregation; usage and network metrics default to avg in the Porter API

    avgsummaxmin

Parámetros de salida

  • queryobjectObligatorio
  • seriesobject[]Obligatorio
  • contextobjectObligatorio
Get application revisionsPORTER_MCP_GET_APPLICATION_REVISIONSAcción

List revisions for a Porter app (newest first), returning up to 50 at a time with cursor pagination. Accepts an app name or UUID. Requires project.

Parámetros de entrada

  • appstringObligatorio

    App name or UUID

  • cursorstring

    Opaque cursor returned by a previous call

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • revisionsobject[]Obligatorio
  • nextCursorstring

    Opaque cursor for the next page; omitted when there are no more revisions

Get applicationsPORTER_MCP_GET_APPLICATIONSAcción

List applications in a Porter project with cursor-based pagination, optionally filtered by name or deployment target. Accepts a project ID or exact name. Each response is one page; pass nextCursor as cursor with the same project to continue until nextCursor is omitted. The cursor preserves the original filters.

Parámetros de entrada

  • namestring

    Optional filter for application name, matches any part of the name (case insensitive)

  • limitinteger

    Max applications to return, defaults to 10, max 100

  • cursorstring

    Opaque cursor returned by a previous call; it carries that call's filters, so pass it alone to read the next page of the same listing

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • created_beforenull | stringdate-time

    Return applications created before this time, defaults to now. Omit when passing a cursor

  • deployment_target_idstring

    Deployment target ID to filter applications by

Parámetros de salida

  • nextCursorstring

    Opaque cursor for the next page; omitted when there are no more applications

  • applicationsobject[]Obligatorio
Get application statusPORTER_MCP_GET_APPLICATION_STATUSAcción

Return status for a Porter app: resolved IDs plus current revision and process health. Accepts an app name or UUID. Requires project. Does not include revision history, logs, or notifications.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • application_statusobjectObligatorio

    Current application revision and process health

Get app logsPORTER_MCP_GET_APP_LOGSAcción

Fetch capped runtime logs for a Porter app. Filter by time window, service, revision, search, pod/container. Requires project. Returns truncated=true when capped.

Parámetros de entrada

  • appstringObligatorio

    App name or UUID

  • limitinteger

    Maximum number of logs to return

  • searchstring

    Case-insensitive substring to find in log lines

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • pod_namestring
  • container_idstring
  • end_time_utcstringdate-time

    Defaults to now in the Porter API

  • job_run_namestring
  • newest_firstnull | boolean

    Sort logs newest first

  • service_namestring
  • start_time_utcstringdate-time

    Defaults to 24 hours ago in the Porter API

  • application_contract_revision_idnull | stringuuid

Parámetros de salida

  • logsobject[]Obligatorio
  • contextobjectObligatorio
  • truncatedbooleanObligatorio

    Whether results may have been capped by the requested limit or API maximum

  • filters_appliedobjectObligatorio
Get build statusPORTER_MCP_GET_BUILD_STATUSAcción

Report which stage of its build and deploy pipeline a Porter app is in: the latest build, pre-deploy, and deploy step, each progressing, success, or failed. Poll it to follow a deploy, for example after create_app's workflow pull request is merged, until every step is success or one is failed. Steps are the latest of each kind and can come from different pipeline runs, so compare commit_sha before reading them as one run. Accepts an app name or UUID. Requires project. Does not include build logs.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • stepsobject[]Obligatorio

    Latest build, pre-deploy, and deploy step for the app, in pipeline order; empty when the app has never built or deployed

  • contextobjectObligatorio
Get cloud account statusPORTER_MCP_GET_CLOUD_ACCOUNT_STATUSAcción

Report where a cloud account sits in the Porter connect flow, changing nothing. This is the polling companion to connect_cloud_account: poll it and follow next_step, rather than polling for one fixed state. Before Porter has created the cloud account this tool tops out at cloudformation_applied (AWS), awaiting_azure_setup (Azure), or awaiting_gcp_bootstrap (GCP) with next_step call_connect_cloud_account: only connect_cloud_account creates the account, so polling alone never reaches connected. Once an AWS account exists, poll until state is connected or not_connected; setup normally takes under a minute, and Porter gives up after 90 minutes. An Azure subscription connects synchronously inside connect_cloud_account, so its state never changes on its own: report it once and act on next_step rather than polling. A GCP project stays awaiting_gcp_bootstrap until the user has run the setup command in Cloud Shell, then moves to finalizing_connection while percent_complete rises, then connected; the setup command stops working 30 minutes after connect_cloud_account handed it out. If that command expires unused, state is not_connected and next_step is call_connect_cloud_account. If permission setup does not finish, state stays not_connected with next_step poll_status, because sync can still connect; a new Cloud Shell command cannot be issued. GCP accounts still using a service account key return gcp_prerequisite_missing with next_step resolve_gcp_prerequisite; resume their migration in the dashboard instead of reissuing through this tool.

Parámetros de entrada

  • awsnull | object

    AWS account details; required when provider is aws

  • gcpnull | object

    GCP project details; required when provider is gcp

  • azurenull | object

    Azure subscription details; required when provider is azure

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • providerstringObligatorioenum

    Cloud provider to connect: aws, azure, or gcp

    awsazuregcp

Parámetros de salida

  • statestringObligatorioenum

    Where the cloud account sits in the connect flow

    awaiting_account_idawaiting_cloudformationcloudformation_appliedawaiting_azure_setupazure_federation_propagatingazure_prerequisite_missingawaiting_gcp_bootstrapgcp_prerequisite_missingfinalizing_connectionconnectednot_connected
  • messagestringObligatorio

    Human-readable explanation of the current state and what unblocks it

  • next_stepstringObligatorioenum

    The single action that advances the connection from state

    nonedetect_aws_accountdetect_azure_subscriptiondetect_gcp_projectapply_cloudformationrun_azure_setup_scriptrun_gcp_setup_in_cloud_shellpoll_statuscall_connect_cloud_accountresolve_azure_prerequisiteresolve_gcp_prerequisite
  • cloud_account_idstring

    Porter's identifier for the cloud account; present once the account exists

  • percent_completeintegerObligatorio

    How much of Porter's access setup is done, 0-100; 0 until the account exists

Get cluster node groupsPORTER_MCP_GET_CLUSTER_NODE_GROUPSAcción

List node groups in a Porter cluster, including autoscaling bounds and cost-optimization (Karpenter) status. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • node_groupsobject[]Obligatorio
Get cluster nodesPORTER_MCP_GET_CLUSTER_NODESAcción

List nodes in a Porter cluster with resource capacity, usage, and reservation metrics. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • nodesobject[]Obligatorio
  • contextobjectObligatorio
Get cluster podPORTER_MCP_GET_CLUSTER_PODAcción

Get full detail for one pod in a Porter cluster the caller can access: owning controller, resource usage, restart count, recent events, Kubernetes metadata, extended status, and spec. Requires project, cluster, namespace, and pod_name.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • pod_namestringObligatorio

    Exact pod name

  • namespacestringObligatorio

    Exact namespace the pod belongs to

Parámetros de salida

  • kindnull | stringObligatorio
  • namestringObligatorio
  • specobjectObligatorio

    Container env vars are always omitted from the spec since they may hold unredacted secrets

  • ownernull | stringObligatorio

    Name of the owning controller (e.g. ReplicaSet, Job); null if the pod has no owner reference

  • eventsobject[]Obligatorio
  • statusstringObligatorio
  • contextobjectObligatorio
  • metadataobjectObligatorio
  • namespacestringObligatorio
  • node_namestringObligatorio
  • created_atstringObligatoriodate-time
  • api_versionnull | stringObligatorio
  • restart_countintegerObligatorio
  • resource_usageobjectObligatorio

    Request/limit values only

  • extended_statusobjectObligatorio
  • ready_containersintegerObligatorio
  • total_containersintegerObligatorio
Get cluster podsPORTER_MCP_GET_CLUSTER_PODSAcción

List pods in a Porter cluster, with status, readiness, restarts, node placement, and resource usage. Accepts a cluster name or ID. Requires project. No namespace or pod-name filtering. Returns truncated=true when capped.

Parámetros de entrada

  • limitinteger

    Maximum number of pods to return

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • podsobject[]Obligatorio
  • contextobjectObligatorio
  • truncatedbooleanObligatorio

    Whether the cluster has more pods than were returned

Get clustersPORTER_MCP_GET_CLUSTERSAcción

List clusters in a Porter project. Accepts a project ID or exact name.

Parámetros de entrada

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • clustersobject[]Obligatorio
Get cluster statusPORTER_MCP_GET_CLUSTER_STATUSAcción

Report how far a Porter cluster has got through provisioning, changing nothing. Provisioning can take up to an hour: poll until status is completed or failed, and do other work between polls rather than waiting on this call. While an EKS cluster is being deleted, deleting is true and it reports delete progress (system, network_attachments, compute, network, finalizing) instead and stops resolving once deletion finishes. A GKE or AKS cluster that is being deleted returns cluster_unavailable. Nothing can be deployed to the cluster until this reports completed. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • phasesobject[]Obligatorio
  • statusstringObligatorioenum
    queuedin_progresscompletedfailedskipped
  • contextobjectObligatorio
  • deletingbooleanObligatorio

    True while an EKS cluster is being deleted; status and phases then report delete progress

Get job runPORTER_MCP_GET_JOB_RUNAcción

Return one job run's status by its exact run name. Accepts an app name or UUID. Requires project. Searches the job's most recent 100 runs; job_run_name is the run name returned when the job was triggered. This tool does not return run history or logs; use list_job_runs for history and get_app_logs with its job_run_name filter set to the run name for output.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • job_namestringObligatorio

    Job service name

  • job_run_namestringObligatorio

    Job run name returned when the job was triggered

Parámetros de salida

  • contextobjectObligatorio
  • job_runobjectObligatorio
  • logs_tool_hintstringObligatorio
Get load balancersPORTER_MCP_GET_LOAD_BALANCERSAcción

List load balancers for a Porter cluster. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • load_balancersobject[]Obligatorio
Get node group metricsPORTER_MCP_GET_NODE_GROUP_METRICSAcción

Get provisioned node-group size over time for a Porter cluster. Fixed-size groups report node count (unit=count); cost-optimized (Karpenter) groups report provisioned CPU cores (unit=cores).

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • node_groupstringObligatorio

    Exact node-group name or ID

  • end_time_utcstringdate-time

    End of the provisioned node-group size time range; defaults to the current UTC time

  • start_time_utcstringdate-time

    Start of the provisioned node-group size time range; defaults to one hour before the effective end time

Parámetros de salida

  • contextobjectObligatorio
  • resultsobject[]Obligatorio

    Provisioned node-group size over time; fixed-size groups use count and cost-optimized (Karpenter) groups use cores

  • time_rangeobjectObligatorio
Get notificationsPORTER_MCP_GET_NOTIFICATIONSAcción

List runtime notification events for a Porter app (newest first), returning up to 20 at a time with cursor pagination. Each notification carries its error code and the service, pod, and container it came from. Accepts an app name or UUID. Requires project. A page can come back empty while nextCursor is still set, so follow the cursor instead of reading an empty page as the end of the history. Does not cover deploy failures or rollbacks, and cannot dismiss notifications.

Parámetros de entrada

  • appstringObligatorio

    App name or UUID

  • cursorstring

    Opaque cursor returned by a previous call

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • truncatedbooleanObligatorio

    Whether more notifications are available through nextCursor

  • nextCursorstring

    Opaque cursor for the next page; omitted when there are no more notifications

  • notificationsobject[]Obligatorio
Get projectPORTER_MCP_GET_PROJECTAcción

Return a Porter project's settings: currently whether it can claim a Porter Cloud cluster. Call it when get_clusters returns no clusters for the project. When porter_cloud_enabled is true, ask the user whether to deploy on Porter Cloud and, on yes, call create_app with cluster omitted; when porter_cloud_enabled is false, connect a cloud account and create a cluster instead. Accepts a project ID or exact name.

Parámetros de entrada

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • project_idintegerObligatorio
  • porter_cloud_enabledbooleanObligatorio

    True if the project can deploy on Porter Cloud: create_app with cluster omitted assigns it a ready cluster instead of connecting a cloud account and creating one

Get projectsPORTER_MCP_GET_PROJECTSAcción

List projects the caller can access.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • projectsobject[]Obligatorio
Get sandboxPORTER_MCP_GET_SANDBOXAcción

Return one sandbox's current state on a Porter cluster that has sandboxes enabled. Use after create_sandbox to poll until phase is running before calling exec_sandbox. Phases are queued, creating, running, succeeded, failed, and terminated. succeeded, failed, and terminated are terminal; termination_reason and exit_code explain why the sandbox ended. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • sandbox_idstringObligatorio

    Sandbox ID returned by create_sandbox

Parámetros de salida

  • idstringObligatorio
  • hoststringObligatorio

    Public hostname; empty when the sandbox exposes no port or the cluster has no sandbox ingress

  • namestringObligatorio
  • imagestringObligatorio
  • phasestringObligatorioenum
    queuedcreatingrunningsucceededfailedterminated
  • contextobjectObligatorio
  • exit_codenull | integerObligatorio

    Workload exit code; null until the sandbox completes

  • created_atstringObligatoriodate-time
  • started_atnull | stringObligatoriodate-time

    When the workload container started; null before that

  • finished_atnull | stringObligatoriodate-time

    When the sandbox reached a terminal phase; null on live sandboxes

  • internal_addressstringObligatorio

    Cluster-internal host:port; empty when the sandbox exposes no port

  • termination_reasonnull | stringenum

    Why the sandbox reached a terminal phase; absent on live sandboxes

    backend_lostclidashboardlaunch_failedsdkttl_expireduser_terminatedworkload_exited
Get sandbox settingsPORTER_MCP_GET_SANDBOX_SETTINGSAcción

Return whether sandboxes are enabled and ready on a Porter cluster, along with the cluster's sandbox settings: warm pool, egress enforcement, and domains. Use after enable_sandboxes to poll until ready is true; if ready stays false, get_cluster_status shows whether the sandbox node group is still provisioning or has failed. Settings come back empty until ready is true, because the runtime writes its defaults when it installs. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • readybooleanObligatorio

    True when the sandbox runtime answers requests; the first sandboxes may still wait for a node

  • contextobjectObligatorio
  • domainsobject[]Obligatorio

    Empty until ready; domains set earlier survive disabling sandboxes

  • warm_poolnull | objectObligatorio

    Null until ready or when no pool has been saved; a field left unset in the saved pool reads as the runtime default

  • egress_enabledbooleanObligatorio

    Whether the cluster enforces per-sandbox egress allowlists

  • sandboxes_enabledbooleanObligatorio
Install addonPORTER_MCP_INSTALL_ADDONAcción

Install the QM addon (Porter's harness for agents to share context and files across an organization) onto a Porter cluster. Use for requests to set up, install, deploy, or try QM. In oidc mode the provider usually needs the callback URL before it issues a client ID: install without client_id, register an app with the returned oidc_callback_url, then set client_id and client_secret with update_addon. Secret values passed here persist in the conversation transcript; say so before asking the user for them. Returns immediately with next_step: poll get_addon_status until status is installed, waiting_for_sso, or failed. Fails if an addon with this name exists on the cluster and never updates one. Call get_addons first, and after a timeout call get_addon_status instead of installing again.

Parámetros de entrada

  • qmobjectObligatorio

    QM configuration. An install needs admins, database_url, and auth

  • namestring

    Addon name, unique per cluster: lowercase letters, digits, and hyphens. Defaults to qm

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • addonobjectObligatorio
  • contextobjectObligatorio
  • messagestringObligatorio

    The current state and what unblocks it

  • next_stepstringObligatorioenum

    The one action that advances the install

    poll_statusregister_oidc_appadd_dns_record
List aws quota requestsPORTER_MCP_LIST_AWS_QUOTA_REQUESTSAcción

List quota increase requests filed with AWS for a cloud account in a region, with each request's status (pending, approved, denied), desired quota, and creation time. Use to follow up on an insufficient check_aws_cluster_quota result before advising the user to request an increase, so an already-pending request is not duplicated. AWS only: a cloud account on any other provider is an error, because quota increase requests do not exist outside AWS. Accepts a project ID or exact name and a cloud account ID.

Parámetros de entrada

  • regionstringObligatorio

    AWS region to list quota requests in, e.g. us-east-1

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • cloud_account_idstringObligatoriouuid

    Cloud account ID

Parámetros de salida

  • quota_requestsobject[]Obligatorio
List cloud accountsPORTER_MCP_LIST_CLOUD_ACCOUNTSAcción

List the cloud accounts connected to a Porter project, with each account's provider, the provider's own account ID, and where it sits in the connect flow. Use it to pick the cloud_account_id for create_cluster, check_aws_cluster_quota, and list_aws_quota_requests: only an account with status connected can be provisioned into, so when exactly one is connected use it without asking, and when several are ask the user which. When none are connected, connect one with connect_cloud_account. Accepts a project ID or exact name.

Parámetros de entrada

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • cloud_accountsobject[]Obligatorio
List job runsPORTER_MCP_LIST_JOB_RUNSAcción

List recent runs for a job service on a Porter app, newest first. Omit job_name to include runs from all job services. Accepts an app name or UUID. Requires project. Results are capped at the requested limit; truncated=true means older runs exist, but this tool cannot page further. Cron-triggered and manually triggered runs both appear. This tool does not trigger, cancel, or wait for job runs.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • limitinteger

    Maximum number of job runs to return

  • statusstringenum
    RUNNINGSUCCESSFULFAILEDCANCELED
  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • job_namestring

    Job service name

Parámetros de salida

  • contextobjectObligatorio
  • job_runsobject[]Obligatorio
  • truncatedbooleanObligatorio

    Whether job runs were capped at the requested limit and older runs are not reachable from this tool

List sandboxesPORTER_MCP_LIST_SANDBOXESAcción

List sandboxes on a Porter cluster that has sandboxes enabled, newest first, up to 100 per page. Sandboxes that already finished (succeeded, failed, or terminated) stay in the list as history. When truncated is true, request the next page. This tool does not filter. phase and exit_code here come from a periodic snapshot; use get_sandbox for one sandbox's current state and timestamps. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • pageinteger

    1-based page number, defaults to 1; each page holds up to 100 sandboxes, newest first

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • pageintegerObligatorio

    The page returned

  • contextobjectObligatorio
  • sandboxesobject[]Obligatorio
  • truncatedbooleanObligatorio

    Whether more sandboxes exist on the next page

Redeploy applicationPORTER_MCP_REDEPLOY_APPLICATIONAcción

Redeploy an existing Porter app at its current configuration, restarting all services with zero configuration changes and creating a new revision. Calling this tool triggers the redeploy immediately; there is no dry run or confirmation parameter. Deployment runs asynchronously; follow with get_application_status to monitor progress. Use redeploy_application to restart or retry with the current configuration; use update_application to change configuration. A redeploy may pull a newer image for mutable tags such as latest.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • contextobjectObligatorio
  • revisionobjectObligatorio
  • status_tool_hintstringObligatorio
Set sandbox domainPORTER_MCP_SET_SANDBOX_DOMAINAcción

Set the domain sandboxes are served under on a Porter cluster that has sandboxes enabled. A cluster has at most one public and one private sandbox domain; setting one again replaces its domain and DNS provider, and sandboxes already running keep their old hostname until recreated. A sandbox domain cannot be removed once set. Calling this again with the same values is safe and applies the domain to the sandbox runtime, which saving it in the Porter dashboard does not do. cloudflare needs Cloudflare credentials already saved for the cluster in the Porter dashboard; route53 needs a public Route53 hosted zone in the cluster's AWS account named exactly the domain, not a parent zone. The load balancer takes several minutes to provision: poll get_sandbox_settings until the domain has an address, then point a wildcard DNS record for the domain at it, in your own private DNS for a private domain. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • domainstringObligatorio

    Root domain sandbox hostnames are created under, for example sandboxes.example.com: lowercase, no scheme, wildcard, port, or trailing dot

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • dns_providerstringObligatorioenum

    DNS provider hosting the domain, used to issue its wildcard certificate

    cloudflareroute53
  • network_accessstringObligatorioenum

    public serves sandboxes on the internet; private serves them inside the cluster's network

    publicprivate

Parámetros de salida

  • contextobjectObligatorio
  • domainsobject[]Obligatorio

    Every sandbox domain on the cluster after the change

Trigger job runPORTER_MCP_TRIGGER_JOB_RUNAcción

Start a run of a job service on an existing Porter app. Calling this tool starts the run immediately; there is no dry run or confirmation parameter. The run proceeds asynchronously; use get_job_run for status and get_app_logs for output. Accepts an app name or UUID. Requires project. The app must have a successful deploy because the run uses its latest successfully deployed revision. Set run by itself, or use entrypoint and args separately or together; run cannot be combined with either. Set allow_concurrent=true when the job refuses because a run is already in flight.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • runstring

    Run command override

  • argsstring[]

    Container argument overrides

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • job_namestringObligatorio

    Job service name

  • entrypointstring[]

    Container entrypoint override

  • allow_concurrentnull | boolean

    Allow a concurrent run when one is already in flight

Parámetros de salida

  • contextobjectObligatorio
  • job_namestringObligatorio
  • job_run_namestringObligatorio
  • logs_tool_hintstringObligatorio
  • status_tool_hintstringObligatorio
Update addonPORTER_MCP_UPDATE_ADDONAcción

Change the configuration of an installed QM addon and roll the change out. Only the fields given change, and a stored value cannot be cleared, only replaced. Use it to finish oidc sign-in after install_addon (set qm.auth.oidc.client_id and client_secret), to rotate a key, or to add a custom domain. Omit qm.auth.mode to keep the current sign-in provider; setting a different mode switches providers and needs that provider's fields in the same call. Secret values passed here persist in the conversation transcript. Returns immediately: poll get_addon_status until status is installed or failed. Fails if the addon does not exist; install_addon creates one.

Parámetros de entrada

  • qmobjectObligatorio

    QM fields to change. Omitted fields keep their stored values

  • namestringObligatorio

    Name of the addon to update

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

Parámetros de salida

  • addonobjectObligatorio
  • contextobjectObligatorio
  • messagestringObligatorio

    The current state and what unblocks it

  • next_stepstringObligatorioenum

    The one action that advances the rollout

    poll_statusregister_oidc_appadd_dns_record
Update applicationPORTER_MCP_UPDATE_APPLICATIONAcción

Validate or deploy a delta to an existing Porter app. Dry run defaults to true: first validate, confirm the resulting configuration, then call again with dry_run=false to create a revision and deploy. Services are merged by name so omitted fields and services are preserved; use delete_services for explicit removal. Dashboard-only service settings such as node-group assignment, connections, sleep, service mesh, termination grace, metrics scraping, and advanced routing, TLS, or auth are preserved on existing services but cannot be changed. Build configuration updates do not change the GitHub source or trigger its workflow. Changes to CI-managed porter.yaml apps may be overwritten by the next push. Never accepts or returns variables, secrets, or environment groups.

Parámetros de entrada

  • appstringObligatorio

    Application name or UUID

  • buildnull | object
  • imagenull | object
  • dry_runnull | boolean

    Validate and return the resulting configuration without deploying; defaults to true

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • servicesobject[]
  • predeploynull | object
  • auto_rollbacknull | boolean
  • helm_overridesnull | string

    Base64-encoded JSON object of Helm overrides, matching the v2 application API; pass an empty string to clear existing overrides

  • delete_servicesstring[]
  • delete_predeploynull | boolean

    Set true to delete the predeploy job

  • deployment_strategynull | object

Parámetros de salida

  • appobjectObligatorio
  • contextobjectObligatorio
  • dry_runbooleanObligatorio
  • revisionnull | object
  • servicesobject[]Obligatorio
  • status_tool_hintstring
Update sandbox settingsPORTER_MCP_UPDATE_SANDBOX_SETTINGSAcción

Change sandbox settings on a Porter cluster that has sandboxes enabled: the warm pool of pre-booted sandboxes, and whether egress allowlists are enforced. Only the fields provided change, and at least one is required. warm_pool replaces the existing pool; its total CPU (size times cpu_millicores) must fit the sandbox node group's CPU cap, 20 cores by default. With egress enabled, a sandbox created with allowed_destinations can reach only those plus cluster DNS; sandboxes created without it keep public internet access. Changing egress restarts the sandbox runtime and rebuilds the warm pool; until that rollout finishes, create_sandbox with allowed_destinations is rejected as unavailable, and any sandbox created mid-rollout can terminate with backend_lost, so retry later. Returns the saved settings before the runtime has applied them. Does not configure domains, use set_sandbox_domain. Accepts a cluster name or ID. Requires project.

Parámetros de entrada

  • clusterinteger | stringObligatorio

    Cluster ID or exact cluster name or vanity name

  • projectinteger | stringObligatorio

    Porter project ID or exact project name

  • warm_poolnull | object

    Replaces the cluster's warm pool. Omit to leave it unchanged

  • egress_enablednull | boolean

    Turns enforcement of per-sandbox egress allowlists on or off. Omit to leave it unchanged

Parámetros de salida

  • contextobjectObligatorio
  • warm_poolnull | objectObligatorio

    Null when no pool has been saved

  • egress_enabledbooleanObligatorio