Skip to content
VS Code

Verdict for VS Code

io.github.ustay-coder/verdict

Score text, files and pages against a rubric with decision models; compare models on your cases.

client:VS Code transport:stdio runtime:npm

Install Verdict in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "typesafe-api-key",
      "description": "TYPESAFE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cloudflare-account-id",
      "description": "CLOUDFLARE_ACCOUNT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cloudflare-api-token",
      "description": "CLOUDFLARE_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "verdict-data-dir",
      "description": "VERDICT_DATA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "verdict-api-url",
      "description": "VERDICT_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "verdict-api-key",
      "description": "VERDICT_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "verdict": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@verdict-ai/mcp"
      ],
      "env": {
        "TYPESAFE_API_KEY": "${input:typesafe-api-key}",
        "CLOUDFLARE_ACCOUNT_ID": "${input:cloudflare-account-id}",
        "CLOUDFLARE_API_TOKEN": "${input:cloudflare-api-token}",
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "VERDICT_DATA_DIR": "${input:verdict-data-dir}",
        "VERDICT_API_URL": "${input:verdict-api-url}",
        "VERDICT_API_KEY": "${input:verdict-api-key}"
      }
    }
  }
}

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

Verdict in other clients