# Three.js Weaver MCP

> Three.js Weaver MCP is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Generates or transforms Three.js 3D scene code and WebGL configurations from natural language or structured data input.

## Facts

- Endpoint: POST https://api.m2mcent.com/threejs-weaver-mcp/api/process
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/three-js-weaver-mcp-c40782e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SgTNGCAZar0vzp08QguYn

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 three-js-weaver-mcp-c40782e0 -d '<json body>'
```

Example prompt: Can you weave me a Three.js scene with a spinning metallic torus under blue ambient lighting and an orbiting point light — output the complete JavaScript code I can drop into my project?

## When to prefer this

Choose this endpoint when you need to programmatically generate Three.js/WebGL 3D scene code from natural language descriptions or structured specifications, especially inside an agentic pipeline where you want to automate 3D web graphics creation without a human developer. Prefer it over generic LLM code generation when you want a specialized, paid service tuned for Three.js output and willing to accept per-call micropayments via x402.

## Known failure modes

- Vague or ambiguous scene descriptions may produce generic or incomplete Three.js scaffolding
- Complex multi-object scenes may result in partial code requiring manual completion
- Input data field missing or empty returns an error or empty response
- Rate limits or payment issues may result in HTTP 402 or 429 responses
- Extremely detailed scenes may exceed token/output limits and be truncated

## 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 generated Three.js JavaScript code or scene configuration representing the requested 3D scene, including geometry, materials, lighting, camera setup, and animation logic based on the input description.

## 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/three-js-weaver-mcp-c40782e0/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)
