# M2MCent Smart Contract Auditor MCP

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

Scans Solidity or EVM smart contract source code and returns a security audit report URL

## Facts

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

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 m2mcent-smart-contract-auditor-mcp-31239406 -d '<json body>'
```

Example prompt: Can you run a security audit on this Solidity smart contract code and give me a report on any vulnerabilities? Here's the contract: [paste contract source code]

## When to prefer this

Choose this endpoint when you need a quick automated security pre-screening of EVM/Solidity smart contract source code before deployment or interaction, especially in agentic workflows where you want a monetized, on-demand scan without setting up a full static analysis pipeline. It is particularly suited to agents that can handle x402 micropayment flows on Base L2.

## Known failure modes

- Missing contractCode field returns validation error
- Empty or malformed Solidity code may produce incomplete analysis
- Payment failure via x402 protocol results in 402 response and no scan
- reportUrl field may be null or malformed if audit generation fails
- Large contracts may time out or return partial results
- Non-EVM contract code may not be supported

## 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 object containing a reportUrl field (typed as boolean in schema, but expected to be a URL string linking to the full security audit report for the submitted contract code), summarizing detected vulnerabilities and findings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "contractCode"
 ],
 "properties": {
  "contractCode": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "reportUrl"
 ],
 "properties": {
  "reportUrl": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/m2mcent-smart-contract-auditor-mcp-31239406/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)
