Skip to content
MCP server

ChainGuard Web3 Security & DeFi MCP

Web3 security MCP server for auditing contracts, tokens and wallets from AI clients

Answered our latest tool-list check yesterday with 15 tools. It will be marked verified after 3 successful checks in 7 days.

ChainGuard Web3 Security & DeFi MCP is a freemium MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Freemium
Platforms
API, CLI, Web
Runs
Remotely
What it can do
Can change data (2 tools)
Version
1.5.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http chainguard-mcp https://chainguard-studio-production.up.railway.app/mcp

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

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "chainguard-mcp": {
      "type": "http",
      "url": "https://chainguard-studio-production.up.railway.app/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://chainguard-studio-production.up.railway.app/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.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "chainguard-mcp": {
      "url": "https://chainguard-studio-production.up.railway.app/mcp"
    }
  }
}

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "chainguard-mcp": {
      "type": "http",
      "url": "https://chainguard-studio-production.up.railway.app/mcp"
    }
  }
}

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

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://chainguard-studio-production.up.railway.app/mcp

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

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add chainguard-mcp --url https://chainguard-studio-production.up.railway.app/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.chainguard-mcp]
url = "https://chainguard-studio-production.up.railway.app/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://chainguard-studio-production.up.railway.app/mcp

Enter a Name (for example "ChainGuard Web3 Security & DeFi MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "chainguard-mcp": {
      "type": "http",
      "url": "https://chainguard-studio-production.up.railway.app/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "chainguard-mcp": {
          "httpUrl": "https://chainguard-studio-production.up.railway.app/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http chainguard-mcp https://chainguard-studio-production.up.railway.app/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "chainguard-mcp": {
          "serverUrl": "https://chainguard-studio-production.up.railway.app/mcp"
        }
      }
    }

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "chainguard-mcp": {
          "url": "https://chainguard-studio-production.up.railway.app/mcp",
          "transport": "http"
        }
      }
    }

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

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "chainguard-mcp": {
          "type": "streamableHttp",
          "url": "https://chainguard-studio-production.up.railway.app/mcp"
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "chainguard-mcp": {
          "url": "https://chainguard-studio-production.up.railway.app/mcp"
        }
      }
    }

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "chainguard-mcp": {
          "url": "https://chainguard-studio-production.up.railway.app/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "chainguard-mcp": {
          "url": "https://chainguard-studio-production.up.railway.app/mcp"
        }
      }
    }

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "chainguard-mcp": {
          "url": "https://chainguard-studio-production.up.railway.app/mcp"
        }
      }
    }

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About ChainGuard Web3 Security & DeFi MCP

ChainGuard exposes a set of Web3 security checks as a Model Context Protocol server, so assistants like Claude, Cursor and Windsurf can inspect EVM and Solana activity before a transaction or code change goes out. Its tools cover EIP-7702 delegation hijacks, Solana Token-2022 mint risks, suspicious ERC-20 approvals, calldata review and frontend script integrity.

Beyond the MCP endpoint, the project offers a GitHub Action that scans pull requests for patterns such as tx.origin auth, reentrancy and leaked keys, and exports results as SARIF 2.1.0 for GitHub code scanning. A zero-dependency offline CLI can run the same firewall checks without network calls.

It suits developers and security-minded teams shipping smart contracts or wallet-facing apps, and people who want to find and revoke old token allowances or reclaim small balances on Solana and several EVM chains. The hosted endpoint has a free hourly quota, with paid passes listed for higher volume.

Tools this server provides (15)

Read directly from the server.

The server marks 2 of 15 tools as able to change data.

From the server's own tool labels and tool names; not verified by us.

