lockout-mcp

v0.4.0
io.github.lockoutgate/lockout-mcp Checked 2 days ago Published 1 hour ago

Read, preview and trade Robinhood Chain stock tokens through one lockout account.

Values you need

VariableWhat it is
LOCKOUT_FACTORYrequired LockoutFactory address on Robinhood Chain. Default: 0xeAD444A07f59C89Fb4454F28854245D5D8E1f456
LOCKOUT_LENSrequired LockoutLens address on Robinhood Chain. Default: 0xfbCAcd8748a473a4778a43B1bCd2dB3B563daA42
LOCKOUT_ACCOUNTrequired The lockout account address.
LOCKOUT_AGENT_KEY_FILEoptional Absolute path to the local agent key file, needed only to trade.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add lockout-mcp -e 'LOCKOUT_ACCOUNT=<LOCKOUT_ACCOUNT>' -e LOCKOUT_FACTORY=0xeAD444A07f59C89Fb4454F28854245D5D8E1f456 -e LOCKOUT_LENS=0xfbCAcd8748a473a4778a43B1bCd2dB3B563daA42 -- npx -y lockout-mcp@0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "lockout-mcp": {
      "args": [
        "-y",
        "lockout-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "LOCKOUT_ACCOUNT": "<LOCKOUT_ACCOUNT>",
        "LOCKOUT_FACTORY": "0xeAD444A07f59C89Fb4454F28854245D5D8E1f456",
        "LOCKOUT_LENS": "0xfbCAcd8748a473a4778a43B1bCd2dB3B563daA42"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "lockout-mcp": {
      "args": [
        "-y",
        "lockout-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "LOCKOUT_ACCOUNT": "<LOCKOUT_ACCOUNT>",
        "LOCKOUT_FACTORY": "0xeAD444A07f59C89Fb4454F28854245D5D8E1f456",
        "LOCKOUT_LENS": "0xfbCAcd8748a473a4778a43B1bCd2dB3B563daA42"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LOCKOUT_ACCOUNT",
      "id": "lockout-account",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "LOCKOUT_FACTORY",
      "id": "lockout-factory",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "LOCKOUT_LENS",
      "id": "lockout-lens",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "lockout-mcp": {
      "args": [
        "-y",
        "lockout-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "LOCKOUT_ACCOUNT": "${input:lockout-account}",
        "LOCKOUT_FACTORY": "${input:lockout-factory}",
        "LOCKOUT_LENS": "${input:lockout-lens}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.lockout-mcp]
command = "npx"
args = ["-y", "lockout-mcp@0.3.0"]
env = { "LOCKOUT_ACCOUNT" = "<LOCKOUT_ACCOUNT>", "LOCKOUT_FACTORY" = "0xeAD444A07f59C89Fb4454F28854245D5D8E1f456", "LOCKOUT_LENS" = "0xfbCAcd8748a473a4778a43B1bCd2dB3B563daA42" }

For AI agents

  1. Ask the user for: LOCKOUT_FACTORY, LOCKOUT_LENS, LOCKOUT_ACCOUNT. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: account_status, markets, quote, preview_buy, preview_sell, buy, sell.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json