Skip to content

Hosted-safe attachment path #305

Description

@gbrlcustodio

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthosted-mcpHosted, multi-user, on-behalf-of MCP server profile

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions