Skip to content
VS Code

tensorcad for VS Code

io.github.filip-pajalic/tensorcad

Design transformer LLM architectures and report their parameters, FLOPs, memory and cost

client:VS Code transport:stdio runtime:npm

Install tensorcad in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tensorcad-root",
      "description": "TENSORCAD_ROOT",
      "password": true
    }
  ],
  "servers": {
    "tensorcad": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tensor-cad/mcp"
      ],
      "env": {
        "TENSORCAD_ROOT": "${input:tensorcad-root}"
      }
    }
  }
}

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

tensorcad in other clients