Porter MCP
porter_mcpCreate and manage Porter projects, clusters, applications, jobs and sandboxes, and read logs and metrics, through Porter's hosted MCP server.
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ónCheck 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.
PORTER_MCP_CHECK_AWS_CLUSTER_QUOTAAcciónCheck 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
regionstringObligatorioAWS region to check quota in, e.g. us-east-1
projectinteger | stringObligatorioPorter 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_idstringObligatoriouuidCloud account ID
Parámetros de salida
statusstringObligatorioenumsufficientinsufficientnot_applicablecontextobjectObligatorioquota_checksobject[]Obligatorioquota_requestsobject[]Obligatorioquota_requests_errorstringWhy 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ónConnect 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.
PORTER_MCP_CONNECT_CLOUD_ACCOUNTAcciónConnect 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 | objectAWS account details; required when provider is aws
gcpnull | objectGCP project details; required when provider is gcp
azurenull | objectAzure subscription details; required when provider is azure
projectinteger | stringObligatorioPorter project ID or exact project name
providerstringObligatorioenumCloud provider to connect: aws, azure, or gcp
awsazuregcp
Parámetros de salida
urlstringConsole 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
statestringObligatorioenumWhere the cloud account sits in the connect flow
awaiting_account_idawaiting_cloudformationcloudformation_appliedawaiting_azure_setupazure_federation_propagatingazure_prerequisite_missingawaiting_gcp_bootstrapgcp_prerequisite_missingfinalizing_connectionconnectednot_connectedmessagestringObligatorioHuman-readable explanation of the current state and what unblocks it
next_stepstringObligatorioenumThe 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_prerequisitetrust_arnstringPorter 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-timeGCP 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_commandstringProvider 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_idstringPorter's identifier for the cloud account; present once the account exists
cloud_shell_commandstringGCP 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ónCheck whether Porter can reach a GitHub repository and return the browser action required to connect it.
PORTER_MCP_CONNECT_GITHUBAcciónCheck whether Porter can reach a GitHub repository and return the browser action required to connect it.
Parámetros de entrada
repositorystringObligatorioGitHub repository in owner/name form
Parámetros de salida
urlstringBrowser URL that completes next_step; omit when next_step is none
messagestringObligatorioHuman-readable explanation of the current connection state
next_stepstringObligatorioenumnone when connected; otherwise the browser action that unblocks this repository
noneauthorize_oauthinstall_appadd_repositoryrequest_org_installgithub_usernamestringGitHub username bound to the Porter user's OAuth connection
Connect slackPORTER_MCP_CONNECT_SLACKAcciónReport 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.
PORTER_MCP_CONNECT_SLACKAcciónReport 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 | stringObligatorioPorter project ID or exact project name
Parámetros de salida
urlstringBrowser URL that starts the Slack install; omitted when next_step is none
messagestringObligatorioHuman-readable explanation of the current connection state
channelsstring[]Slack channels that receive the project's notifications; omitted when none are connected
next_stepstringObligatorioenumnone 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ónThe 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.
PORTER_MCP_CREATE_APPAcciónThe 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
namestringObligatorioName of the application to create
buildnull | objectBuild configuration. Use with source for the recommended GitHub Actions flow; use without source only for local development. Mutually exclusive with image
imagenull | objectAlready-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 | objectGitHub source for the recommended source-and-build flow; requires build and is mutually exclusive with image
clusterinteger | stringCluster 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 | stringObligatorioPorter project ID or exact project name
secretsobject[]Secret environment variables
servicesobject[]ObligatorioServices to run in the application
namespacestringNamespace of the deployment target to deploy to; ignored if deployment_target is set
predeploynull | objectPredeploy job to run before each deploy
variablesobject[]Plaintext environment variables
auto_rollbacknull | booleanWhether to automatically roll back on a failed deploy
helm_overridesnull | stringRaw Helm values overrides
deployment_targetstringDeployment 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
contextobjectObligatoriowarningstringgithub_pr_urlstringapplication_idstringplaceholder_imagebooleanTrue if the created application is running Porter's placeholder image, not the caller's real code
local_build_commandnull | objectCommand 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ónFile 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.
PORTER_MCP_CREATE_AWS_QUOTA_REQUESTAcciónFile 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
regionstringObligatorioAWS region to request quota in, e.g. us-east-1
projectinteger | stringObligatorioPorter 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_idstringObligatoriouuidCloud account ID
Parámetros de salida
quota_requestsobject[]ObligatorioOne entry per quota the node groups are short on; empty when quota was already sufficient
Create clusterPORTER_MCP_CREATE_CLUSTERAcciónProvision 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.
PORTER_MCP_CREATE_CLUSTERAcciónProvision 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
namestringObligatorioName for the new cluster: 1-40 characters (at most 23 on GCP), lowercase letters, numbers, and hyphens, starting with a letter
regionstringObligatorioRegion in the cloud account's provider to provision the cluster in, e.g. us-east-1 (AWS), us-east1 (GCP), or eastus (Azure)
projectinteger | stringObligatorioPorter project ID or exact project name
cloud_account_idstringObligatoriouuidCloud account to provision into; the cluster's provider (AWS, GCP, or Azure) is inferred from it
Parámetros de salida
cluster_idintegerObligatoriocontract_revision_idstringObligatoriouuidContract revision that started provisioning
Create github workflowPORTER_MCP_CREATE_GITHUB_WORKFLOWAcciónCreate 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.
PORTER_MCP_CREATE_GITHUB_WORKFLOWAcciónCreate 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
appstringObligatorioApplication name or UUID
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatoriogithub_pr_urlstringObligatorio
Create projectPORTER_MCP_CREATE_PROJECTAcciónCreate 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.
PORTER_MCP_CREATE_PROJECTAcciónCreate 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
namestringObligatorioName of the project to create
Parámetros de salida
idintegerObligatorioUnique identifier of the created project
namestringObligatorio
Create sandboxPORTER_MCP_CREATE_SANDBOXAcciónCreate 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.
PORTER_MCP_CREATE_SANDBOXAcciónCreate 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
envobjectEnvironment variables to set in the sandbox, keyed by name
argsstring[]Arguments passed to the command
imagestringContainer image to run, for example node:22-slim. Omit to run python:3.14-slim
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
commandstring[]Image entrypoint override
projectinteger | stringObligatorioPorter 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
idstringObligatoriocontextobjectObligatorio
Delete addonPORTER_MCP_DELETE_ADDONAcciónUninstall 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.
PORTER_MCP_DELETE_ADDONAcciónUninstall 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
namestringObligatorioName of the addon to delete
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
namestringObligatoriocontextobjectObligatoriomessagestringObligatorio
Enable sandboxesPORTER_MCP_ENABLE_SANDBOXESAcciónEnable 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.
PORTER_MCP_ENABLE_SANDBOXESAcciónEnable 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatorioalready_enabledbooleanObligatorioTrue when sandboxes were already enabled and nothing changed
contract_revision_idstringObligatoriouuidCluster contract revision that has sandboxes enabled
Exec sandboxPORTER_MCP_EXEC_SANDBOXAcciónRun 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.
PORTER_MCP_EXEC_SANDBOXAcciónRun 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 | stringObligatorioCluster ID or exact cluster name or vanity name
commandstring[]ObligatorioCommand and arguments to run, one array element per argument; run directly, not through a shell, unless you invoke one, e.g. ["sh", "-c", "..."]
projectinteger | stringObligatorioPorter project ID or exact project name
sandbox_idstringObligatorioSandbox ID returned by create_sandbox
Parámetros de salida
stderrstringObligatoriostdoutstringObligatorioexit_codeintegerObligatoriotruncatedbooleanObligatorioWhether stdout or stderr was cut to its last 32 KB
Get addonsPORTER_MCP_GET_ADDONSAcciónList 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.
PORTER_MCP_GET_ADDONSAcciónList 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
addonsobject[]ObligatoriocontextobjectObligatoriotruncatedbooleanObligatorioTrue when the cluster has more addons than the 50 listed
Get addon statusPORTER_MCP_GET_ADDON_STATUSAcciónReport 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.
PORTER_MCP_GET_ADDON_STATUSAcciónReport 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
namestringObligatorioclusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
jobsobject[]ObligatorioOne-off jobs the addon runs during install, with each job's status, failed attempts, and pods
addonobjectObligatorioThe addon; status is not_found when no addon has this name
contextobjectObligatoriomessagestringObligatorioThe current state and what unblocks it
servicesobject[]ObligatorioWorkloads the addon runs, with how many replicas pass their readiness check and each pod's state and reason
Get applicationPORTER_MCP_GET_APPLICATIONAcciónReturn configuration for a Porter app and its services. Accepts an app name or UUID. Requires project. Never returns variables, secrets, or environment_groups.
PORTER_MCP_GET_APPLICATIONAcciónReturn 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
appstringObligatorioApplication name or UUID
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
appobjectObligatoriocontextobjectObligatorioservicesobject[]Obligatorio
Get application metricsPORTER_MCP_GET_APPLICATION_METRICSAcciónQuery one time-series metric for one Porter application service. Returns resolved context, the effective bounded UTC query, and normalized series without diagnoses or summaries.
PORTER_MCP_GET_APPLICATION_METRICSAcciónQuery 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
appstringObligatorioExact application name or UUID
metricstringObligatorioenumSingle 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+7projectinteger | stringObligatorioPorter project ID or exact project name
group_bystring[]Optional API labels used to separate time series
end_time_utcstringdate-timeRFC3339 UTC window end; defaults to the current time
service_namestringObligatorioExact application process or service name
start_time_utcstringdate-timeRFC3339 UTC window start; defaults to one hour before the effective end time
aggregate_functionstringenumOptional aggregation; usage and network metrics default to avg in the Porter API
avgsummaxmin
Parámetros de salida
queryobjectObligatorioseriesobject[]ObligatoriocontextobjectObligatorio
Get application revisionsPORTER_MCP_GET_APPLICATION_REVISIONSAcciónList 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.
PORTER_MCP_GET_APPLICATION_REVISIONSAcciónList 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
appstringObligatorioApp name or UUID
cursorstringOpaque cursor returned by a previous call
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatoriorevisionsobject[]ObligatorionextCursorstringOpaque cursor for the next page; omitted when there are no more revisions
Get applicationsPORTER_MCP_GET_APPLICATIONSAcciónList 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.
PORTER_MCP_GET_APPLICATIONSAcciónList 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
namestringOptional filter for application name, matches any part of the name (case insensitive)
limitintegerMax applications to return, defaults to 10, max 100
cursorstringOpaque 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 | stringObligatorioPorter project ID or exact project name
created_beforenull | stringdate-timeReturn applications created before this time, defaults to now. Omit when passing a cursor
deployment_target_idstringDeployment target ID to filter applications by
Parámetros de salida
nextCursorstringOpaque cursor for the next page; omitted when there are no more applications
applicationsobject[]Obligatorio
Get application statusPORTER_MCP_GET_APPLICATION_STATUSAcciónReturn 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.
PORTER_MCP_GET_APPLICATION_STATUSAcciónReturn 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
appstringObligatorioApplication name or UUID
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatorioapplication_statusobjectObligatorioCurrent application revision and process health
Get app logsPORTER_MCP_GET_APP_LOGSAcciónFetch capped runtime logs for a Porter app. Filter by time window, service, revision, search, pod/container. Requires project. Returns truncated=true when capped.
PORTER_MCP_GET_APP_LOGSAcciónFetch 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
appstringObligatorioApp name or UUID
limitintegerMaximum number of logs to return
searchstringCase-insensitive substring to find in log lines
projectinteger | stringObligatorioPorter project ID or exact project name
pod_namestringcontainer_idstringend_time_utcstringdate-timeDefaults to now in the Porter API
job_run_namestringnewest_firstnull | booleanSort logs newest first
service_namestringstart_time_utcstringdate-timeDefaults to 24 hours ago in the Porter API
application_contract_revision_idnull | stringuuid
Parámetros de salida
logsobject[]ObligatoriocontextobjectObligatoriotruncatedbooleanObligatorioWhether results may have been capped by the requested limit or API maximum
filters_appliedobjectObligatorio
Get build statusPORTER_MCP_GET_BUILD_STATUSAcciónReport 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.
PORTER_MCP_GET_BUILD_STATUSAcciónReport 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
appstringObligatorioApplication name or UUID
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
stepsobject[]ObligatorioLatest 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ónReport 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.
PORTER_MCP_GET_CLOUD_ACCOUNT_STATUSAcciónReport 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 | objectAWS account details; required when provider is aws
gcpnull | objectGCP project details; required when provider is gcp
azurenull | objectAzure subscription details; required when provider is azure
projectinteger | stringObligatorioPorter project ID or exact project name
providerstringObligatorioenumCloud provider to connect: aws, azure, or gcp
awsazuregcp
Parámetros de salida
statestringObligatorioenumWhere the cloud account sits in the connect flow
awaiting_account_idawaiting_cloudformationcloudformation_appliedawaiting_azure_setupazure_federation_propagatingazure_prerequisite_missingawaiting_gcp_bootstrapgcp_prerequisite_missingfinalizing_connectionconnectednot_connectedmessagestringObligatorioHuman-readable explanation of the current state and what unblocks it
next_stepstringObligatorioenumThe 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_prerequisitecloud_account_idstringPorter's identifier for the cloud account; present once the account exists
percent_completeintegerObligatorioHow much of Porter's access setup is done, 0-100; 0 until the account exists
Get cluster node groupsPORTER_MCP_GET_CLUSTER_NODE_GROUPSAcciónList node groups in a Porter cluster, including autoscaling bounds and cost-optimization (Karpenter) status. Accepts a cluster name or ID. Requires project.
PORTER_MCP_GET_CLUSTER_NODE_GROUPSAcciónList 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatorionode_groupsobject[]Obligatorio
Get cluster nodesPORTER_MCP_GET_CLUSTER_NODESAcciónList nodes in a Porter cluster with resource capacity, usage, and reservation metrics. Accepts a cluster name or ID. Requires project.
PORTER_MCP_GET_CLUSTER_NODESAcciónList 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
nodesobject[]ObligatoriocontextobjectObligatorio
Get cluster podPORTER_MCP_GET_CLUSTER_PODAcciónGet 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.
PORTER_MCP_GET_CLUSTER_PODAcciónGet 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
pod_namestringObligatorioExact pod name
namespacestringObligatorioExact namespace the pod belongs to
Parámetros de salida
kindnull | stringObligatorionamestringObligatoriospecobjectObligatorioContainer env vars are always omitted from the spec since they may hold unredacted secrets
ownernull | stringObligatorioName of the owning controller (e.g. ReplicaSet, Job); null if the pod has no owner reference
eventsobject[]ObligatoriostatusstringObligatoriocontextobjectObligatoriometadataobjectObligatorionamespacestringObligatorionode_namestringObligatoriocreated_atstringObligatoriodate-timeapi_versionnull | stringObligatoriorestart_countintegerObligatorioresource_usageobjectObligatorioRequest/limit values only
extended_statusobjectObligatorioready_containersintegerObligatoriototal_containersintegerObligatorio
Get cluster podsPORTER_MCP_GET_CLUSTER_PODSAcciónList 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.
PORTER_MCP_GET_CLUSTER_PODSAcciónList 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
limitintegerMaximum number of pods to return
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
podsobject[]ObligatoriocontextobjectObligatoriotruncatedbooleanObligatorioWhether the cluster has more pods than were returned
Get clustersPORTER_MCP_GET_CLUSTERSAcciónList clusters in a Porter project. Accepts a project ID or exact name.
PORTER_MCP_GET_CLUSTERSAcciónList clusters in a Porter project. Accepts a project ID or exact name.
Parámetros de entrada
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
clustersobject[]Obligatorio
Get cluster statusPORTER_MCP_GET_CLUSTER_STATUSAcciónReport 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.
PORTER_MCP_GET_CLUSTER_STATUSAcciónReport 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
phasesobject[]ObligatoriostatusstringObligatorioenumqueuedin_progresscompletedfailedskippedcontextobjectObligatoriodeletingbooleanObligatorioTrue while an EKS cluster is being deleted; status and phases then report delete progress
Get job runPORTER_MCP_GET_JOB_RUNAcciónReturn 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.
PORTER_MCP_GET_JOB_RUNAcciónReturn 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
appstringObligatorioApplication name or UUID
projectinteger | stringObligatorioPorter project ID or exact project name
job_namestringObligatorioJob service name
job_run_namestringObligatorioJob run name returned when the job was triggered
Parámetros de salida
contextobjectObligatoriojob_runobjectObligatoriologs_tool_hintstringObligatorio
Get load balancersPORTER_MCP_GET_LOAD_BALANCERSAcciónList load balancers for a Porter cluster. Accepts a cluster name or ID. Requires project.
PORTER_MCP_GET_LOAD_BALANCERSAcciónList load balancers for a Porter cluster. Accepts a cluster name or ID. Requires project.
Parámetros de entrada
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatorioload_balancersobject[]Obligatorio
Get node group metricsPORTER_MCP_GET_NODE_GROUP_METRICSAcciónGet 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).
PORTER_MCP_GET_NODE_GROUP_METRICSAcciónGet 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
node_groupstringObligatorioExact node-group name or ID
end_time_utcstringdate-timeEnd of the provisioned node-group size time range; defaults to the current UTC time
start_time_utcstringdate-timeStart of the provisioned node-group size time range; defaults to one hour before the effective end time
Parámetros de salida
contextobjectObligatorioresultsobject[]ObligatorioProvisioned node-group size over time; fixed-size groups use count and cost-optimized (Karpenter) groups use cores
time_rangeobjectObligatorio
Get notificationsPORTER_MCP_GET_NOTIFICATIONSAcciónList 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.
PORTER_MCP_GET_NOTIFICATIONSAcciónList 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
appstringObligatorioApp name or UUID
cursorstringOpaque cursor returned by a previous call
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatoriotruncatedbooleanObligatorioWhether more notifications are available through nextCursor
nextCursorstringOpaque cursor for the next page; omitted when there are no more notifications
notificationsobject[]Obligatorio
Get projectPORTER_MCP_GET_PROJECTAcciónReturn 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.
PORTER_MCP_GET_PROJECTAcciónReturn 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 | stringObligatorioPorter project ID or exact project name
Parámetros de salida
project_idintegerObligatorioporter_cloud_enabledbooleanObligatorioTrue 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ónList projects the caller can access.
PORTER_MCP_GET_PROJECTSAcciónList projects the caller can access.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
projectsobject[]Obligatorio
Get sandboxPORTER_MCP_GET_SANDBOXAcciónReturn 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.
PORTER_MCP_GET_SANDBOXAcciónReturn 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
sandbox_idstringObligatorioSandbox ID returned by create_sandbox
Parámetros de salida
idstringObligatoriohoststringObligatorioPublic hostname; empty when the sandbox exposes no port or the cluster has no sandbox ingress
namestringObligatorioimagestringObligatoriophasestringObligatorioenumqueuedcreatingrunningsucceededfailedterminatedcontextobjectObligatorioexit_codenull | integerObligatorioWorkload exit code; null until the sandbox completes
created_atstringObligatoriodate-timestarted_atnull | stringObligatoriodate-timeWhen the workload container started; null before that
finished_atnull | stringObligatoriodate-timeWhen the sandbox reached a terminal phase; null on live sandboxes
internal_addressstringObligatorioCluster-internal host:port; empty when the sandbox exposes no port
termination_reasonnull | stringenumWhy the sandbox reached a terminal phase; absent on live sandboxes
backend_lostclidashboardlaunch_failedsdkttl_expireduser_terminatedworkload_exited
Get sandbox settingsPORTER_MCP_GET_SANDBOX_SETTINGSAcciónReturn 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.
PORTER_MCP_GET_SANDBOX_SETTINGSAcciónReturn 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
readybooleanObligatorioTrue when the sandbox runtime answers requests; the first sandboxes may still wait for a node
contextobjectObligatoriodomainsobject[]ObligatorioEmpty until ready; domains set earlier survive disabling sandboxes
warm_poolnull | objectObligatorioNull until ready or when no pool has been saved; a field left unset in the saved pool reads as the runtime default
egress_enabledbooleanObligatorioWhether the cluster enforces per-sandbox egress allowlists
sandboxes_enabledbooleanObligatorio
Install addonPORTER_MCP_INSTALL_ADDONAcciónInstall 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.
PORTER_MCP_INSTALL_ADDONAcciónInstall 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
qmobjectObligatorioQM configuration. An install needs admins, database_url, and auth
namestringAddon name, unique per cluster: lowercase letters, digits, and hyphens. Defaults to qm
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
addonobjectObligatoriocontextobjectObligatoriomessagestringObligatorioThe current state and what unblocks it
next_stepstringObligatorioenumThe one action that advances the install
poll_statusregister_oidc_appadd_dns_record
List aws quota requestsPORTER_MCP_LIST_AWS_QUOTA_REQUESTSAcciónList 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.
PORTER_MCP_LIST_AWS_QUOTA_REQUESTSAcciónList 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
regionstringObligatorioAWS region to list quota requests in, e.g. us-east-1
projectinteger | stringObligatorioPorter project ID or exact project name
cloud_account_idstringObligatoriouuidCloud account ID
Parámetros de salida
quota_requestsobject[]Obligatorio
List cloud accountsPORTER_MCP_LIST_CLOUD_ACCOUNTSAcciónList 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.
PORTER_MCP_LIST_CLOUD_ACCOUNTSAcciónList 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 | stringObligatorioPorter project ID or exact project name
Parámetros de salida
cloud_accountsobject[]Obligatorio
List job runsPORTER_MCP_LIST_JOB_RUNSAcciónList 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.
PORTER_MCP_LIST_JOB_RUNSAcciónList 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
appstringObligatorioApplication name or UUID
limitintegerMaximum number of job runs to return
statusstringenumRUNNINGSUCCESSFULFAILEDCANCELEDprojectinteger | stringObligatorioPorter project ID or exact project name
job_namestringJob service name
Parámetros de salida
contextobjectObligatoriojob_runsobject[]ObligatoriotruncatedbooleanObligatorioWhether job runs were capped at the requested limit and older runs are not reachable from this tool
List sandboxesPORTER_MCP_LIST_SANDBOXESAcciónList 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.
PORTER_MCP_LIST_SANDBOXESAcciónList 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
pageinteger1-based page number, defaults to 1; each page holds up to 100 sandboxes, newest first
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
pageintegerObligatorioThe page returned
contextobjectObligatoriosandboxesobject[]ObligatoriotruncatedbooleanObligatorioWhether more sandboxes exist on the next page
Redeploy applicationPORTER_MCP_REDEPLOY_APPLICATIONAcciónRedeploy 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.
PORTER_MCP_REDEPLOY_APPLICATIONAcciónRedeploy 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
appstringObligatorioApplication name or UUID
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
contextobjectObligatoriorevisionobjectObligatoriostatus_tool_hintstringObligatorio
Set sandbox domainPORTER_MCP_SET_SANDBOX_DOMAINAcciónSet 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.
PORTER_MCP_SET_SANDBOX_DOMAINAcciónSet 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
domainstringObligatorioRoot domain sandbox hostnames are created under, for example sandboxes.example.com: lowercase, no scheme, wildcard, port, or trailing dot
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
dns_providerstringObligatorioenumDNS provider hosting the domain, used to issue its wildcard certificate
cloudflareroute53network_accessstringObligatorioenumpublic serves sandboxes on the internet; private serves them inside the cluster's network
publicprivate
Parámetros de salida
contextobjectObligatoriodomainsobject[]ObligatorioEvery sandbox domain on the cluster after the change
Trigger job runPORTER_MCP_TRIGGER_JOB_RUNAcciónStart 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.
PORTER_MCP_TRIGGER_JOB_RUNAcciónStart 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
appstringObligatorioApplication name or UUID
runstringRun command override
argsstring[]Container argument overrides
projectinteger | stringObligatorioPorter project ID or exact project name
job_namestringObligatorioJob service name
entrypointstring[]Container entrypoint override
allow_concurrentnull | booleanAllow a concurrent run when one is already in flight
Parámetros de salida
contextobjectObligatoriojob_namestringObligatoriojob_run_namestringObligatoriologs_tool_hintstringObligatoriostatus_tool_hintstringObligatorio
Update addonPORTER_MCP_UPDATE_ADDONAcciónChange 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.
PORTER_MCP_UPDATE_ADDONAcciónChange 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
qmobjectObligatorioQM fields to change. Omitted fields keep their stored values
namestringObligatorioName of the addon to update
clusterinteger | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
Parámetros de salida
addonobjectObligatoriocontextobjectObligatoriomessagestringObligatorioThe current state and what unblocks it
next_stepstringObligatorioenumThe one action that advances the rollout
poll_statusregister_oidc_appadd_dns_record
Update applicationPORTER_MCP_UPDATE_APPLICATIONAcciónValidate 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.
PORTER_MCP_UPDATE_APPLICATIONAcciónValidate 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
appstringObligatorioApplication name or UUID
buildnull | objectimagenull | objectdry_runnull | booleanValidate and return the resulting configuration without deploying; defaults to true
projectinteger | stringObligatorioPorter project ID or exact project name
servicesobject[]predeploynull | objectauto_rollbacknull | booleanhelm_overridesnull | stringBase64-encoded JSON object of Helm overrides, matching the v2 application API; pass an empty string to clear existing overrides
delete_servicesstring[]delete_predeploynull | booleanSet true to delete the predeploy job
deployment_strategynull | object
Parámetros de salida
appobjectObligatoriocontextobjectObligatoriodry_runbooleanObligatoriorevisionnull | objectservicesobject[]Obligatoriostatus_tool_hintstring
Update sandbox settingsPORTER_MCP_UPDATE_SANDBOX_SETTINGSAcciónChange 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.
PORTER_MCP_UPDATE_SANDBOX_SETTINGSAcciónChange 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 | stringObligatorioCluster ID or exact cluster name or vanity name
projectinteger | stringObligatorioPorter project ID or exact project name
warm_poolnull | objectReplaces the cluster's warm pool. Omit to leave it unchanged
egress_enablednull | booleanTurns enforcement of per-sandbox egress allowlists on or off. Omit to leave it unchanged
Parámetros de salida
contextobjectObligatoriowarm_poolnull | objectObligatorioNull when no pool has been saved
egress_enabledbooleanObligatorio