Skip to content
VS Code

tinysearch for VS Code

io.github.marcellm01/tinysearch

Self-hosted web research for MCP agents.

client:VS Code transport:stdio runtime:oci

Install tinysearch in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tinysearch-config-path",
      "description": "TINYSEARCH_CONFIG_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "searxng-url",
      "description": "SEARXNG_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tinysearch-embedding-backend",
      "description": "TINYSEARCH_EMBEDDING_BACKEND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tinysearch-embedding-model",
      "description": "TINYSEARCH_EMBEDDING_MODEL",
      "password": true
    }
  ],
  "servers": {
    "tinysearch": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/marcellm01/tinysearch:v0.4.0"
      ],
      "env": {
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "TINYSEARCH_CONFIG_PATH": "${input:tinysearch-config-path}",
        "SEARXNG_URL": "${input:searxng-url}",
        "TINYSEARCH_EMBEDDING_BACKEND": "${input:tinysearch-embedding-backend}",
        "TINYSEARCH_EMBEDDING_MODEL": "${input:tinysearch-embedding-model}"
      }
    }
  }
}

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

tinysearch in other clients