Skip to content

[Feature Request] Omit HostedMCPTool headers from serialized activity input? #685

@nikhil-pandey

Description

@nikhil-pandey

Is your feature request related to a problem? Please describe.

Some information stored in a payload is more sensitive than the rest of the payload, to the point that it would be ideal to separately secure that information.

Describe the solution you'd like

The sensitive information would not be visible in the temporal UI.

Original Request from user for a specific piece of information

While using HostedMCPTool inside a Temporal workflow we noticed that the tool config (including HTTP headers) is serialized into the activity input/history, so secrets end up in worker logs and the Temporal UI. Is there—or could there be—a way for the plugin to avoid persisting these headers (e.g., a hook to resolve headers only when the activity executes, or built-in redaction)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions