Skip to content
VS Code

cURL Generator MCP for VS Code

io.github.xiaobinger/curlgen-mcp

HTTP requests, signed code generation, GateShell/SSH execution and file transfer.

client:VS Code transport:stdio runtime:pypi

Install cURL Generator MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "curlgen-config-dir",
      "description": "CURLGEN_CONFIG_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-mcp-file-roots",
      "description": "CURLGEN_MCP_FILE_ROOTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-jump-password",
      "description": "CURLGEN_JUMP_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-env",
      "description": "CURLGEN_ENV",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-sign-key",
      "description": "CURLGEN_SIGN_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-sign-algo",
      "description": "CURLGEN_SIGN_ALGO",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-target-password",
      "description": "CURLGEN_TARGET_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-target-key",
      "description": "CURLGEN_TARGET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-mcp-max-response",
      "description": "CURLGEN_MCP_MAX_RESPONSE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "curlgen-mcp-max-transfer",
      "description": "CURLGEN_MCP_MAX_TRANSFER",
      "password": true
    }
  ],
  "servers": {
    "curlgen-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "curlgen-mcp"
      ],
      "env": {
        "CURLGEN_CONFIG_DIR": "${input:curlgen-config-dir}",
        "CURLGEN_MCP_FILE_ROOTS": "${input:curlgen-mcp-file-roots}",
        "CURLGEN_JUMP_PASSWORD": "${input:curlgen-jump-password}",
        "CURLGEN_ENV": "${input:curlgen-env}",
        "CURLGEN_SIGN_KEY": "${input:curlgen-sign-key}",
        "CURLGEN_SIGN_ALGO": "${input:curlgen-sign-algo}",
        "CURLGEN_TARGET_PASSWORD": "${input:curlgen-target-password}",
        "CURLGEN_TARGET_KEY": "${input:curlgen-target-key}",
        "CURLGEN_MCP_MAX_RESPONSE": "${input:curlgen-mcp-max-response}",
        "CURLGEN_MCP_MAX_TRANSFER": "${input:curlgen-mcp-max-transfer}"
      }
    }
  }
}

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

cURL Generator MCP in other clients