Skip to content

arbitrum transaction preflight for VS Code

io.github.naur9n/arbitrum-transaction-preflight

Paid Arbitrum transaction simulation and risk scoring for wallets and AI agents.

client:VS Code transport:stdio runtime:npm

Install arbitrum transaction preflight in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "client-private-key",
      "description": "CLIENT_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "server-url",
      "description": "SERVER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chain-id",
      "description": "CHAIN_ID",
      "password": true
    }
  ],
  "servers": {
    "arbitrum-transaction-preflight": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "arbitrum-mpp-transaction-preflight"
      ],
      "env": {
        "CLIENT_PRIVATE_KEY": "${input:client-private-key}",
        "SERVER_URL": "${input:server-url}",
        "CHAIN_ID": "${input:chain-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

arbitrum transaction preflight in other clients