For developers

MCP & agents

LENS ships an MCP server so any agent can run a rug check mid-conversation, the same verdict you see, available as a tool call.

Connect it

bash
claude mcp add --transport http lens https://lens-liard.vercel.app/api/mcp
your agent in a chat LENS MCP scan username scan contract scan wallet VERDICT CLEAR / CAUTION / STOP
an agent calls LENS like any other tool

The three tools

The server exposes three tools, scan an X username, scan a contract, and scan a wallet. Each returns the verdict and red lines as structured data, so an agent can read the result and reason about it rather than just printing a string.

This is what lets an agent vet a token in the middle of a task: it sees a contract address, calls the scan tool, gets back a STOP with the reasons, and can refuse to ape on your behalf, all without you switching tabs.

The full agent guide lives on the Agents page.