check_eip7702_delegationSays read-only
Inspect a single EVM externally owned account (EOA) via live eth_getCode RPC to detect active Pectra EIP-7702 delegation hijacks (0xef0100...23-byte designator). Read-only, non-destructive lookup on Ethereum, Base, Arbitrum, or Polygon (5 free calls/hour per IP; paid API keys use the plan's remaining quota). Returns JSON with `address`, `network`, `delegated` (boolean), `delegate_contract` (0x add
check_solana_token2022Says read-only
Inspect a Solana SPL or Token-2022 mint account via live Solana mainnet RPC and RugCheck to detect `PermanentDelegate` drain authorities, arbitrary `TransferHook` programs, active `FreezeAuthority`/`MintAuthority`, and hidden transfer fee basis points. Read-only, non-destructive analysis (5 free calls/hour per IP; paid API keys use the plan's remaining quota). Returns JSON with `mint`, `program`,
check_tx_firewallSays read-only
Perform a read-only pre-flight security check on an unsigned EVM transaction (`to`, `calldata`, `network`) before signing or broadcasting. Screens 4-byte function selectors against unlimited ERC-20 `approve(MAX_UINT256)` (`0x095ea7b3`), NFT `setApprovalForAll(true)` (`0xa22cb465`), Permit2 drainer signatures (`0xd505accf`), UUPS proxy upgrades (`0x3659cfe6`), and verifies whether the spender is an
check_mcp_poisoningSays read-only
Scan untrusted runtime text, MCP tool descriptions, or prompt payloads for invisible zero-width/bidirectional Unicode smuggling (`U+200B`..`U+202E`), prompt-injection override directives, and exposed 64-byte Solana keypairs or private keys. Purely read-only static text inspection with zero code execution (5 free calls/hour per IP; paid API keys use the plan's remaining quota). Returns JSON with `v
audit_solidity_or_mcpSays read-only
Run a read-only static security and token-efficiency audit on Solidity smart contract source code (`.sol`) or MCP server JSON configuration files. Detects reentrancy, `tx.origin` auth, unchecked external calls, uninitialized proxies, and redundant prompt token bloat without executing the submitted code (5 free calls/hour per IP; paid API keys use the plan's remaining quota). Returns JSON with `ris
reclaim_solana_rentSays read-only
Scan a Solana wallet via live mainnet RPC for empty 0-balance SPL and Token-2022 token accounts (~0.002039 SOL trapped rent per account) and optionally construct an unsigned base64 `CloseAccount` batch transaction. Read-only and non-custodial: never broadcasts or signs transactions (unlimited free calls; user receives +88% net reclaimed SOL when they sign and broadcast, with a 12% atomic recovery
check_frontend_hijackSays read-only
Inspect a live DeFi web application HTTPS URL and optional EIP-1967 proxy contract for supply-chain hijack indicators: missing Content-Security-Policy (CSP), external `<script>` tags lacking Subresource Integrity (`integrity="sha384-..."`), suspicious third-party domains, and EIP-1967 implementation slot state. Read-only inspection over HTTPS and EVM RPC (5 free calls/hour per IP; paid API keys us
scan_evm_dust_and_hygieneSays read-only
Scan an EVM wallet across up to 8 chains (`base`, `arbitrum`, `optimism`, `polygon`, `ethereum`, `bsc`, `linea`, `avalanche`) to discover all ERC-20 token holdings priced in USD, identify sweepable non-stablecoin dust tokens, and summarize open unlimited router approvals. Read-only, zero-connect multi-chain portfolio lookup with unlimited free calls. Returns JSON with `address`, `total_sweepable_u
build_erc20_approval_revokeSays read-only
Construct unsigned non-custodial EVM calldata (`approve(spender, 0)`, selector `0x095ea7b3`) to revoke an open ERC-20 token allowance granted to a router or spender contract on any of 8 EVM networks. Read-only calldata generator: never signs or broadcasts transactions (unlimited free calls, 0% fee). Returns JSON with `network`, `to` (token contract), `spender`, `data` (68-byte hex calldata), `valu
build_evm_dust_to_usdt_sweepSays read-only
Build unsigned non-custodial SAME-CHAIN swap calldata (exact-amount ERC-20 `approve` + audited KyberSwap/OpenOcean router swap) converting an ERC-20 token into USDT or USDC on the SAME EVM network (`base`, `arbitrum`, `optimism`, `polygon`, `ethereum`, `bsc`, `linea`, or `avalanche`). Read-only calldata builder: does not sign or broadcast transactions (unlimited free calls; embeds a 1.00% on-chain
build_cross_chain_consolidationSays read-only
Build unsigned non-custodial CROSS-CHAIN bridge and swap calldata via LI.FI Diamond moving an ERC-20 or native token from `from_network` to a DIFFERENT destination `to_network` (settling in `USDC`, `USDT`, or destination `NATIVE` gas across `base`, `arbitrum`, `optimism`, `polygon`, `ethereum`, `bsc`, `linea`, `avalanche`). Read-only calldata builder: does not sign or broadcast transactions (unlim
find_best_defi_yieldsSays read-only
Query live DeFiLlama yield pools across Base, Arbitrum, Solana, Ethereum, Optimism, Polygon, and BSC ranked by risk-adjusted sustainable APY and TVL safety score. Read-only market scan (5 free calls/hour per IP returning top 3 pools; full top-25 available via X-API-Key or $0.02 USDC x402 API). Returns JSON with `count`, `chain_filter`, `asset_filter`, and `pools` array (`project`, `symbol`, `chain
analyze_token_alphaSays read-only
Aggregate live DexScreener market metrics (USD price, liquidity, FDV, 24h volume, 24h buy/sell order-flow ratio) with GoPlus ERC-20 honeypot/tax checks (for EVM `0x...` tokens) or Token-2022/RugCheck checks (for Solana base58 mints). Read-only composite market + security lookup (5 free calls/hour per IP; paid API keys use the plan's remaining quota). Returns JSON with `chain`, `market` (`price_usd
create_usdt_invoiceSays it can change data
Create a new non-custodial multi-chain USDT/USDC payment invoice and hosted checkout page on Polygon, BSC, Arbitrum, Base, Ethereum, or Solana settling 100% directly to `merchant_wallet` with 0% platform custody. State-changing operation creating a single-use `pending` invoice record (unlimited free calls, no authentication required). Supports recurring SaaS subscriptions via optional `customer_re
verify_usdt_invoiceSays it can change data
Verify and settle a confirmed on-chain USDT/USDC transaction hash (`tx_hash`) against a PayGate `invoice_id` via live JSON-RPC receipt log inspection. Idempotent state-changing operation (unlimited free calls, anti-replay enforced): confirms recipient address, token contract, and minimum USD amount, transitions the invoice to `paid`, extends recurring `subscription_expires_at` if configured, and d

What it does

EIP-7702 delegation detection
Flags active EOA delegations on Ethereum, Base, Arbitrum and Polygon that could hand control of a wallet to another contract.
Solana Token-2022 audit
Inspects SPL and Token-2022 mints for permanent delegate, transfer hook and authority risks.
Pre-flight transaction firewall
Reviews EVM calldata for unlimited approvals, setApprovalForAll and proxy upgrade patterns.
Allowance revocation builder
Constructs unsigned approve-to-zero calldata to revoke open ERC-20 router allowances.
GitHub SARIF security gate
Runs as a GitHub Action on pull requests and exports findings in SARIF 2.1.0 for code scanning.
Offline CLI scanner
Scans repositories, transaction data and MCP configs locally with no API key required.

Good for

  • Check a wallet's token approvals and revoke stale router permissions
  • Gate pull requests on smart contract security findings in CI
  • Screen a Solana token mint for permanent delegate or transfer hook risks before trading
  • Let an AI coding assistant review calldata or MCP configs for injected or hidden content
  • Reclaim rent from empty Solana token accounts

Pricing

Freemium

Free tier with hourly MCP limits; paid passes are priced in USDC/USDT, from $0.50 for short access.

Prices change. Check chainguard-studio-production.up.railway.app before you buy.

ChainGuard Web3 Security & DeFi MCP FAQ

Is there a free way to try ChainGuard Web3 Security & DeFi MCP?

The hosted MCP endpoint allows a limited number of calls per hour without signup, and the offline CLI runs without an API key.

Which chains are covered?

EVM checks cover Ethereum, Base, Arbitrum, Optimism, Polygon, BSC, Linea and Avalanche, and Solana is supported for token and rent checks.

How do I connect ChainGuard Web3 Security & DeFi MCP to Claude Desktop or Cursor?

Add the hosted Streamable-HTTP URL to your MCP server configuration, or run the local stdio bridge installed with pip.

How do I add ChainGuard Web3 Security & DeFi MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http chainguard-mcp https://chainguard-studio-production.up.railway.app/mcp

What are the best alternatives to ChainGuard Web3 Security & DeFi MCP?

The closest alternatives to ChainGuard Web3 Security & DeFi MCP are ChainGuard Web3 & MCP Shield, Diogenes Web3, DeFi & 402 Security MCP, AgentDiet Base EVM & Solana Smart Contract Security Scanner, Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) and Contract Security Scanner.

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 29 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers