Base Contract Auditor MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BASE_AUDIT_GATEWAY_URL | No | The 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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
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.
All three follow a clean verb_noun pattern (audit_contract, get_payment_info, check_service_status) with consistent snake_case. No mixing of conventions.
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.
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.