# Smart Contract Upgrade Auditor MCP

> Smart Contract Upgrade Auditor MCP is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.35/call, status unknown (last checked 2026-10-16).

Analyzes smart contract code to identify security risks, upgrade compatibility issues, and potential vulnerabilities in upgradeable contracts.

## Facts

- Endpoint: POST https://api.m2mcent.com/smart-contract-upgrade-auditor-mcp/api/process?utm_source=zero.xyz
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/smart-contract-upgrade-auditor-mcp-324b32bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aeOPqNxZKh7M6RespF_hD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability smart-contract-upgrade-auditor-mcp-324b32bd -d '<json body>'
```

Example prompt: Can you audit this Solidity smart contract code for upgrade-related vulnerabilities and storage layout issues? Here's the contract: `pragma solidity ^0.8.0; contract MyToken { ... }`

## When to prefer this

Use this endpoint when you need automated pre-deployment security analysis of upgradeable smart contracts, especially when checking for storage layout collisions, initialization vulnerabilities, or proxy pattern compliance. Prefer this over general code review tools when the specific concern is upgrade safety in blockchain/Solidity contexts.

## Known failure modes

- Empty or invalid contractCode input returns an error or empty analysis
- Non-Solidity or malformed code may produce incomplete results
- Very large contracts may exceed processing limits
- Payment failure via x402 protocol results in 402 response and no audit output

## How this service works

The premier global index of 1,069 monetized MCP nodes across 205 specialized subdomains. Gasless USDC runtime settlements via x402 V2 Spec on Base L2. Save 95% token context.

## Output

Returns an audit report detailing identified vulnerabilities, upgrade compatibility issues, storage layout conflicts, initialization risks, and security recommendations specific to the submitted smart contract code.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/smart-contract-upgrade-auditor-mcp-324b32bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.m2mcent.com](https://www.zero.xyz/host/api.m2mcent.com/llms.txt)
