Skip to content
VS Code

one search mcp for VS Code

io.github.yokingma/one-search-mcp

Web search, URL discovery, scraping & extraction with agent-browser and search providers

client:VS Code transport:stdio runtime:npm

Install one search mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "search-provider",
      "description": "SEARCH_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "search-api-url",
      "description": "SEARCH_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "search-api-key",
      "description": "SEARCH_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ydc-api-key",
      "description": "YDC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allow-private-network",
      "description": "ALLOW_PRIVATE_NETWORK",
      "password": true
    }
  ],
  "servers": {
    "one-search-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "one-search-mcp"
      ],
      "env": {
        "SEARCH_PROVIDER": "${input:search-provider}",
        "SEARCH_API_URL": "${input:search-api-url}",
        "SEARCH_API_KEY": "${input:search-api-key}",
        "YDC_API_KEY": "${input:ydc-api-key}",
        "ALLOW_PRIVATE_NETWORK": "${input:allow-private-network}"
      }
    }
  }
}

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

one search mcp in other clients