Interface: MastraApiGateOptions
Inputs for isMastraRequestAllowed.
Properties
Section titled “Properties”access
Section titled “access”access:
"scoped"|"full"
config.apiAccess; "full" short-circuits to allow everything.
mcpEnabled
Section titled “mcpEnabled”mcpEnabled:
boolean
Whether the MCP transport is mounted (so /mcp/* is legitimate).