Skip to content
VS Code

APIThreshold for VS Code

ai.apithreshold/apithreshold

Quality scoring and progressive gates for AI-generated API tests. Stripe/Twilio profiles. Free tier.

client:VS Code transport:stdio runtime:oci

Install APIThreshold in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "apithreshold-llm-provider",
      "description": "APITHRESHOLD_LLM_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "apithreshold-license",
      "description": "APITHRESHOLD_LICENSE",
      "password": true
    }
  ],
  "servers": {
    "apithreshold": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/apithreshold/apithreshold:0.1.0"
      ],
      "env": {
        "APITHRESHOLD_LLM_PROVIDER": "${input:apithreshold-llm-provider}",
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
        "APITHRESHOLD_LICENSE": "${input:apithreshold-license}"
      }
    }
  }
}

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

APIThreshold in other clients