# DeFi Yield Optimizer MCP

> DeFi Yield Optimizer MCP is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-13).

Analyzes a DeFi portfolio and returns yield optimization recommendations via a monetized MCP node on Base L2.

## Facts

- Endpoint: POST https://api.m2mcent.com/defi-yield-optimizer-mcp/api/optimize?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-optimizer-mcp-db9dca00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mWTHpG2SBC3DjWa_H2ALp

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 defi-yield-optimizer-mcp-db9dca00 -d '<json body>'
```

Example prompt: Can you analyze my DeFi portfolio — I'm holding ETH, USDC, and some LP tokens — and give me yield optimization recommendations for maximizing returns?

## When to prefer this

Choose this endpoint when you need on-demand DeFi yield optimization analysis paid per-call with USDC micropayments via x402 on Base L2, and want a lightweight MCP-compatible interface without managing complex DeFi analytics infrastructure.

## Known failure modes

- Missing required 'portfolio' field returns a 400 validation error
- Malformed portfolio string may return an empty or false recommendations value
- Payment failure via x402 protocol results in 402 Payment Required before processing
- Service unavailability on Base L2 may cause timeouts or 5xx errors
- Portfolio format not recognized may yield no actionable recommendations

## 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 a recommendations object (boolean) indicating whether yield optimization recommendations are available or applicable for the submitted portfolio. Note: the response schema is minimal and may represent a simplified stub.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-optimizer-mcp-db9dca00/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)
