Skip to content
VS Code

mcp-authprobe for VS Code

io.github.enigmacker/mcp-authprobe

Active OAuth tests for remote MCP servers you own: tokens, PKCE, redirect_uri, audience, CSRF.

client:VS Code transport:stdio runtime:npm

Install mcp-authprobe in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-authprobe-secret-file",
      "description": "MCP_AUTHPROBE_SECRET_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-secret",
      "description": "MCP_AUTHPROBE_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-credentials-file",
      "description": "MCP_AUTHPROBE_CREDENTIALS_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-allow-private",
      "description": "MCP_AUTHPROBE_ALLOW_PRIVATE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-lab-origins",
      "description": "MCP_AUTHPROBE_LAB_ORIGINS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-timeout-ms",
      "description": "MCP_AUTHPROBE_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-bearer-file",
      "description": "MCP_AUTHPROBE_BEARER_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-bearer-target",
      "description": "MCP_AUTHPROBE_BEARER_TARGET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-authprobe-bearer-header",
      "description": "MCP_AUTHPROBE_BEARER_HEADER",
      "password": true
    }
  ],
  "servers": {
    "mcp-authprobe": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-authprobe"
      ],
      "env": {
        "MCP_AUTHPROBE_SECRET_FILE": "${input:mcp-authprobe-secret-file}",
        "MCP_AUTHPROBE_SECRET": "${input:mcp-authprobe-secret}",
        "MCP_AUTHPROBE_CREDENTIALS_FILE": "${input:mcp-authprobe-credentials-file}",
        "MCP_AUTHPROBE_ALLOW_PRIVATE": "${input:mcp-authprobe-allow-private}",
        "MCP_AUTHPROBE_LAB_ORIGINS": "${input:mcp-authprobe-lab-origins}",
        "MCP_AUTHPROBE_TIMEOUT_MS": "${input:mcp-authprobe-timeout-ms}",
        "MCP_AUTHPROBE_BEARER_FILE": "${input:mcp-authprobe-bearer-file}",
        "MCP_AUTHPROBE_BEARER_TARGET": "${input:mcp-authprobe-bearer-target}",
        "MCP_AUTHPROBE_BEARER_HEADER": "${input:mcp-authprobe-bearer-header}"
      }
    }
  }
}

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

mcp-authprobe in other clients