localstack-ephemeral-instances

Manage cloud-hosted LocalStack Ephemeral Instances: create, list, fetch logs, and delete.

Server Localstack @localstack/localstack-mcp-server
Category Destructive
Risk class Critical
Parameters 61 required

What localstack-ephemeral-instances does on Localstack

AI agents call localstack-ephemeral-instances to permanently remove resources in Localstack — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

ParameterTypeRequiredDescription
name string Instance name. Required for create, logs, and delete actions.
action string Yes The Ephemeral Instances action to perform.
envVars object Additional environment variables to pass to the ephemeral instance (create action only), translated to repeated --env KEY=VALUE flags.
cloudPod string Optional Cloud Pod name to initialize state for create action. This is passed as CLOUD_POD_NAME.
lifetime number Lifetime in minutes for create action. Defaults to CLI default when omitted.
extension string Optional extension package to preload for create action. This is passed as EXTENSION_AUTO_INSTALL.

Parameters from the server's own tool schema.

Why localstack-ephemeral-instances needs a policy

Although the tool also includes reversible operations (create, list, fetch logs), the 'delete' action falls under Destructive category. Per the classification rules, when a tool spans multiple categories, the most severe applicable category is chosen. Destructive ranks higher than Write.

From the tool's definition Tool description explicitly includes 'delete' action on LocalStack Ephemeral Instances, which irreversibly removes instances and associated cloud-hosted resources.

Questions about localstack-ephemeral-instances

What does the localstack-ephemeral-instances tool do? +

Manage cloud-hosted LocalStack Ephemeral Instances: create, list, fetch logs, and delete. It is categorised as a Destructive tool in the Localstack MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

What parameters does localstack-ephemeral-instances accept? +

localstack-ephemeral-instances accepts 6 parameters: name, action, envVars, cloudPod, lifetime, extension. Required: action. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on localstack-ephemeral-instances? +

Register the Localstack MCP server in PolicyLayer and add a rule for localstack-ephemeral-instances: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Localstack. Nothing to install.

What risk level is localstack-ephemeral-instances? +

localstack-ephemeral-instances is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit localstack-ephemeral-instances? +

Yes. Add a rate_limit block to the localstack-ephemeral-instances rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block localstack-ephemeral-instances completely? +

Set action: deny in the PolicyLayer policy for localstack-ephemeral-instances. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides localstack-ephemeral-instances? +

localstack-ephemeral-instances is provided by the Localstack MCP server (@localstack/localstack-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.