35 tools. 14 can modify or destroy data without limits.
5 destructive tools with no built-in limits. Policy required.
Last updated:
Financial operations (midnight_transfer_tokens) can move real money. An agent caught in a loop could drain accounts before anyone notices.
Destructive tools (browser_eval, init, nextjs_call) permanently delete resources. There is no undo. An agent calling these in a retry loop causes irreversible damage.
Write operations (disable_toolset, enable_cache_components, enable_toolset) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.
Execute tools (midnight_call_contract, midnight_compile_contract, midnight_deploy_contract) trigger processes with side effects. Builds, notifications, workflows — all fired without throttling.
midnight_transfer_tokens:
rules:
- action: deny Financial tools should be explicitly enabled per use case, not open by default.
browser_eval:
rules:
- action: deny Destructive tools should never be available to autonomous agents without human approval.
disable_toolset:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
get_environment_info:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
Yes. The Midnight Nextjs server exposes 1 financial tools including midnight_transfer_tokens. Without a policy, an autonomous agent can call these with no spend caps, no rate limits, and no approval flow. Intercept lets you block financial tools by default or set per-tool rate limits.
Yes. The Midnight Nextjs server exposes 4 destructive tools including browser_eval, init, nextjs_call. These permanently remove resources with no undo. Intercept blocks destructive tools by default so they never reach the upstream server.
The Midnight Nextjs server has 4 write tools including disable_toolset, enable_cache_components, enable_toolset. Set rate limits in your policy file -- for example, rate_limit: 10/hour prevents an agent from making more than 10 modifications per hour. Intercept enforces this at the transport layer.
35 tools across 5 categories: Destructive, Execute, Financial, Read, Write. 21 are read-only. 14 can modify, create, or delete data.
One line change. Instead of running the Midnight Nextjs server directly, prefix it with Intercept: intercept -c midnight-next-js-mcp.yaml -- npx -y @midnight-nextjs-mcp. Download a pre-built policy from policylayer.com/policies/midnight-next-js-mcp and adjust the limits to match your use case.
Starter policies available for each. Same risk classification, same one-command setup.
Deterministic policy on every MCP tool call. Per-identity grants. Full audit log.