ExMCP.ACP.Client.DefaultHandler (ex_mcp v1.0.0-rc.0)

View Source

Default ACP handler that collects events and denies permissions.

Collects all session updates in a list (newest first). Permission requests are denied by default. File access is denied.

Useful for testing and simple use cases. For production, implement ExMCP.ACP.Client.Handler with custom logic.

Set auto_approve_permissions: true in handler opts only for trusted local tests or demos that intentionally approve the first allow option.