Skip to main content
Glama
Base Contract Auditor MCP Server

Base Contract Auditor MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BASE_AUDIT_GATEWAY_URLNoThe URL of the audit gateway

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
audit_contractA

Performs an on-chain bytecode security audit of a smart contract on Base Mainnet. Checks for SELFDESTRUCT opcodes, DELEGATECALL proxies, ERC-20/721 interfaces, centralized owner selectors, and calculates a risk score. Requires a confirmed 0.50 USDC transfer on Base.

get_payment_infoA

Retrieves the x402 payment parameters required to unlock a contract audit: fee (0.50 USDC), Base vault address, and official Base USDC contract.

check_service_statusA

Checks the operational status, version, and endpoints of the Base Audit Gateway.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct role: performing the audit, fetching payment parameters for it, and checking gateway health/version. The payment-info tool is prerequisite scaffolding for audit_contract, but its purpose is unambiguous and unlikely to be misselected.

Naming Consistency5/5

All three follow a clean verb_noun pattern (audit_contract, get_payment_info, check_service_status) with consistent snake_case. No mixing of conventions.

Tool Count5/5

Three tools is the minimum for this niche x402-paid audit workflow, and each earns its place: discover payment details, execute the audit, verify service health. Nothing superfluous.

Completeness3/5

The core flow (get payment info → audit_contract) is covered, but there is no tool to check payment confirmation, retrieve prior audit results/history, or verify a specific audit by ID. Agents hitting a failed or pending payment have limited recovery paths.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues