# Coding Agent Package Hallucination & Slopsquatting Guard MCP

> Coding Agent Package Hallucination & Slopsquatting Guard MCP is an MCP server for security. Verifies npm and PyPI packages exist and are mature before agents install them. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Website:** https://agent-spend-guard.b2bintel-edge.workers.dev
- **Repository:** https://github.com/beakdo/defi-customs-mcp-hub
- **MCP Registry name:** dev.workers.b2bintel-edge.agent-spend-guard/package-hallucination-slopsquat-guard-mcp
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-21

## About

Coding agents sometimes suggest package names that were never published, and attackers register those names with malicious code. This server gives an AI client a way to check a dependency before it is installed, confirming that the npm or PyPI package exists and reporting how old it is.

The server is exposed as a remote Streamable HTTP endpoint, so it can be added to an MCP client by URL without running anything locally. The client calls it as part of its install step and can decide whether to proceed based on the result.

It suits developers who let coding assistants add dependencies on their own and want a check in place before a hallucinated or freshly registered package reaches their environment.

## Features

- **Package existence check:** Confirms whether a named npm or PyPI package is actually published before the agent installs it.
- **Package age check:** Reports how long a package has existed so very new registrations can be flagged.
- **Remote MCP endpoint:** Runs as a hosted Streamable HTTP server, so no local installation is required.
- **Pre-install gating:** Lets an agent verify a dependency before running an install command.

## Good for

- Stop coding assistants from installing hallucinated package names
- Flag recently registered packages before they enter a project
- Add a dependency vetting step to an agent's install workflow

## Install

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

