Skip to content

adt-server binary cannot run with ADT_SERVER_MCP_SAFE_EXECUTE_ENABLED=true #144

Description

@devin-ai-integration

The adt-server createAdtServerMcpOptions correctly rejects an incomplete safe_execute configuration when the deployment does not supply consumeExecutionAuthorization and reportExecutionOutcome hooks.

However, the shipped packages/adt-server/src/bin/adt-server.ts startup only passes executeWithDeadline and leaves both hooks undefined. Enabling ADT_SERVER_MCP_SAFE_EXECUTE_ENABLED=true in the binary therefore always aborts startup.

We need a supported way for deployments to register these hooks, or sensible default implementations wired from environment variables (e.g. an authorization consumer URL and an outcome reporter URL) so the binary can run with safe_execute enabled.

Related to PR #143 (review thread PRRT_kwDOM80YYc6TfskC).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions