Base MCP Server

MCP server for AI agents to scan and audit smart contracts on Base for security vulnerabilities. Det

Local serverstdio

What is the Base MCP server?

MCP server for AI agents to scan and audit smart contracts on Base for security vulnerabilities. Det. The base mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 8 defined tools rather than through you.

What it actually does

MCP server for AI agents to scan smart contracts on Base mainnet for security vulnerabilities. Detect honeypots, rug pulls, hidden mints, proxy patterns, and generate full audit reports -- all read-only, no private key needed.

Adding it to your client

base-security-scanner-mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Its toolset

Everything the assistant can do here goes through one of these:

  • scan_contract — Analyze a contract for security issues (reentrancy, access control, hidden mints, proxy patterns)
  • check_honeypot — Check if a token is a honeypot by simulating buy+sell via Uniswap V2
  • detect_rug_risk — Score rug pull risk 0-100 based on ownership, liquidity, permissions, honeypot status
  • analyze_bytecode — Disassemble bytecode, identify contract type (proxy, AMM, ERC-20, diamond, etc.)
  • check_token_permissions — Check owner permissions: mint, pause, blacklist, change fees, disable trading
  • get_contract_info — Basic contract metadata: verified status, bytecode size, ETH balance, token info
  • compare_bytecode — Clone detection -- check if two contracts share the same bytecode
  • audit_report — Full security audit combining all checks into one comprehensive report

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the base mcp server does with a few real requests.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Base's toolset — scan_contract, check_honeypot, detect_rug_risk and 5 more — is a fair guide to whether it matches your workflow. It is maintained by lordbasilaiassistant-sudo; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
scan_contractAnalyze a contract for security issues (reentrancy, access control, hidden mints, proxy patterns)
check_honeypotCheck if a token is a honeypot by simulating buy+sell via Uniswap V2
detect_rug_riskScore rug pull risk 0-100 based on ownership, liquidity, permissions, honeypot status
analyze_bytecodeDisassemble bytecode, identify contract type (proxy, AMM, ERC-20, diamond, etc.)
check_token_permissionsCheck owner permissions: mint, pause, blacklist, change fees, disable trading
get_contract_infoBasic contract metadata: verified status, bytecode size, ETH balance, token info
compare_bytecodeClone detection -- check if two contracts share the same bytecode
audit_reportFull security audit combining all checks into one comprehensive report

How to install the Base MCP server

{
  "mcpServers": {
    "base-security-scanner": {
      "command": "npx",
      "args": ["-y", "base-security-scanner-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Base to scan contract.
  • Use Base to check honeypot.
  • Use Base to detect rug risk.

Frequently asked questions

It connects Base to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (scan_contract, check_honeypot, detect_rug_risk, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Base directly.