Skip to content
VS Code

RASON for VS Code

io.github.frontlinesystems/rason-mcp-server

Build, solve, and analyze RASON optimization, simulation, data science, and decision models

client:VS Code transport:stdio runtime:npm

Install RASON in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "rason-bearer-token",
      "description": "RASON_BEARER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rason-server-url",
      "description": "RASON_SERVER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rason-result-array-limit",
      "description": "RASON_RESULT_ARRAY_LIMIT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rason-result-size-limit",
      "description": "RASON_RESULT_SIZE_LIMIT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rason-request-timeout",
      "description": "RASON_REQUEST_TIMEOUT",
      "password": true
    }
  ],
  "servers": {
    "rason-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@frontlinesystems/rason-mcp-server"
      ],
      "env": {
        "RASON_BEARER_TOKEN": "${input:rason-bearer-token}",
        "RASON_SERVER_URL": "${input:rason-server-url}",
        "RASON_RESULT_ARRAY_LIMIT": "${input:rason-result-array-limit}",
        "RASON_RESULT_SIZE_LIMIT": "${input:rason-result-size-limit}",
        "RASON_REQUEST_TIMEOUT": "${input:rason-request-timeout}"
      }
    }
  }
}

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

RASON in other clients