Share files between sandboxed Claude Code agents through MCP

A developer connected sandboxed Claude Code instances to a virtual file system so they could pass files through MCP without direct access to AWS.

Done with Claude Code· Advanced· Sep 2026

What they did
They set up several Claude Code instances in a sandbox and gave them MCP tools for listing, uploading, and downloading files from a virtual file system using an `agentfiles://` URI. A separate orchestrator handled the real file operations behind the scenes on AWS, while the agents only saw the narrow file interface.
How it went
The agents handled the unusual file system well and stayed fully separated from the backend. Requests from the tools, together with orchestrator logs, created a complete audit trail. No numbers were provided.
Tips
Keep storage credentials inside the orchestrator and expose only the smallest file-related tools you need. If you want to add cloud storage or other irreversible steps, pause first and confirm before proceeding.

Try it yourself with Claude Code

Help me prototype a small group of sandboxed [agent name] instances that share files through MCP. Give them only a virtual file interface for listing, uploading, and downloading files from [local folder or cloud bucket], and route every request through an outer orchestrator that handles the real storage work and logs each read and write. Start with [number] agents, stop once one agent can hand a file to another and I can inspect the audit log, and before you connect any cloud account, move any data, or use any credentials, ask me to approve it first.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.