Caelara Shield MCP Server
Provides a ready-made Coinbase AgentKit adapter so agents built with AgentKit can use Caelara Shield's pre-execution screening and unsigned payload building.
Screens EVM calldata, token approvals, and token routes on Ethereum, and can build unsigned EVM transactions for review and signing.
Screens GMX v2 markets on Arbitrum for liquidity and leverage, and builds GMX order transactions for agent review and signing.
Supports token route screening and unsigned route building on Optimism as part of its multi-chain EVM coverage.
Supports token route screening and unsigned route building on Polygon as part of its multi-chain EVM coverage.
Screens tokens and builds unsigned token routes on Solana, including EVM-to-Solana routes and Pump.fun bonding-curve coins.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@caelaralabs/shield-mcp
Caelara Shield: Pre-Execution Security & Universal Guardrail MCP Server.
A stdio Model Context Protocol server that lets an AI agent check what it is about to do before anything is signed or sent. It screens:
prompts and model outputs,
outbound fetches,
tokens, raw calldata and token approvals,
wallet actions on several venues.
For wallet actions it returns an unsigned payload for the human or wallet to review and sign. It never holds keys, never signs and never submits.
Plain Node ESM, zero runtime dependencies, Node 18 or newer.
npx -y @caelaralabs/shield-mcpHeuristic screening — will miss attacks. No findings is not proof of safety.
Tools
Tool | What it checks | Route | Price |
| Any wallet action: screen, then build an unsigned payload (see below) |
| free, no key |
| Untrusted input before it reaches a model: injection, hidden characters, PII, secrets |
| 0.015 USDC |
| Model output before it is used: leakage, exfiltration links, active content, shell patterns |
| 0.015 USDC |
| An https fetch through an SSRF-guarded proxy, with the body scanned |
| 0.025 USDC |
| A token, a broadcast transaction hash, or a destination address (poisoning lookalikes) |
| 0.050 USDC |
| A token route: screened quote across chains |
| free, no key |
| A token route: screened, unsigned transactions (tool name kept for compatibility) |
| free, no key |
Related MCP server: mcpsentry
The universal guardrail
shield_universal_action takes { type, strictBlock?, params } and always answers in one shape:
{
"ok": true,
"type": "tx_guardrail",
"venue": "evm",
"riskLevel": "high",
"flags": ["approval:unlimited: Grants an unlimited allowance ..."],
"disclosure": "Heuristic screening — will miss attacks",
"feeModel": { "kind": "none" },
"unsignedPayload": { "kind": "evm_transaction", "chainId": 8453, "to": "0x...", "data": "0x..." },
"policy": { "strictBlock": false }
}riskLevel is low, medium or high. flags explain why.
strictBlock sets the risk policy:
false(default): the action is risk-labelled and the payload is still built. An agent must showriskLevelandflagsto the user and get explicit confirmation before anything is signed.true:riskLevel: highis refused withpolicy_blocked(HTTP 422), and no payload is built. Use it for treasuries and unattended agents.
| What it does | Fee model |
| Decodes arbitrary EVM calldata before signing. Flags unlimited or EOA-spender approvals, | none (screening only) |
| Screens both tokens, then quotes or builds a token route on Solana, Ethereum, Base, Arbitrum, Optimism, Polygon and BNB, including EVM <-> Solana. Pass | 0.50% integrator fee, shown in the quote |
|
| Hyperliquid builder code (10 bps, once activated); GMX UI fee (once activated) |
|
| Polymarket builder code (once registered) |
|
| Zora mint referral; Seaport fulfiller tip (50 bps, paid by the buyer) |
Where fees go: fee and referral recipients are configured server-side and are not published. They appear only inside the unsigned payload, where your wallet shows them before you sign.
Derivatives are geofenced: perp_order and prediction_order are refused (jurisdiction_restricted) wherever the venue's terms bar order placement, including the United States.
Field lists for every params shape: https://shield.caelaralabs.com/openapi.json. The per-venue REST routes take the same params at the top level:
/v1/hyperliquid/screen-order/v1/gmx/screen-order/v1/polymarket/screen-order/v1/nft/screen-build
Example (check an approval before signing it):
{ "type": "tx_guardrail", "strictBlock": true, "params": { "chainId": 8453, "to": "<token>", "data": "0x095ea7b3...", "from": "<your wallet>" } }Configure
The universal guardrail and the token-route tools need no key. The four paid screening tools use a Caelara API key in CAELARA_KEY, which is sent as the X-Caelara-Key header.
Desktop MCP clients
Add this to your desktop assistant's MCP server configuration file (the mcpServers section):
{
"mcpServers": {
"caelara-shield": {
"command": "npx",
"args": ["-y", "@caelaralabs/shield-mcp"],
"env": { "CAELARA_KEY": "your-key (optional)" }
}
}
}Cursor
.cursor/mcp.json in your project, or ~/.cursor/mcp.json:
{
"mcpServers": {
"caelara-shield": {
"command": "npx",
"args": ["-y", "@caelaralabs/shield-mcp"],
"env": { "CAELARA_KEY": "your-key (optional)" }
}
}
}OpenClaw
Copy examples/openclaw/ into your skills folder (for example ~/.openclaw/skills/caelara-shield/). The skill calls the HTTP API with curl and needs no MCP setup. To use the MCP server instead, add the same mcpServers block to your OpenClaw MCP configuration.
x402 agents (pay per call in USDC on Base)
Agents with a Base wallet can skip API keys entirely:
Call the REST routes directly.
A paid route without a key answers
402 Payment Requiredwith x402 terms (X-Payment-Required).Settle in USDC on Base and retry with the
X-PAYMENTheader.
The terms are listed at https://shield.caelaralabs.com/x402-manifest.json. The guardrail and token-route routes are free and never ask for payment.
curl -s https://shield.caelaralabs.com/v1/shield/prompt -H 'Content-Type: application/json' -d '{"text":"..."}' -i | grep -i x-payment-requiredOptional environment variables
CAELARA_SHIELD_URL: base URL (defaulthttps://shield.caelaralabs.com).CAELARA_SHIELD_TIMEOUT_MS: request timeout in milliseconds (default3000).
Behaviour
Stateless: nothing is written to disk, and request and response bodies are never logged.
Requests: every upstream request has a 3000 ms timeout and sends
User-Agent: CaelaraLabs-Engine/1.0.Errors: failures come back as tool results with
isError: trueand a JSON body (timeout,network_error,upstream_error,invalid_arguments,policy_blocked,jurisdiction_restricted). The server never throws to the client.Payment: a paid tool without a valid key returns
payment_requiredwith the x402 terms.Keys: no tool accepts a private key, seed phrase or signer.
Adapters
Ready-made adapters are in examples/:
Coinbase AgentKit
elizaOS
the GOAT SDK
OpenClaw
Test
node --test test/License
MIT. Caelara Labs, ops@caelaralabs.com.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.
Real-time MCP & A2A prompt-injection, jailbreak, and tool-schema poisoning firewall for AI agents.
Security & DLP proxy for MCP: tool-poisoning scans, PII redaction on tool args/results. Beta.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAdaptive security for AI agents: assess inputs for prompt injection, scan outputs for credential/PII leaks, teach new attack patterns to semantic memory, harden prompts, and monitor metrics. Runs locally via MCP stdio.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceSecurity scanner and runtime proxy for MCP servers. Catches tool poisoning, prompt injection, and rug-pull attacks (silent tool description changes) before they reach your AI agent. Includes a static scanner and a runtime stdio proxy.92 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP servers and local AI agents to safely interact with host environments by blocking indirect prompt injections, directory traversal, and malicious shell commands.MIT
- AlicenseNot gradedqualityCmaintenanceProvides an MCP stdio interface for AI agents to propose tool calls that are validated against task policy, held for human approval when required, executed in a sandboxed Linux environment, and recorded in an audit log.MIT