tensorcad

v0.1.21
io.github.Filip-Pajalic/tensorcad Checked 2 days ago Published 2 months ago

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

Values you need

VariableWhat it is
TENSORCAD_ROOToptional Directory the server scans for .tensorcad.json files and resolves relative paths against. Defaults to the process working directory.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add tensorcad -- npx -y --package=@tensor-cad/mcp@0.1.21 tensorcad-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tensorcad": {
      "args": [
        "-y",
        "--package=@tensor-cad/mcp@0.1.21",
        "tensorcad-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tensorcad": {
      "args": [
        "-y",
        "--package=@tensor-cad/mcp@0.1.21",
        "tensorcad-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "tensorcad": {
      "args": [
        "-y",
        "--package=@tensor-cad/mcp@0.1.21",
        "tensorcad-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tensorcad]
command = "npx"
args = ["-y", "--package=@tensor-cad/mcp@0.1.21", "tensorcad-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: tensorcad_list_designs, tensorcad_new_design, tensorcad_open_design, tensorcad_save_design, tensorcad_get_design, tensorcad_get_block, tensorcad_search_catalog, tensorcad_apply_ops, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json