Skip to content
VS Code

solmail for VS Code

io.github.expertvagabond/solmail

Send physical mail with Solana cryptocurrency - AI agents can send real letters worldwide

client:VS Code transport:stdio runtime:npm

Install solmail in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "solana-private-key",
      "description": "SOLANA_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-network",
      "description": "SOLANA_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solmail-api-url",
      "description": "SOLMAIL_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "merchant-wallet",
      "description": "MERCHANT_WALLET",
      "password": true
    }
  ],
  "servers": {
    "solmail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "solmail-mcp"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "${input:solana-private-key}",
        "SOLANA_NETWORK": "${input:solana-network}",
        "SOLMAIL_API_URL": "${input:solmail-api-url}",
        "MERCHANT_WALLET": "${input:merchant-wallet}"
      }
    }
  }
}

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

solmail in other clients