In the AI Enablement Stack, Blekline is Layer 4 and Modal is Layer 1 (serverless sandboxes with optional GPU).
| Layer | Product | Role |
|---|---|---|
| L4 | Blekline | Mask prompts, classify risk, govern MCP tool calls, audit |
| L1 | Modal | gVisor-isolated sandboxes, GPU, high concurrency |
Wiring
- Connect
@blekline/mcp-proxyin Cursor / Claude / Codex — MCP proxy - Set downstream MCP to a Modal-compatible server (e.g. community
mcp4modal_sandboxor your Modal app MCP) - Provide
MODAL_TOKEN_IDandMODAL_TOKEN_SECRET
export BLEKLINE_DOWNSTREAM_MCP_COMMAND="npx,-y,mcp4modal_sandbox"
export BLEKLINE_DOWNSTREAM_SERVER=modal
export MODAL_TOKEN_ID=...
export MODAL_TOKEN_SECRET=...
Flow: L5 Agent → L4 Blekline proxy → L1 Modal MCP → sandbox.
See Modal Sandboxes documentation for SDK and MCP setup.
Next steps: Sandbox providers · AI Enablement Stack · MCP Cursor setup · Open workspace