Increase the /mcp-app-guest body limit for larger single-file MCP apps (#10324)

Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
This commit is contained in:
yyy33 2026-07-08 17:30:56 +00:00 committed by GitHub
parent af34c75fd5
commit be521ff8b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ use uuid::Uuid;
const GUEST_HTML_TTL_SECS: u64 = 300;
const GUEST_HTML_MAX_ENTRIES: usize = 64;
const GUEST_HTML_MAX_BYTES: usize = 8 * 1024 * 1024;
const GUEST_HTML_MAX_BYTES: usize = 16 * 1024 * 1024;
const MCP_APP_PROXY_HTML: &str = include_str!("templates/mcp_app_proxy.html");
type GuestHtmlStore = Arc<RwLock<HashMap<String, GuestHtmlEntry>>>;