---
title: "Spatial Compiler MCP tools: compile_3d_asset, bake, check, schema, sweep, wire"
description: "Spatial Compiler MCP tools: compile_3d_asset for meshes, and bake, check, schema, sweep and wire for pyro, each returning the same JSON report as its command."
canonical: https://appliedmanifold.com/docs/mcp-tools/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Docs](https://appliedmanifold.com/docs/)
3.  MCP tools

DOCS // SPATIAL.COMPILER

# MCP tools

The MCP server exposes `compile_3d_asset` for meshes, and `bake`, `check`, `schema`, `sweep` and `wire` for the pyro module. Each pyro tool returns the same JSON report as the matching `spatial-compiler` command.

## Tools

**`compile_3d_asset` Geometry & Materials**
Welds non-manifold edges, decimates to exact triangle budgets via meshoptimizer, packs non-overlapping xatlas UV atlases, and bakes channel-packed ORM textures in a single VRAM pass. See the [operations reference](https://appliedmanifold.com/docs/operations/).

**`bake`, `check`, `schema`, `sweep`, `wire` pyro**
One typed tool per command of the `spatial-compiler` program, covered in [Bake and wire](https://appliedmanifold.com/docs/pyro/bake-and-wire/). Each returns the same JSON report as the command.

## Arguments

| Tool | Arguments |
| --- | --- |
| `compile_3d_asset` | `file` (required), `target_tris`, `dry_run` |
| `bake` | `spec`, `out` (required), `quality` (`draft` or `final`), `seed`, `set` |
| `check` | `spec` (required), `set` |
| `schema` | none |
| `sweep` | `spec`, `set`, `out` (required) |
| `wire` | `bake_dir`, `scene` (required), `set` |

`set` takes overrides as `section.key=value`, one per item. The [MCP server card](https://appliedmanifold.com/.well-known/mcp/server-card.json) carries the full input schemas.

## What a call costs

Each call is charged in US dollars to your account balance, and its telemetry reports `cost_usd_est`. A `dry_run: true` call costs $0. See [Billing](https://appliedmanifold.com/docs/billing/) and [Telemetry fields](https://appliedmanifold.com/docs/telemetry/).
