# Raycast Hit Tester MCP

> Raycast Hit Tester 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-10-12).

Tests whether a raycast hits a target in 3D space, returning hit/miss results for geometric ray-object intersection queries.

## Facts

- Endpoint: POST https://api.m2mcent.com/raycast-hit-tester-mcp/api/process?utm_source=zero.xyz
- Price: $0.22/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/raycast-hit-tester-mcp-7e591914
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JvOLXRSSOwwGVsQzPmKH7

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 raycast-hit-tester-mcp-7e591914 -d '<json body>'
```

Example prompt: Check if a ray starting at position (0, 0, 0) pointing in direction (1, 0, 0) hits the geometry I'm passing in — I need to know if there's a hit and where exactly it intersects.

## When to prefer this

Use this endpoint when you need a hosted, pay-per-call raycast intersection service without running your own 3D engine or physics library. Ideal for lightweight agents that need occasional ray-object hit testing without embedding a full game engine or graphics framework.

## Known failure modes

- Malformed or missing geometry data in the input string returns an error
- Invalid ray direction (zero vector) may cause computation failure
- Unparseable data field results in a 400-level error
- Ambiguous or incomplete scene description may yield incorrect hit results

## 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 whether the ray intersected with the target geometry (hit boolean), along with intersection point coordinates, distance along the ray to the hit, and surface normal at the hit point where applicable.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/raycast-hit-tester-mcp-7e591914/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)
