Skip to main content
Limits define the contract for hosted server builds, gateway requests, compute, sessions, and configuration. Some limits protect the interactive MCP request path; others keep deployments predictable and safe to operate.

Limit contract

Limits define what Horizon will attempt to serve, not what every MCP client or upstream system can handle. Design server behavior so clients receive clear errors before a limit becomes a surprise.

Runtime limits

The MB request and response size is a hard ceiling, not a target. It comes from AWS Lambda’s synchronous invocation limit, and JSON and base64 encoding overhead lowers the usable size further, so keep tool inputs and outputs well under MB. There is no streaming; to move a large file, upload it to external object storage out of band and pass a URL or reference through the tool call.

Build limits

Configuration limits

Organization-specific quotas, included usage, and contract terms can vary by plan.

What happens at a limit

Horizon returns an error to the client and the handler should be treated as failed. Return a job ID quickly and continue long work asynchronously.
Each MCP request and response is served as a single synchronous AWS Lambda invocation, which caps the payload at MB with no streaming. JSON and base64 encoding overhead lowers the usable size further, so keep tool inputs and outputs comfortably under this ceiling. To move a large file, upload it to external object storage out of band, then pass a URL or reference through the tool call and have your server read from that storage.
The build fails and no new deployable artifact is produced. The previous deployment remains available unless you change it separately.
A client may need to initialize a new MCP session before sending follow-up requests.
The server instance can fail or restart. Reduce memory use, stream work in smaller chunks, or move large jobs out of the request path.

Designing within limits

Compute model

Understand runtime constraints.

Build system

Understand build defaults and failure modes.

Gateway

Understand request and session behavior.