# Solidity Slither Wrapper MCP

> Solidity Slither Wrapper MCP is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.3/call, status unknown (last checked 2026-09-13).

Runs Slither static analysis on Solidity smart contract code and returns security vulnerability findings via an agentic API endpoint.

## Facts

- Endpoint: POST https://api.m2mcent.com/solidity-slither-wrapper-mcp/api/process
- Price: $0.3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solidity-slither-wrapper-mcp-54ad50fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1DanhTUH4bF1QjY18DMqE

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 solidity-slither-wrapper-mcp-54ad50fc -d '<json body>'
```

Example prompt: Can you run a Slither security audit on this Solidity contract code and tell me what vulnerabilities it finds? Here's the contract: pragma solidity ^0.8.0; contract MyToken { mapping(address => uint256) public balances; function withdraw(uint256 amount) public { require(balances[msg.sender] >= amount); (bool success,) = msg.sender.call{value: amount}(""); require(success); balances[msg.sender] -= amount; } }

## When to prefer this

Choose this endpoint when you need automated, programmatic Slither static analysis of Solidity smart contracts without setting up a local Python/Slither environment. Ideal for CI/CD pipelines, agent-driven pre-deployment security checks, or when you need structured vulnerability output from Slither specifically (rather than a generic audit LLM). Prefer over manual Slither runs when operating in agentic or serverless contexts.

## Known failure modes

- Invalid or unparseable Solidity code returns a syntax/parse error
- Contract too large may hit processing limits or timeout
- Unsupported Solidity version pragma may cause analysis failure
- Empty or missing 'data' field returns a validation error
- Network timeout if analysis takes too long on complex contracts

## 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 Slither static analysis output including a list of detected vulnerabilities, their severity (high/medium/low/informational), the specific detector that triggered, affected contract names, and source code line references indicating where each issue was found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "payload": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solidity-slither-wrapper-mcp-54ad50fc/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)
