Skip to content

Interface: MastraApiGateOptions

Inputs for isMastraRequestAllowed.

access: "scoped" | "full"

config.apiAccess; "full" short-circuits to allow everything.


mcpEnabled: boolean

Whether the MCP transport is mounted (so /mcp/* is legitimate).