Skip to content

Add ability to intercept tool call executions. #720

@24kpure

Description

@24kpure

final McpTransportContext transportContext = this.contextExtractor.extract(request);

I want to add interceptors for MCP tool, but I don't know how to add them.If I want to get something from request'body, I can't get them through this contextExtractor for the body stream can only be read once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions