Type-preserving middleware over every wrapped MCP method.
The global wildcard cannot inspect or replace a method-specific result. Its next
resolves after downstream middleware, and the composer propagates that
downstream result unchanged. It must call next() or throw.
Type-preserving middleware over every wrapped MCP method.
The global wildcard cannot inspect or replace a method-specific result. Its
nextresolves after downstream middleware, and the composer propagates that downstream result unchanged. It must callnext()or throw.