Encased — AI agent security

Developer connections

Encased.ai MCP gateway

Connect your agent to workspace policies and human decisions. Authentication separates accounts; MCP alone cannot stop an agent ignoring a decision.

Register your agent

Sign in to register an agent and connect to your own workspace.

Sign in to register

Live OAuth connection demo

A real delegated connection, not a simulated verdict. No model calls or external actions. Submit only the supplied synthetic document search in a test workspace.

Your agent's connection sequence

  1. 01 · Register

    Use the client ID from registration, or let your MCP client register automatically. Only trusted server clients use a secret.

  2. 02 · Authorise

    Discover the OAuth provider through /mcp, create a random state and S256 PKCE challenge, and open the consent screen. Verify state at your callback.

  3. 03 · Exchange

    Exchange the returned authorization code with the exact callback address and PKCE verifier. Keep delegated tokens private; never paste login tokens.

  4. 04 · Propose & review

    Call list_workspaces, list_guardrail_rules, evaluate_action_policy and check_review_status. Review decisions apply only to the exact stored proposal.

Trial proposals: 30 per workspace per minute; non-blocked proposals remain pending human review. Use synthetic data only. Your agent must enforce decisions before effects; independent containment review remains pending.