# Agent Shield

> Agent Shield is a freemium MCP server for agent sandbox. Security checks for AI agents: scan MCP servers, x402 offers, text leaks and sites before. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://agent-shield.ameeras-official.workers.dev
- **Repository:** https://github.com/ameerasofficial-ai/agent-toolkit
- **MCP Registry name:** io.github.ameerasofficial-ai/agent-shield
- **Categories:** [agent sandbox](https://ai-powered.com/categories/agent-sandbox)
- **Listing updated:** 2026-11-27

## About

Agent Shield is a set of pay-per-call endpoints that an AI agent can run before it connects to a tool server, pays for an API, sends a message or opens a website. Each check returns a graded result with the specific findings and their locations, so the agent or its operator can decide whether to proceed.

The checks cover poisoned MCP tool descriptions and rug pulls, x402 payment offers (asset, price, payee and injected instructions), secrets and personal data in outgoing text, domain trust signals such as lookalike names and email setup, and GitHub repositories before installation. A combined preflight call returns a single go, caution or stop decision across a website, a payment endpoint and a message.

The service also offers a sanctions screen against US and UN lists and a business report that combines domain, website and sanctions signals. It is aimed at developers building agents that browse, buy or act on behalf of people and businesses, and it can be reached through its MCP endpoint, a plain HTTP API or the x402 payment flow in USDC on Base.

## Features

- **MCP server scanning:** Connects to a remote MCP server and grades its tool descriptions and schemas for poisoning and risky capabilities.
- **Rug-pull detection:** Fingerprints tool definitions so re-scans report which tools have changed.
- **x402 offer checks:** Reads a paid endpoint's 402 offer and checks the payment asset, price, payee address and site match without paying.
- **Leak Guard:** Finds API keys, private keys, card numbers and personal data in text and returns a redacted copy.
- **Domain trust check:** Reviews domain age, lookalike brand names, DNS and email authentication before an agent follows a link.
- **Sanctions screening:** Matches person, company, vessel or aircraft names against US Consolidated and UN sanctions lists.

## Good for

- Vetting a remote MCP server's tools before an agent connects to it
- Checking an x402 payment endpoint before an agent sends USDC
- Stopping secrets or personal data leaving an agent in an outgoing message
- Screening a website or GitHub repository before an agent logs in or installs code
- Running sanctions checks on counterparties before an agent pays or signs up

## Install

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

```sh
claude mcp add --transport http agent-shield https://agent-shield.ameeras-official.workers.dev/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": {
    "agent-shield": {
      "type": "http",
      "url": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

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

```text
https://agent-shield.ameeras-official.workers.dev/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": {
    "agent-shield": {
      "url": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "agent-shield": {
      "type": "http",
      "url": "https://agent-shield.ameeras-official.workers.dev/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://agent-shield.ameeras-official.workers.dev/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 agent-shield --url https://agent-shield.ameeras-official.workers.dev/mcp
```

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

```toml
[mcp_servers.agent-shield]
url = "https://agent-shield.ameeras-official.workers.dev/mcp"
```

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

```json
{
  "mcpServers": {
    "agent-shield": {
      "httpUrl": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http agent-shield https://agent-shield.ameeras-official.workers.dev/mcp

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

```json
{
  "mcpServers": {
    "agent-shield": {
      "serverUrl": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "agent-shield": {
      "url": "https://agent-shield.ameeras-official.workers.dev/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": {
    "agent-shield": {
      "type": "streamableHttp",
      "url": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "agent-shield": {
      "url": "https://agent-shield.ameeras-official.workers.dev/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": {
    "agent-shield": {
      "url": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-shield": {
      "url": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "agent-shield": {
      "url": "https://agent-shield.ameeras-official.workers.dev/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://agent-shield.ameeras-official.workers.dev/mcp
```

Enter a Name (for example "Agent Shield"), 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": {
    "agent-shield": {
      "type": "http",
      "url": "https://agent-shield.ameeras-official.workers.dev/mcp"
    }
  }
}
```

## FAQ

### How is Agent Shield paid for?

Each endpoint has a per-call price in USDC, paid through x402 on Base. Three free calls per day are included.

### Are the scan results stored?

The Leak Guard endpoint states that nothing is stored or logged. Auth headers passed to the MCP scanner are used once and never stored.

### Can Agent Shield scan local MCP servers?

Local stdio servers are not scanned directly. The /scan-tools endpoint accepts a tool list the agent has already loaded from MCP, OpenAI or Anthropic formats.

### How do I add Agent Shield to Claude Code?

Run this command in your terminal: claude mcp add --transport http agent-shield https://agent-shield.ameeras-official.workers.dev/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

- [Relayshield Firewall](https://ai-powered.com/mcp/relayshield-firewall): Relayshield Firewall is a paid MCP server for agent sandbox.

---
Source: https://ai-powered.com/mcp/agent-shield-2
