Integrate Arcjet Guard Mastra

Integrate Arcjet security into a Mastra agent using @arcjet/guard — wrap createTool execute, screen input/output with a Processor tripwire, and gate unwrapped MCP/workspace tools with hooks. Use when asked to add Arcjet to a Mastra agent, rate limit its tools, screen inbound messages, or block prompt injection / PII.

arcjet Updated 701 repo stars

File contents

arcjet/arcjet-js commit d5f238168f

Frequently asked questions

npx get-skill add arcjet/integrate-arcjet-guard-mastra