# MCP OAuth 2.1 & Tool Poisoning Security Auditor

> MCP OAuth 2.1 & Tool Poisoning Security Auditor is a paid MCP server for security. Audits remote MCP servers for OAuth 2.1, CORS and tool-poisoning risks. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI
- **Website:** https://apify.com/caliberfoundry/mcp-oauth-security-auditor
- **Repository:** https://github.com/caliberfoundry/mcp-oauth-security-auditor
- **MCP Registry name:** io.github.caliberfoundry/mcp-oauth-security-auditor
- **Categories:** [security](https://ai-powered.com/categories/security), [security testing](https://ai-powered.com/categories/security-testing)
- **Listing updated:** 2026-11-29

## About

Point it at a remote MCP server reachable over Streamable HTTP and it checks how that server handles authorization. It looks at the unauthenticated challenge response, the protected resource metadata and authorization server discovery documents, and whether PKCE with S256 and the deprecated implicit grant are advertised.

Beyond auth, it probes cross-origin behaviour with an untrusted Origin header to catch wildcard or reflected CORS settings, and it connects to list tools so it can estimate how many tokens the tool schemas consume. Tool names, descriptions and schemas are scanned for hidden Unicode characters, prompt-injection phrasing and credential-file paths, and tools missing read-only or destructive annotations are flagged.

Results come back as a score, a grade, individual findings and suggested fixes. It is aimed at developers and security reviewers who run or depend on remote MCP servers, and it can run as a scheduled batch job or as a callable tool through the Apify MCP endpoint.

## Features

- **OAuth discovery checks:** Verifies the 401 challenge, protected resource metadata and authorization server endpoints against the relevant RFCs.
- **PKCE and grant review:** Confirms S256 code challenge support and flags the deprecated implicit grant.
- **CORS and origin probing:** Sends an untrusted Origin header to detect wildcard or reflected cross-origin access.
- **Tool schema token estimate:** Estimates the context footprint of tool definitions and warns above set thresholds.
- **Tool poisoning scan:** Looks for invisible characters, injected instructions and credential path references in tool metadata.
- **Batch and on-demand modes:** Runs as a scheduled batch actor or as a real-time endpoint callable from MCP clients.

## Good for

- Reviewing a third-party remote MCP server before connecting an AI agent to it
- Checking that your own MCP endpoint follows OAuth 2.1 discovery and PKCE rules
- Monitoring tool descriptions for poisoning or oversized schemas over time
- Auditing CORS settings to reduce DNS-rebinding exposure on MCP endpoints

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp-oauth-security-auditor https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "type": "http",
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "type": "http",
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-oauth-security-auditor --url https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-oauth-security-auditor]
url = "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "httpUrl": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp-oauth-security-auditor https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "serverUrl": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "type": "streamableHttp",
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-oauth-security-auditor": {
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp
```

Enter a Name (for example "MCP OAuth 2.1 & Tool Poisoning Security Auditor"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-oauth-security-auditor": {
      "type": "http",
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp"
    }
  }
}
```

## FAQ

### Are Bearer tokens stored or logged?

No. Optional bearer tokens are marked as secret inputs and are used only in memory for a single tools/list probe.

### Can MCP OAuth 2.1 & Tool Poisoning Security Auditor audit localhost or private network servers?

No. Built-in SSRF protections block loopback, private (RFC 1918) and cloud metadata address ranges.

### How is MCP OAuth 2.1 & Tool Poisoning Security Auditor priced?

It is pay-per-event at $0.03 per audited MCP endpoint, with no separate actor start fee.

### How do I add MCP OAuth 2.1 & Tool Poisoning Security Auditor to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-oauth-security-auditor https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp

### What are the best alternatives to MCP OAuth 2.1 & Tool Poisoning Security Auditor?

The closest alternatives to MCP OAuth 2.1 & Tool Poisoning Security Auditor are MCP Trust & Tool-Poisoning Audit, MCP Security Guard, mcp-audit, MCP Health Audit and MCP Tool-Poisoning, Prompt-Injection & 2026 EU AI Act Auditor MCP.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [MCP Trust & Tool-Poisoning Audit](https://ai-powered.com/mcp/mcp-trust-and-tool-poisoning-audit): MCP Trust & Tool-Poisoning Audit is a freemium MCP server for security.
- [MCP Security Guard](https://ai-powered.com/mcp/mcp-security-guard): MCP Security Guard is an open-source MCP server for security.
- [mcp-audit](https://ai-powered.com/mcp/mcp-audit): mcp-audit is an open-source MCP server for security.
- [MCP Health Audit](https://ai-powered.com/mcp/mcp-health-audit): MCP Health Audit is an MCP server for health and science.
- [MCP Tool-Poisoning, Prompt-Injection & 2026 EU AI Act Auditor MCP](https://ai-powered.com/mcp/mcp-tool-poisoning-prompt-injection-and-2026-eu-ai-act-audit): MCP Tool-Poisoning, Prompt-Injection & 2026 EU AI Act Auditor MCP is a freemium MCP server for ai models and llm tooling.
- [MCP configuration audit](https://ai-powered.com/mcp/mcp-configuration-audit): MCP configuration audit is an open-source MCP server for security.
- [mcp-scan](https://ai-powered.com/mcp/mcp-scan): mcp-scan is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/mcp-oauth-2-1-and-tool-poisoning-security-auditor
