Versions in this module Expand all Collapse all v0 v0.18.0 Apr 10, 2026 v0.17.0 Apr 9, 2026 Changes in this version + const MiddlewareType + func ApplyPatch(original []byte, patch []JSONPatchOp) ([]byte, error) + func CreateMiddleware(config *types.MiddlewareConfig, runner types.MiddlewareRunner) error + func IsPatchScopedToMCPRequest(patch []JSONPatchOp) bool + func ValidatePatch(patch []JSONPatchOp) error + type FactoryMiddlewareParams struct + ServerName string + Transport string + type JSONPatchOp struct + From string + Op string + Path string + Value json.RawMessage + type Middleware struct + func (*Middleware) Close() error + func (m *Middleware) Handler() types.MiddlewareFunction + type MiddlewareParams struct + Webhooks []webhook.Config + func (p *MiddlewareParams) Validate() error