# Vercel Sandbox commands now support stdin

Source: [Vercel](https://vercel.com/changelog/vercel-sandbox-commands-now-support-stdin)  
Feed7 permalink: https://feed7.dev/p/vercel-sandbox-commands-now-support-stdin-1t7ayvm  
Published: 2026-10-26T06:00:00.000Z  
Trust: Official Source (official_source)

## Why Included

Vercel Sandbox processes can now accept input while running, enabling stdin-based MCP servers and other interactive CLI workflows inside sandboxed agent tasks.

## Source Summary

Vercel Sandbox now supports sending input to running commands through **stdin**. The TypeScript SDK uses `stdin: true` and `detached: true` with `writeStdin()` and `closeStdin()`; Python supports `subprocess.PIPE` and `stdin.send()`.

## Practical Implication

Use this to run stdio MCP servers such as agent-browser in a sandbox, or to pass data to an interactive command while it runs. Python also supports passing all input at once through `run_process()`.

## Agent-Ready Context

Vercel Sandbox now supports sending input to running commands through **stdin**. The TypeScript SDK uses `stdin: true` and `detached: true` with `writeStdin()` and `closeStdin()`; Python supports `subprocess.PIPE` and `stdin.send()`.

Use this to run stdio MCP servers such as agent-browser in a sandbox, or to pass data to an interactive command while it runs. Python also supports passing all input at once through `run_process()`.

The TypeScript SDK can forward a Node.js readable stream, and Python’s `communicate()` closes stdin and collects output while waiting for exit. The material does not specify behavior for other SDKs or process-management limits.

## Connected Context

Feed7 judgment across 928 accumulated Signals:

This adds the missing input channel for interactive processes in Vercel Sandboxes, making it practical to run stdio MCP servers there or send data while a command is running. It clarifies the sandbox’s process interaction options, without establishing broader isolation or security guarantees.

- [Introducing Run SDK: secure eval for your agents](https://feed7.dev/p/introducing-run-12zpstq) — Run SDK provides a bounded environment for agent-generated code; stdin adds a concrete way to connect interactive processes inside a Vercel Sandbox, though the two sources describe separate execution paths.
- [Vercel Connect now supports TanStack AI](https://feed7.dev/p/vercel-connect-tanstack-ai-1owhrob) — Both enable MCP use, but this supports local stdio servers in a sandbox while Connect handles OAuth-protected remote MCP servers.

## Context Map

- Layer: infra
- Domains: coding
- Topics: mcp, tool-use, sandboxing

## Uncertainty

- The TypeScript SDK can forward a Node.js readable stream, and Python’s `communicate()` closes stdin and collects output while waiting for exit. The material does not specify behavior for other SDKs or process-management limits.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
