Skip to content
VS Code

tinycontext for VS Code

io.github.tinysuitehq/tinycontext

Token-light local memory with SQLite hybrid retrieval for MCP agents.

client:VS Code transport:stdio runtime:oci

Install tinycontext in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tinycontext-config-path",
      "description": "TINYCONTEXT_CONFIG_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tinycontext-memory-db-path",
      "description": "TINYCONTEXT_MEMORY_DB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tinycontext-models-dir",
      "description": "TINYCONTEXT_MODELS_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "otel-service-name",
      "description": "OTEL_SERVICE_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "otel-exporter-otlp-endpoint",
      "description": "OTEL_EXPORTER_OTLP_ENDPOINT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "otel-exporter-otlp-protocol",
      "description": "OTEL_EXPORTER_OTLP_PROTOCOL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "otel-exporter-otlp-headers",
      "description": "OTEL_EXPORTER_OTLP_HEADERS",
      "password": true
    }
  ],
  "servers": {
    "tinycontext": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/marcellm01/tinycontext:v0.5.0"
      ],
      "env": {
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "TINYCONTEXT_CONFIG_PATH": "${input:tinycontext-config-path}",
        "TINYCONTEXT_MEMORY_DB_PATH": "${input:tinycontext-memory-db-path}",
        "TINYCONTEXT_MODELS_DIR": "${input:tinycontext-models-dir}",
        "OTEL_SERVICE_NAME": "${input:otel-service-name}",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "${input:otel-exporter-otlp-endpoint}",
        "OTEL_EXPORTER_OTLP_PROTOCOL": "${input:otel-exporter-otlp-protocol}",
        "OTEL_EXPORTER_OTLP_HEADERS": "${input:otel-exporter-otlp-headers}"
      }
    }
  }
}

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

tinycontext in other clients