Part of the hosted on-behalf-of MCP server proposal (#297).
Scope
Provide an attachment-upload path that does not depend on the server's local filesystem: a client-supplied file URL with SSRF and size guards, an in-body upload, or a client-side presigned upload. Gate the local-file-path variant to the stdio profile.
Acceptance criteria
An attachment can be uploaded in the hosted profile without server filesystem access; the local-file-path variant is unreachable in the hosted profile; the tool is then marked remote-safe.
Dependencies
Depends on the default-deny allowlist (#304).
Part of the hosted on-behalf-of MCP server proposal (#297).
Scope
Provide an attachment-upload path that does not depend on the server's local filesystem: a client-supplied file URL with SSRF and size guards, an in-body upload, or a client-side presigned upload. Gate the local-file-path variant to the stdio profile.
Acceptance criteria
An attachment can be uploaded in the hosted profile without server filesystem access; the local-file-path variant is unreachable in the hosted profile; the tool is then marked remote-safe.
Dependencies
Depends on the default-deny allowlist (#304).