Lex

14 tools. 1 can modify or destroy data without limits.

1 write tool that can modify data. Rate limits recommended.

Last updated:

1 can modify or destroy data
13 read-only
14 tools total
Read (13) Write / Execute (1) Destructive / Financial (0)

Write operations (frame_create) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.

One command. Full control.

Intercept sits between your agent and Lex. Every tool call checked against your policy before it executes — so your agent can do its job without breaking things.

npx -y @policylayer/intercept scan -- npx -y @smartergpt/lex-mcp
Scans every tool. Generates a policy. Starts enforcing.
Works with Claude Code · Cursor · Claude Desktop · Windsurf · any MCP client
Rate limit write operations
frame_create:
  rules:
    - rate_limit: 30/hour

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
atlas_analyze:
  rules:
    - rate_limit: 60/minute

Controls API costs and prevents retry loops from exhausting upstream rate limits.

How do I prevent bulk modifications through Lex? +

The Lex server has 1 write tools including frame_create. 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.

How many tools does the Lex MCP server expose? +

14 tools across 2 categories: Read, Write. 13 are read-only. 1 can modify, create, or delete data.

How do I add Intercept to my Lex setup? +

One line change. Instead of running the Lex server directly, prefix it with Intercept: intercept -c lex.yaml -- npx -y @@smartergpt/lex-mcp. Download a pre-built policy from policylayer.com/policies/lex and adjust the limits to match your use case.

policylayer/intercept

Control every MCP tool call
your agent makes.

Set budgets, approvals, and hard limits across MCP servers.

npx -y @policylayer/intercept init
Protect your agent in 30 seconds. Scans your MCP config and generates enforcement policies for every server.
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.