Skip to content
VS Code

Charter: rent a machine by the hour for VS Code

io.github.drew-dot-com/charter

Agents rent a sandbox, page fetcher or Linux home by the hour. USDC, x402. Free-month grants.

client:VS Code transport:stdio runtime:npm

Install Charter: rent a machine by the hour in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "charter-max-usdc-per-hour",
      "description": "CHARTER_MAX_USDC_PER_HOUR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "charter-max-usdc-per-day",
      "description": "CHARTER_MAX_USDC_PER_DAY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "charter-mcp-key-file",
      "description": "CHARTER_MCP_KEY_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "charter-mcp-no-new-key",
      "description": "CHARTER_MCP_NO_NEW_KEY",
      "password": true
    }
  ],
  "servers": {
    "charter": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "charter-mcp"
      ],
      "env": {
        "CHARTER_MAX_USDC_PER_HOUR": "${input:charter-max-usdc-per-hour}",
        "CHARTER_MAX_USDC_PER_DAY": "${input:charter-max-usdc-per-day}",
        "CHARTER_MCP_KEY_FILE": "${input:charter-mcp-key-file}",
        "CHARTER_MCP_NO_NEW_KEY": "${input:charter-mcp-no-new-key}"
      }
    }
  }
}

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

Charter: rent a machine by the hour in other clients