Skip to content
VS Code

token savior for VS Code

io.github.mibayy/token-savior

Structural codebase MCP server with persistent memory: navigate by symbol, recall across sessions.

client:VS Code transport:stdio runtime:pypi

Install token savior in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "workspace-roots",
      "description": "WORKSPACE_ROOTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "token-savior-client",
      "description": "TOKEN_SAVIOR_CLIENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "token-savior-profile",
      "description": "TOKEN_SAVIOR_PROFILE",
      "password": true
    }
  ],
  "servers": {
    "token-savior": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "token-savior-recall"
      ],
      "env": {
        "WORKSPACE_ROOTS": "${input:workspace-roots}",
        "TOKEN_SAVIOR_CLIENT": "${input:token-savior-client}",
        "TOKEN_SAVIOR_PROFILE": "${input:token-savior-profile}"
      }
    }
  }
}

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

token savior in other clients