# Rapier WASM Physics MCP

> Rapier WASM Physics MCP is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.22/call, status unknown (last checked 2026-09-15).

Runs physics simulations using the Rapier engine compiled to WebAssembly, processing physics scene data and returning simulation results.

## Facts

- Endpoint: POST https://api.m2mcent.com/rapier-wasm-physics-mcp/api/process
- Price: $0.22/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rapier-wasm-physics-mcp-1ac0b439
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rXPvZdCms7ZH9GpC7ZQiW

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 rapier-wasm-physics-mcp-1ac0b439 -d '<json body>'
```

Example prompt: Run a Rapier WASM physics simulation for me — I have a scene with a rigid box falling under gravity onto a static floor plane, and I need back the final resting position and velocity of the box after 2 seconds.

## When to prefer this

Choose this endpoint when you need server-side Rapier physics simulation without managing a local WASM runtime — ideal for agents that need to compute rigid body dynamics, collision detection, or constraint solving as part of a workflow without embedding a physics engine themselves.

## Known failure modes

- Malformed or invalid physics scene data in the 'data' field returns a parsing or validation error
- Simulation with degenerate geometry (e.g. zero-volume shapes) may produce NaN or infinite values
- Overly complex scenes may exceed processing time limits and return a timeout error
- Missing required physics parameters may result in a default-value fallback or error response

## 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 simulation output data including updated positions, orientations, velocities, and collision events for all bodies in the physics scene after the simulation step(s) are processed.

## 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/rapier-wasm-physics-mcp-1ac0b439/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)
