Skip to content
VS Code

secondhand search for VS Code

io.github.johanschnor/secondhand-search

One search across twelve secondhand sites like Vinted, DBA and Sellpy. Runs on your own computer.

client:VS Code transport:stdio runtime:npm

Install secondhand search in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "relay-url",
      "description": "RELAY_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ebay-client-id",
      "description": "EBAY_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ebay-client-secret",
      "description": "EBAY_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tradera-app-id",
      "description": "TRADERA_APP_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tradera-app-key",
      "description": "TRADERA_APP_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "constructor-key",
      "description": "CONSTRUCTOR_KEY",
      "password": true
    }
  ],
  "servers": {
    "secondhand-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "secondhand-search"
      ],
      "env": {
        "RELAY_URL": "${input:relay-url}",
        "EBAY_CLIENT_ID": "${input:ebay-client-id}",
        "EBAY_CLIENT_SECRET": "${input:ebay-client-secret}",
        "TRADERA_APP_ID": "${input:tradera-app-id}",
        "TRADERA_APP_KEY": "${input:tradera-app-key}",
        "CONSTRUCTOR_KEY": "${input:constructor-key}"
      }
    }
  }
}

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

secondhand search in other clients