Skip to main content
Platform MCP Docs

MCP Security

Apply origin validation, least privilege, no token passthrough, bounded schemas, redaction, and evidence.

Version MCP 2025-11-25 Current Streamable HTTP contract with compatibility versions Reviewed Jul 26, 2026 Next review Oct 26, 2026

The free Developer workspace is for non-production building and learning under published limits. External API or MCP client credentials use a separate scoped request and approval process.

Owner: Batoi Developer Experience Reviewed by: Batoi Platform Security Source revision: upgrade-jul-26-2026

Browse Batoi Platform MCP Documentation MCP Security

MCP Security

Required posture

  • Use HTTPS in production.
  • Validate the endpoint hostname and workspace reference.
  • Keep host and connector credentials outside prompts, model context, generated code, logs, and browser storage.
  • Never pass a token issued for one resource to another resource.
  • Treat tool descriptions, remote content, and tool results as untrusted input.
  • Require human or policy approval before sensitive data sharing or action.
  • Apply deterministic allowlisting, timeouts, cancellation, response limits, and redaction.

Origin and network controls

The public MCP route rejects unapproved browser origins. Outbound MCP connections require separate hostname, port, address, redirect, and DNS-rebinding controls; this inbound endpoint does not become an arbitrary proxy.

Evidence

Tool calls record workspace-scoped session and activity hashes when the schema is installed. Proposal and approval-gated tools also preserve their review and policy evidence without placing raw credentials in the record.

Incident response

Suspend or revoke the host, close active sessions, rotate the credential, preserve request IDs and timestamps, and contact support. Do not share the credential itself.