mcp-oauth-security-auditor
README.md
# MCP OAuth 2.1 Security & Tool Poisoning Checker (MCP)
[](https://m8ven.ai/mcp/caliberfoundry/mcp-oauth-security-auditor?s=readme)
Remote MCP Security Auditor, OAuth 2.1 Compliance Checker & Tool-Poisoning Scanner. Built by **Caliber Foundry** (`https://caliberfoundry.com/`) with dual **Apify Batch Actor** + real-time **Apify Standby Server Actor (`/mcp`)** support, **Pay-Per-Event** billing (`$0` start fee), and RFC 6890 SSRF protection.
---
## For AI Agents (MCP & Dynamic Tool Discovery)
- **When to call this Actor / MCP server:**
- Audit a third-party Streamable HTTP MCP endpoint before connecting production AI agents or issuing tokens.
- Check RFC 9728 Protected Resource Metadata, RFC 8414 Auth Server Metadata, PKCE S256, and CORS origin restrictions.
- Scan `tools/list` JSON definitions for prompt injection, hidden Unicode steganography, or schema token bloat.
- **Why choose this over browser scrapers:** Runs deterministic protocol probes over pure Node HTTP in sub-seconds with SSRF defense, `$0` actor start fee, and read-only MCP tool inspection.
- **Key-Value Store summary:** Inspect `SUMMARY` for run-level totals and diagnostics; full structured records live in the default **Dataset**.
| MCP Tool Name | Purpose |
| :--- | :--- |
| `audit_mcp_endpoint` | Probes URL for OAuth 2.1 discovery, PKCE S256, CORS/DNS rebinding, and live tools/list risk |
| `scan_mcp_tools_manifest` | Statically scans raw tools/list JSON arrays for prompt injection and context-window bloat |
## Example Input JSON
```json
{
"targetUrls": [
"https://mcp.apify.com"
],
"probeTools": true,
"timeoutMs": 10000
}
```
## Example Output JSON
```json
{
"targetUrl": "https://mcp.apify.com",
"score": 88,
"grade": "B",
"authMode": "oauth2.1",
"oauth21": {
"rfc9728Found": true,
"pkceS256Supported": true
},
"transport": {
"acceptsStreamableHttp": true
},
"toolsAudit": {
"toolCount": 7,
"estimatedSchemaTokens": 940,
"poisoningFindingCount": 0
}
}
```
## Pay-Per-Event Pricing & Apify Store Discounts
Zero monthly rental and zero actor start fee. Pay strictly per delivered unit:
| Charge Event | Free Tier | Per 1,000 Units | Bronze (-10%) | Silver (-20%) | Gold (-30%) |
| :--- | :--- | :--- | :--- | :--- | :--- |
| `mcp-endpoint-audited` (Primary) | $0.03 | $30.00 / 1,000 | $27.00 | $24.00 | $21.00 |
## Connect via Streamable HTTP MCP
Point Claude Desktop, Cursor, Windsurf, or any Streamable HTTP MCP client at:
```json
{
"mcpServers": {
"mcp-oauth-security-auditor": {
"type": "streamable-http",
"url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}
```
## FAQ & Companion CLI Skill
- **Does this send destructive requests to target MCP tools?** No. Only `initialize` and `tools/list` discovery are probed with `readOnlyHint: true`.
- **Is internal network scanning blocked?** Yes. RFC 6890 SSRF protection blocks localhost, cloud metadata, and private IP ranges by default.
- **Local CLI Skill (Free on Agensi):** [https://www.agensi.io/skills/mcp-oauth-2-1-security-audit](https://www.agensi.io/skills/mcp-oauth-2-1-security-audit)
- **Full Caliber Foundry MCP Catalog:** [https://caliberfoundry.com/mcp/](https://caliberfoundry.com/mcp/)
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues