MCP directory
M

mcp-authprobe

by github.com/Enigmacker · v0.10.1 · updated Nov 13, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • MCP_AUTHPROBE_SECRET_FILE

    Path to the ownership secret (create it with `mcp-authprobe ownership init <host>`). Without a secret, only discovery runs.

  • MCP_AUTHPROBE_SECRETsecret

    Ownership secret, if not read from MCP_AUTHPROBE_SECRET_FILE.

  • MCP_AUTHPROBE_CREDENTIALS_FILE

    Path to a test grant written by `mcp-authprobe login`, for the refresh token checks. It is consumed by a scan.

  • MCP_AUTHPROBE_ALLOW_PRIVATE

    Set to 1 to allow loopback and private targets (local labs only).

  • MCP_AUTHPROBE_LAB_ORIGINS

    Comma-separated lab origins exempt from the ownership proof, e.g. http://127.0.0.1:8080.

  • MCP_AUTHPROBE_TIMEOUT_MS

    Per-request timeout in milliseconds (default 10000).

  • MCP_AUTHPROBE_BEARER_FILE

    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

    The exact MCP URL the static key may be used for.

  • MCP_AUTHPROBE_BEARER_HEADER

    Header for the static key (default Authorization, sent as Bearer).

More MCP servers