Skip to content
VS Code

media-context (mctx) for VS Code

io.github.mollymogi/media-context

Keep images, video & audio out of coding agent contexts — local FFmpeg + zero extra API cost.

client:VS Code transport:stdio runtime:pypi

Install media-context (mctx) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mctx-fallback-chain",
      "description": "MCTX_FALLBACK_CHAIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mctx-cooldown-seconds",
      "description": "MCTX_COOLDOWN_SECONDS",
      "password": true
    }
  ],
  "servers": {
    "media-context": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "media-context"
      ],
      "env": {
        "MCTX_FALLBACK_CHAIN": "${input:mctx-fallback-chain}",
        "MCTX_COOLDOWN_SECONDS": "${input:mctx-cooldown-seconds}"
      }
    }
  }
}

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

media-context (mctx) in other clients