M

MCP Authprobe

by Enigmacker · io.github.Enigmacker/mcp-authprobe

Enables AI assistants to run authorized active authorization tests against remote MCP servers you own, including refresh token rotation and replay, redirect URI strictness, throttling, and consent CSRF checks, with JSON, SARIF, and Markdown reports.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-enigmacker-mcp-authprobe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-authprobe"
      ],
      "env": {
        "MCP_AUTHPROBE_SECRET_FILE": "<VALUE>",
        "MCP_AUTHPROBE_SECRET": "<YOUR_VALUE>",
        "MCP_AUTHPROBE_CREDENTIALS_FILE": "<VALUE>",
        "MCP_AUTHPROBE_ALLOW_PRIVATE": "<VALUE>",
        "MCP_AUTHPROBE_LAB_ORIGINS": "<VALUE>",
        "MCP_AUTHPROBE_TIMEOUT_MS": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_FILE": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_TARGET": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_HEADER": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-enigmacker-mcp-authprobe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-authprobe"
      ],
      "env": {
        "MCP_AUTHPROBE_SECRET_FILE": "<VALUE>",
        "MCP_AUTHPROBE_SECRET": "<YOUR_VALUE>",
        "MCP_AUTHPROBE_CREDENTIALS_FILE": "<VALUE>",
        "MCP_AUTHPROBE_ALLOW_PRIVATE": "<VALUE>",
        "MCP_AUTHPROBE_LAB_ORIGINS": "<VALUE>",
        "MCP_AUTHPROBE_TIMEOUT_MS": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_FILE": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_TARGET": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_HEADER": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-enigmacker-mcp-authprobe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-authprobe"
      ],
      "env": {
        "MCP_AUTHPROBE_SECRET_FILE": "<VALUE>",
        "MCP_AUTHPROBE_SECRET": "<YOUR_VALUE>",
        "MCP_AUTHPROBE_CREDENTIALS_FILE": "<VALUE>",
        "MCP_AUTHPROBE_ALLOW_PRIVATE": "<VALUE>",
        "MCP_AUTHPROBE_LAB_ORIGINS": "<VALUE>",
        "MCP_AUTHPROBE_TIMEOUT_MS": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_FILE": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_TARGET": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_HEADER": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-enigmacker-mcp-authprobe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-authprobe"
      ],
      "env": {
        "MCP_AUTHPROBE_SECRET_FILE": "<VALUE>",
        "MCP_AUTHPROBE_SECRET": "<YOUR_VALUE>",
        "MCP_AUTHPROBE_CREDENTIALS_FILE": "<VALUE>",
        "MCP_AUTHPROBE_ALLOW_PRIVATE": "<VALUE>",
        "MCP_AUTHPROBE_LAB_ORIGINS": "<VALUE>",
        "MCP_AUTHPROBE_TIMEOUT_MS": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_FILE": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_TARGET": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_HEADER": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-enigmacker-mcp-authprobe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-authprobe"
      ],
      "env": {
        "MCP_AUTHPROBE_SECRET_FILE": "<VALUE>",
        "MCP_AUTHPROBE_SECRET": "<YOUR_VALUE>",
        "MCP_AUTHPROBE_CREDENTIALS_FILE": "<VALUE>",
        "MCP_AUTHPROBE_ALLOW_PRIVATE": "<VALUE>",
        "MCP_AUTHPROBE_LAB_ORIGINS": "<VALUE>",
        "MCP_AUTHPROBE_TIMEOUT_MS": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_FILE": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_TARGET": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_HEADER": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-enigmacker-mcp-authprobe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-authprobe"
      ],
      "env": {
        "MCP_AUTHPROBE_SECRET_FILE": "<VALUE>",
        "MCP_AUTHPROBE_SECRET": "<YOUR_VALUE>",
        "MCP_AUTHPROBE_CREDENTIALS_FILE": "<VALUE>",
        "MCP_AUTHPROBE_ALLOW_PRIVATE": "<VALUE>",
        "MCP_AUTHPROBE_LAB_ORIGINS": "<VALUE>",
        "MCP_AUTHPROBE_TIMEOUT_MS": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_FILE": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_TARGET": "<VALUE>",
        "MCP_AUTHPROBE_BEARER_HEADER": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MCP_AUTHPROBE_SECRET_FILE No Path to a file containing the ownership secret (preferred over MCP_AUTHPROBE_SECRET).
MCP_AUTHPROBE_SECRET secret No Ownership secret used to compute the ownership proof (prefer MCP_AUTHPROBE_SECRET_FILE). Never printed, and only its hash is published.
MCP_AUTHPROBE_CREDENTIALS_FILE No Path to the test grant file used for the refresh token checks. The grant is only used if it names the scanned target; it is consumed on compliant servers.
MCP_AUTHPROBE_ALLOW_PRIVATE No Set to 1 to allow loopback and private-address targets (local labs only).
MCP_AUTHPROBE_LAB_ORIGINS No Comma-separated lab origins (e.g. http://127.0.0.1:8080) exempt from the ownership proof.
MCP_AUTHPROBE_TIMEOUT_MS No Per-request timeout in milliseconds.
MCP_AUTHPROBE_BEARER_FILE No Path to a static API key (one line, mode 600) for a server authenticated without OAuth. Needs MCP_AUTHPROBE_BEARER_TARGET.
MCP_AUTHPROBE_BEARER_TARGET No The exact MCP URL the static key may be used for.
MCP_AUTHPROBE_BEARER_HEADER No Header for the static key (default Authorization, sent as Bearer).

Similar servers