Files API, code execution tool and MCP connector launch in public beta
Three agent building blocks shipped in beta alongside Claude 4: an upload-and-reference Files API, a sandboxed Python code execution tool, and an MCP connector that reaches remote MCP servers from the Messages API.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingThese three pieces remove most custom agent infrastructure — file storage, a Python sandbox, and an MCP host — which is real headcount saved if you were planning to build them. Note code execution and MCP calls run on Anthropic's side, so review data handling before adoption.
Engineer
What to change, what breaks, what to test Worth knowingUpload once via the Files API and reference the file ID instead of re-sending bytes; use the code execution tool for sandboxed Python and the MCP connector to reach remote MCP servers straight from a Messages request. Code execution has a v2 with bash and file manipulation as of September 2025, and server tools no longer need beta headers after February 2026.
General consumer
Using the Claude apps, not the API No impactNothing to do — these are developer building blocks, not Claude app features.
The Files API lets you upload a file once and reference it from the Messages API and the code execution tool instead of re-sending bytes in every request. The code execution tool runs Python in a sandbox on Anthropic’s side. The MCP connector calls remote MCP servers directly from a Messages request, with no client-side MCP host.
The same launch added prompt caching with a one-hour TTL in beta; that TTL went generally available on August 13, 2025.
All three have since evolved: code execution reached a v2 with bash and file manipulation in September 2025, and server tools dropped their beta headers in February 2026.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
files-api-2025-04-14 | added | no | |
code_execution | added | no | |
mcp_servers | added | no |
Topics: Agents and tool use
Terms on this page: Prompt caching