```sh
claude mcp add --transport http package-hallucination-slopsquat-guard-mcp https://agent-spend-guard.b2bintel-edge.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": {
    "package-hallucination-slopsquat-guard-mcp": {
      "type": "http",
      "url": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

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

```text
https://agent-spend-guard.b2bintel-edge.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": {
    "package-hallucination-slopsquat-guard-mcp": {
      "url": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "package-hallucination-slopsquat-guard-mcp": {
      "type": "http",
      "url": "https://agent-spend-guard.b2bintel-edge.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-spend-guard.b2bintel-edge.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 package-hallucination-slopsquat-guard-mcp --url https://agent-spend-guard.b2bintel-edge.workers.dev/mcp
```

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

```toml
[mcp_servers.package-hallucination-slopsquat-guard-mcp]
url = "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
```

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

```json
{
  "mcpServers": {
    "package-hallucination-slopsquat-guard-mcp": {
      "httpUrl": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http package-hallucination-slopsquat-guard-mcp https://agent-spend-guard.b2bintel-edge.workers.dev/mcp

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

```json
{
  "mcpServers": {
    "package-hallucination-slopsquat-guard-mcp": {
      "serverUrl": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "package-hallucination-slopsquat-guard-mcp": {
      "url": "https://agent-spend-guard.b2bintel-edge.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": {
    "package-hallucination-slopsquat-guard-mcp": {
      "type": "streamableHttp",
      "url": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "package-hallucination-slopsquat-guard-mcp": {
      "url": "https://agent-spend-guard.b2bintel-edge.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": {
    "package-hallucination-slopsquat-guard-mcp": {
      "url": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "package-hallucination-slopsquat-guard-mcp": {
      "url": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "package-hallucination-slopsquat-guard-mcp": {
      "url": "https://agent-spend-guard.b2bintel-edge.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-spend-guard.b2bintel-edge.workers.dev/mcp
```

Enter a Name (for example "Coding Agent Package Hallucination & Slopsquatting Guard MCP"), 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": {
    "package-hallucination-slopsquat-guard-mcp": {
      "type": "http",
      "url": "https://agent-spend-guard.b2bintel-edge.workers.dev/mcp"
    }
  }
}
```

## Tools

The server marks all 10 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `build_erc7715_and_coinbase_spend_permission` (says read-only): Generates non-custodial ERC-7715 wallet_grantPermissions JSON-RPC and Coinbase SpendPermissionManager EIP-712 structs to bound AI agent daily/per-tx USDC spending.
- `simulate_evm_tx_and_spend_firewall` (says read-only): Simulates any unsigned EVM transaction via eth_call + eth_estimateGas, detects dangerous unlimited ERC-20 approvals, and verifies total USD outflow against the agent's budget cap.
- `audit_token_contract_technical_risks` (says read-only): Checks GoPlus and DexScreener telemetry for honeypot traps, buy/sell tax %, hidden owner privileges, and live pool liquidity before swapping.
- `verify_package_anti_hallucination` (says read-only): Checks live npm and PyPI registries to block nonexistent hallucinated package names and flag newly registered slopsquatting traps (<14 days old).
- `plan_and_build_guarded_rebalance_swap` (says read-only): Reads live ETH + USDC wallet balances, enforces maxSpendCapUsd, and assembles ready-to-sign non-custodial multi-DEX swap calldata saving 71% vs standard wallet swap fees.
- `safe_snipe_swap_with_honeypot_firewall` (says read-only): Runs GoPlus + DexScreener honeypot/tax firewall first and, only if safe, builds ready-to-sign 0.35% non-custodial multi-DEX swap calldata (saving 65% vs 1% Telegram sniper bots).
- `build_erc8004_trustless_agent_registration` (says read-only): Generates standard ERC-8004 Identity/Reputation JSON, on-chain Agent URI, x402Support bindings, and RFC 9421 cryptographic bot signature headers.
- `verify_counterparty_agent_trust_and_escrow` (says read-only): Audits an external AI agent's live A2A/MCP/x402 manifests and on-chain wallet history before generating bounded USDC settlement calldata.
- `build_eip7702_smart_wallet_and_passkey_delegation` (says read-only): Upgrades any standard EOA wallet in-place via EIP-7702 (Coinbase Smart Wallet, MetaMask Delegator, ERC-7579 Kernel) with RIP-7212 P-256 Passkey & bounded spend caps.
- `optimize_multichain_evm_gas_routing` (says read-only): Queries live eth_gasPrice across Base, Optimism, Arbitrum, Polygon, and Ethereum to rank exact USD gas cost per swap and recommend the lowest-fee execution chain.

## FAQ

### Which package registries does Coding Agent Package Hallucination & Slopsquatting Guard MCP check?

It verifies packages on npm and PyPI.

### How is Coding Agent Package Hallucination & Slopsquatting Guard MCP connected to an AI client?

Add the remote endpoint https://agent-spend-guard.b2bintel-edge.workers.dev/mcp to your MCP client configuration using the streamable-http transport.

### How do I add Coding Agent Package Hallucination & Slopsquatting Guard MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http package-hallucination-slopsquat-guard-mcp https://agent-spend-guard.b2bintel-edge.workers.dev/mcp

### What are the best alternatives to Coding Agent Package Hallucination & Slopsquatting Guard MCP?

The closest alternatives to Coding Agent Package Hallucination & Slopsquatting Guard MCP are Package Guard MCP, xyz MCP by CyberXYZ, Presend dependency checks, Freshdeps MCP and Agent Guard MCP.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Package Guard MCP](https://ai-powered.com/mcp/package-guard-mcp): Package Guard MCP is an open-source MCP server for security.
- [xyz MCP by CyberXYZ](https://ai-powered.com/mcp/xyz-mcp-by-cyberxyz): xyz MCP by CyberXYZ is an MCP server for security.
- [Presend dependency checks](https://ai-powered.com/mcp/presend-dependency-checks): Presend dependency checks is an open-source MCP server for security.
- [Freshdeps MCP](https://ai-powered.com/mcp/freshdeps-mcp): Freshdeps MCP is a free MCP server for developer tools.
- [Agent Guard MCP](https://ai-powered.com/mcp/agent-guard-mcp-2): Agent Guard MCP is an open-source MCP server for security.
- [Package Health Check](https://ai-powered.com/mcp/package-health-check): Package Health Check is a free MCP server for health and science.
- [Package Intel](https://ai-powered.com/mcp/package-intel): Package Intel is an open-source MCP server for security.
- [Dependency Fitness MCP](https://ai-powered.com/mcp/dependency-fitness-mcp): Dependency Fitness MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/coding-agent-package-hallucination-and-slopsquatting-guard-m
