MCP Endpoint & OAuth 2.1 Security Auditor avatar

MCP Endpoint & OAuth 2.1 Security Auditor

Pricing

$30.00 / 1,000 remote mcp endpoint security & oauth 2.1 audits

Go to Apify Store
MCP Endpoint & OAuth 2.1 Security Auditor

MCP Endpoint & OAuth 2.1 Security Auditor

Audit remote MCP Streamable HTTP servers for OAuth 2.1 (RFC 9728, RFC 8414, PKCE S256), CORS/DNS-rebinding posture, schema token bloat, and tool-poisoning risks. Works in batch mode or as an Apify Standby Server Actor (/mcp).

Pricing

$30.00 / 1,000 remote mcp endpoint security & oauth 2.1 audits

Rating

0.0

(0)

Developer

Caliber Foundry

Caliber Foundry

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Categories

Features

Limited permissionsMulti-tenantServer interface

Share

Audit any remote Model Context Protocol (MCP) server (Streamable HTTP) for OAuth 2.1 compliance (RFC 9728, RFC 8414, PKCE S256), CORS / DNS-rebinding security, schema token bloat, and tool-poisoning prompt injection risks in seconds.

Built by Caliber Foundry (https://caliberfoundry.com/). Works both as a scheduled Apify Batch Actor and as a real-time Apify Server Actor (/mcp) via https://mcp.apify.com.

What This Actor Checks

  1. OAuth 2.1 & Discovery Compliance:
    • Unauthenticated POST /mcp challenge (401 Unauthorized + WWW-Authenticate: Bearer resource_metadata="...").
    • RFC 9728 Protected Resource Metadata (/.well-known/oauth-protected-resource) validation.
    • RFC 8414 / OIDC Authorization Server discovery (authorization_endpoint, token_endpoint, registration_endpoint).
    • Mandatory PKCE S256 check (code_challenge_methods_supported) and deprecated implicit grant (response_type="token") detection.
  2. Transport & DNS-Rebinding Security:
    • Enforces HTTPS posture in production and blocks SSRF targets (127.0.0.0/8, 10.0.0.0/8, 169.254.169.254).
    • Probes CORS with an untrusted Origin header to flag wildcard * or reflected origin vulnerabilities.
  3. Tool Surface, Token Bloat & Tool-Poisoning Scan:
    • Connects via Streamable HTTP (initialize + tools/list) when unauthenticated or when an optional Bearer token is supplied.
    • Estimates total schema token footprint (flagging > 8,000 / > 20,000 context bloat).
    • Scans tool names, descriptions, and JSON schemas for invisible Unicode / BiDi steganography, <IMPORTANT> / "ignore previous instructions" prompt injections, credential path harvesting (.ssh, .aws, .env), and missing readOnlyHint / destructiveHint annotations.

Example Input JSON

{
"targetUrls": [
"https://mcp.apify.com"
],
"probeTools": true,
"timeoutMs": 10000
}

Example Output JSON

{
"targetUrl": "https://mcp.apify.com",
"auditedAt": "2026-11-28T14:30:00.000Z",
"score": 96,
"grade": "A",
"authMode": "oauth21_compliant",
"oauth21": {
"challengeStatus": 401,
"wwwAuthenticatePresent": true,
"rfc9728Found": true,
"rfc8414Found": true,
"pkceS256Supported": true,
"dynamicClientRegistrationSupported": true
},
"transport": {
"httpsEndpoint": true,
"acceptsStreamableHttp": true,
"allowsUntrustedOrigin": false
},
"toolsAudit": {
"inspected": false,
"toolCount": 0,
"estimatedSchemaTokens": 0,
"poisoningFindingCount": 0
},
"findings": [],
"recommendedFixes": []
}

Connect via Apify MCP (mcp.apify.com)

{
"mcpServers": {
"mcp-security-auditor": {
"url": "https://mcp.apify.com/?tools=caliberfoundry/mcp-oauth-security-auditor"
}
}
}

Pricing (Pay-Per-Event)

  • mcp-endpoint-audited: $0.03 per audited MCP endpoint (zero Actor start fee; free preview runs are capped cleanly by your maxTotalChargeUsd).

FAQ

  • Are Bearer tokens stored or logged? No. Optional bearerToken inputs are flagged isSecret: true in .actor/input_schema.json and used strictly in memory for the single tools/list probe.
  • Does this work against private localhost endpoints? No; production SSRF guards block private/loopback/metadata IP ranges (127.0.0.1, 169.254.169.254, RFC 1918).