Skip to content
VS Code

OpenSTEM for VS Code

io.github.kimi94279-glitch/openstem-mcp

STEM study tools: LaTeX/circuit figures, math and unit checks, PDF/HWP reading, exam/slide export

client:VS Code transport:stdio runtime:pypi

Install OpenSTEM in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openstem-output-dir",
      "description": "OPENSTEM_OUTPUT_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openstem-input-dir",
      "description": "OPENSTEM_INPUT_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openstem-lms-school",
      "description": "OPENSTEM_LMS_SCHOOL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openstem-lms-token",
      "description": "OPENSTEM_LMS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openstem-lms-calendar-url",
      "description": "OPENSTEM_LMS_CALENDAR_URL",
      "password": true
    }
  ],
  "servers": {
    "openstem-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "openstem-mcp"
      ],
      "env": {
        "OPENSTEM_OUTPUT_DIR": "${input:openstem-output-dir}",
        "OPENSTEM_INPUT_DIR": "${input:openstem-input-dir}",
        "OPENSTEM_LMS_SCHOOL": "${input:openstem-lms-school}",
        "OPENSTEM_LMS_TOKEN": "${input:openstem-lms-token}",
        "OPENSTEM_LMS_CALENDAR_URL": "${input:openstem-lms-calendar-url}"
      }
    }
  }
}

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

OpenSTEM in other clients