Lure — Claude Code MCP server: credential traps
The Lure MCP server for Claude Code plants fake credentials and alerts when someone tries to use them. An agent can check and rotate baits, then record where they were placed.
Apache-2.0 ★ 8 updated 2026-11-16
claude mcp add lure -- uvx silentmesh-lureWhat Lure does
Lure creates fake credentials that trigger an alert when someone attempts to log in with them. Alerts can go to a webhook, syslog, email, or the terminal. Simply opening or copying a bait file does not trigger one. Alert contents, IP addresses, and bait details stay with the operator; anonymous usage statistics are sent unless LURE_NO_TELEMETRY=1 is set.
An agent can check Lure, rotate baits, record their placement, and turn an alert and its attack path into an incident note. It requires Python 3.9+ and uvx, and uses Python’s standard library. Linux and Windows are supported; macOS is not yet supported. The uvx command must be available to launch the server.
What it helps with
- spot login attempts made with planted fake credentials
- check whether someone has used a bait
- keep a record of bait locations
- draft an incident note from an alert and attack path
Example prompts for the agent
- Check Lure and list any triggered baits.
- Rotate the bait credentials and record where they are planted.
- Write an incident note from the latest alert and attack path.
How to install Lure
Platform CLI
claude mcp add lure -- uvx silentmesh-lureuvx runs the command named after the package; if the README names another one, use uvx --from silentmesh-lure <command>
Platform CLI
codex mcp add lure -- uvx silentmesh-lureuvx runs the command named after the package; if the README names another one, use uvx --from silentmesh-lure <command>
Config file
{
"mcpServers": {
"lure": {
"command": "uvx",
"args": [
"silentmesh-lure"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from silentmesh-lure <command>
Config file
{
"servers": {
"lure": {
"type": "stdio",
"command": "uvx",
"args": [
"silentmesh-lure"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from silentmesh-lure <command>
Platform CLI
gemini mcp add lure uvx silentmesh-lureuvx runs the command named after the package; if the README names another one, use uvx --from silentmesh-lure <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Lure
How do I install Lure in Claude Code?
Run claude mcp add lure -- uvx silentmesh-lure. The uvx command is needed to start it.
What does Lure do?
It plants fake credentials and alerts when someone attempts to log in with them. An agent can also check and rotate baits, record their locations, and create an incident note from an alert and attack path.
What does Lure need to run?
It requires Python 3.9+ and uvx. Lure supports Linux and Windows; macOS is not yet supported.